riverbankcms 0.22.2 → 0.24.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
 
@@ -638,16 +638,41 @@ Footer links are managed via the site's footer navigation menu (see `content/nav
638
638
  "description": "Our main venue for large events",
639
639
  "timezone": "America/Los_Angeles",
640
640
  "capacity": 200,
641
- "address": {
642
- "line1": "123 Main St",
643
- "city": "San Francisco",
644
- "region": "CA",
645
- "postcode": "94102",
646
- "country": "US"
641
+ "locationValue": {
642
+ "address": {
643
+ "building": "Main Conference Hall",
644
+ "street": "123 Main St",
645
+ "locality": "San Francisco",
646
+ "region": "CA",
647
+ "postalCode": "94102",
648
+ "country": "US"
649
+ },
650
+ "pin": { "lat": 37.7749, "lng": -122.4194 },
651
+ "doorNote": "Use the blue door beside the courtyard.",
652
+ "addressMatch": null,
653
+ "ownerConfirmedPinAndAddress": false
647
654
  }
648
655
  }
649
656
  ```
650
657
 
658
+ Locations use structured addresses; display text is derived and omits a matching
659
+ site country. `locationValue: null` removes a venue's location. Address-only and
660
+ pin-only values are valid. Pull/push preserves the canonical value, including
661
+ private check evidence; public SDK responses expose only permitted location data.
662
+
663
+ `block.location-map` uses `locationSource: "custom"` with canonical `location`,
664
+ `"venue"` with `venueId`, or `"business_address"`. A hidden business address hides
665
+ the whole block before public projection. Optional `entrancePhoto` uses a portable
666
+ image reference such as `{ "type": "image", "identifier": "studio-door", "alt": "The way in" }`.
667
+ It participates in normal media usage and recipe validation.
668
+
669
+ Public maps render ready inline SVG with theme tokens and attribution. Import
670
+ `@riverbankcms/sdk/styles.css`; no map JavaScript or vendor requests are needed.
671
+ Without a ready drawing, retain the details and ordinary directions links. The
672
+ SDK site response supplies permitted `businessLocation`, `venuesById` and
673
+ `businessLocationPermission`; pass that context to the shared renderer. Private
674
+ provider evidence, job/storage keys and archive descriptors are never public.
675
+
651
676
  ### Event Category File Format
652
677
 
653
678
  `content/event-categories/workshop.json`:
@@ -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