riverbankcms 0.22.2 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -457,7 +457,7 @@ export default defineConfig({
457
457
  });
458
458
  ```
459
459
 
460
- **Status Sync**: Push automatically syncs draft/published status based on the `status` field in your local content files. If local content is "published" but remote is "draft", push will publish it. If local is "draft" but remote is "published", push will unpublish it.
460
+ **Publication**: Page pushes save drafts, including block additions, deletions and order changes on already-published pages. A page file’s `status: "published"` never publishes pending work. Review the complete page draft, including dashboard changes, then use `riverbankcms page publish <identifier>` to publish all pending page content, structure, design and page details together. A local `status: "draft"` can still unpublish a published page. Content entries still take their draft or published status from your local files.
461
461
 
462
462
  ### settings booking configure
463
463
 
@@ -688,7 +688,7 @@ site style's defaults until a design is saved for it, for example with
688
688
 
689
689
  ### page publish
690
690
 
691
- Publish a page.
691
+ Publish the whole page draft, including all pending content, structure, design and page details. Review changes saved in the dashboard as well as the CLI before publishing.
692
692
 
693
693
  ```bash
694
694
  riverbankcms page publish <identifier>
@@ -436,7 +436,7 @@ export default defineConfig({
436
436
  | ----------------- | ---------------- | -------------------------------------------- |
437
437
  | `existingEntries` | `skip`, `update` | Whether to update entries that already exist |
438
438
 
439
- **Status Sync**: Push automatically syncs draft/published status based on the `status` field in your local content files. Set `"status": "published"` in a local file to publish on push, or `"status": "draft"` to unpublish.
439
+ **Publication**: Page pushes save drafts, including block additions, deletions and order changes on already-published pages. A page file’s `status: "published"` never publishes pending work. Review the complete page draft, including dashboard changes, then use `riverbankcms page publish <identifier>` to publish all pending page content, structure, design and page details together. A local `status: "draft"` can still unpublish a published page. Content entries still take their draft or published status from your local files.
440
440
 
441
441
  ### Environment Cloning (Remote ↔ Local) Best Practices
442
442
 
@@ -54,9 +54,7 @@ export default defineConfig({
54
54
  category: 'content',
55
55
  icon: 'Workflow',
56
56
  tags: ['process', 'steps', 'flow'],
57
- previewCustomize: {
58
- quickFieldPriority: ['title', 'introText'],
59
- },
57
+ promotedFields: ['title', 'introText'],
60
58
  fields: [
61
59
  {
62
60
  id: 'title',
@@ -91,7 +89,9 @@ export default defineConfig({
91
89
  });
92
90
  ```
93
91
 
94
- `previewCustomize` is optional. When present, `quickFieldPriority` must list one or more unique field IDs to consider for compact Preview Customize controls; unlisted fields remain in the full panel.
92
+ `promotedFields` is optional. Promoted behaviour/data fields appear in “What it shows”, promoted appearance fields in “Look”, and content fields stay in “Text”. Remaining fields appear in “More settings”; there is no quick-field cap.
93
+
94
+ A custom block or built-in block extension can also declare `lookField` with the ID of one of its own existing single-select fields. Its options become labelled Look tiles. This remains an ordinary content field on every editing surface, including the dashboard; it does not use built-in Default or pin behaviour.
95
95
 
96
96
  ### Step 2: Choose Field Types
97
97
 
@@ -72,20 +72,24 @@ riverbankcms page list --json
72
72
 
73
73
  To see everything with pending changes across all content types in one shot — correctly server-filtered, not capped by pagination — use `riverbankcms drafts` instead of scanning `entry list` page by page.
74
74
 
75
- ## Bulk Publishing via Push
75
+ ## Push and Publication
76
76
 
77
- When using `riverbankcms push`, the status is synced based on your local content files.
77
+ Page pushes save drafts. Adding, deleting or reordering blocks on an already-published page leaves the live page unchanged until you explicitly publish the whole page. A page file’s `status: "published"` does not publish it or any other pending page changes.
78
+
79
+ Review the complete draft, including changes saved in the dashboard, then run `riverbankcms page publish <identifier>`. Publication includes all pending page content, structure, design and page details.
80
+
81
+ Content entries still take their draft or published status from your local files.
78
82
 
79
83
  ### How Status Sync Works
80
84
 
81
- Push compares the `status` field in your local files to the remote status:
85
+ For content entries, push compares the `status` field in your local files to the remote status:
82
86
  - If local is "published" and remote is "draft" → push will **publish** the content
83
87
  - If local is "draft" and remote is "published" → push will **unpublish** the content
84
88
  - If statuses match → no status change
85
89
 
86
- ### Edit Local Files to Control Status
90
+ ### Edit Local Entry Files to Control Status
87
91
 
88
- In your local content files, set the status field:
92
+ In your local entry files, set the status field:
89
93
 
90
94
  ```json
91
95
  {
@@ -101,6 +105,8 @@ Then push:
101
105
  riverbankcms push
102
106
  ```
103
107
 
108
+ A page file with `status: "draft"` can still unpublish an already-published page. Use `riverbankcms page unpublish <identifier>` to do this explicitly.
109
+
104
110
  ### Push Then Publish Selectively
105
111
 
106
112
  ```bash