a block that lists every collection
The first block whose content is a QUERY rather than something somebody typed. It stores nothing at all: a page holding "the collections" must not also hold a copy of which collections there were, or adding one tomorrow would mean remembering to edit every page that lists them. That makes it a places-only kind alongside the contact form and the partner row — one click to add, no editor behind it. The hint says "every collection" rather than naming a picker, because there is nothing to pick. Gallery, Drops and Collabs all want the same shape. This is the one that decides it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,7 @@ const LABELS: Record<string, string> = {
|
||||
gallery: 'Gallery',
|
||||
'contact-form': 'Contact form',
|
||||
partners: 'Partners',
|
||||
collections: 'Collections',
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -30,7 +31,7 @@ const LABELS: Record<string, string> = {
|
||||
Both the picker and the canvas ask the same question — one to decide whether to open an editor, the
|
||||
other whether to draw an Edit button — and two lists would drift into a button that opens nothing.
|
||||
*/
|
||||
const PLACES_ONLY: string[] = ['contact-form', 'partners'];
|
||||
const PLACES_ONLY: string[] = ['contact-form', 'partners', 'collections'];
|
||||
import { AddSectionDialog, type SectionLayout } from './AddSectionDialog';
|
||||
import { FreeTextEditor } from './FreeTextEditor';
|
||||
import { SpacingEditor, type Padding } from './SpacingEditor';
|
||||
|
||||
Reference in New Issue
Block a user