feat(11.1-04): add the Backend section, the remaining Services pages and the concept map links
- docs/backend: admin controllers, forms, lists and filters, relation manager, users and permissions, settings, partials and widgets, admin SPA - docs/services: storage, outbound HTTP, realtime, Web Push, search, parity testing and the Frontend and AJAX (not provided) page - Examples for cabana (with testdata/docs YAML), fetchguard, lighthouse and its centrifugo driver, flare, beachcomber and typesense, tide; lighthouse and beachcomber TestDocs* regions run on their Postgres harnesses - concept map rows link their guide pages and the not-provided rows the Frontend and AJAX page; index lists Backend, Database and Services - TestDocsRequiredPages asserts the D-08 section order
This commit is contained in:
9
modules/cabana/testdata/docs/controllers/posts/config_filter.yaml
vendored
Normal file
9
modules/cabana/testdata/docs/controllers/posts/config_filter.yaml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
scopes:
|
||||
published:
|
||||
label: acme.blog::lang.posts.published
|
||||
type: switch
|
||||
column: published
|
||||
published_at:
|
||||
label: acme.blog::lang.posts.published_at
|
||||
type: daterange
|
||||
column: published_at
|
||||
10
modules/cabana/testdata/docs/controllers/posts/config_form.yaml
vendored
Normal file
10
modules/cabana/testdata/docs/controllers/posts/config_form.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
name: acme.blog::lang.posts.form
|
||||
form: ~/plugins/acme/blog/models/post/fields.yaml
|
||||
modelClass: Post
|
||||
defaultRedirect: acme/blog/posts
|
||||
create:
|
||||
redirect: acme/blog/posts/update/:id
|
||||
redirectClose: acme/blog/posts
|
||||
update:
|
||||
redirect: acme/blog/posts
|
||||
redirectClose: acme/blog/posts
|
||||
15
modules/cabana/testdata/docs/controllers/posts/config_list.yaml
vendored
Normal file
15
modules/cabana/testdata/docs/controllers/posts/config_list.yaml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
list: ~/plugins/acme/blog/models/post/columns.yaml
|
||||
modelClass: Post
|
||||
title: acme.blog::lang.posts.title
|
||||
recordUrl: acme/blog/posts/update/:id
|
||||
recordsPerPage: 20
|
||||
perPageOptions: [20, 50, 100]
|
||||
showCheckboxes: true
|
||||
defaultSort:
|
||||
column: published_at
|
||||
direction: desc
|
||||
filter: config_filter.yaml
|
||||
toolbar:
|
||||
buttons: [create, delete]
|
||||
search:
|
||||
prompt: backend::lang.list.search_prompt
|
||||
10
modules/cabana/testdata/docs/models/post/columns.yaml
vendored
Normal file
10
modules/cabana/testdata/docs/models/post/columns.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
columns:
|
||||
title:
|
||||
label: acme.blog::lang.posts.title_column
|
||||
searchable: true
|
||||
published:
|
||||
label: acme.blog::lang.posts.published
|
||||
type: switch
|
||||
published_at:
|
||||
label: acme.blog::lang.posts.published_at
|
||||
type: datetime
|
||||
28
modules/cabana/testdata/docs/models/post/fields.yaml
vendored
Normal file
28
modules/cabana/testdata/docs/models/post/fields.yaml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
fields:
|
||||
title:
|
||||
label: acme.blog::lang.posts.title_column
|
||||
type: text
|
||||
span: left
|
||||
required: true
|
||||
slug:
|
||||
label: acme.blog::lang.posts.slug
|
||||
type: text
|
||||
span: right
|
||||
context: update
|
||||
comment: acme.blog::lang.posts.slug_comment
|
||||
status:
|
||||
label: acme.blog::lang.posts.status
|
||||
type: dropdown
|
||||
span: left
|
||||
options:
|
||||
draft: acme.blog::lang.posts.draft
|
||||
published: acme.blog::lang.posts.published
|
||||
published:
|
||||
label: acme.blog::lang.posts.published
|
||||
type: switch
|
||||
span: right
|
||||
content:
|
||||
label: acme.blog::lang.posts.content
|
||||
type: textarea
|
||||
size: large
|
||||
tab: acme.blog::lang.posts.tab_content
|
||||
10
modules/cabana/testdata/docs/models/settings/fields.yaml
vendored
Normal file
10
modules/cabana/testdata/docs/models/settings/fields.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
fields:
|
||||
posts_per_page:
|
||||
label: acme.blog::lang.settings.posts_per_page
|
||||
type: number
|
||||
span: left
|
||||
default: 10
|
||||
comments_enabled:
|
||||
label: acme.blog::lang.settings.comments_enabled
|
||||
type: switch
|
||||
span: right
|
||||
Reference in New Issue
Block a user