Event page: a contents list, a links heading, full-width blocks; schedule tags in their own row
Migration 089 adds show_contents and links_heading to events (Page group in the editor). The content blocks fill the column, beside the contents list when it shows. A schedule's tag tabs sit in a row of their own under the days, with a note on what they do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
375c364861
commit
b8a744cf41
7 changed files with 149 additions and 61 deletions
|
|
@ -173,6 +173,22 @@ export const events = {
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
legend: "Page",
|
||||
fields: [
|
||||
{
|
||||
path: "show_contents",
|
||||
label: "Show contents",
|
||||
widget: "checkbox",
|
||||
help: "Lists the content blocks' headings beside them, the one being read lit (a fold-out on phones), as on a blog post. Worth it with two or more headings.",
|
||||
},
|
||||
{
|
||||
path: "links_heading",
|
||||
label: "Links heading",
|
||||
help: "Above the link buttons, eg. Sign up. Default: no heading.",
|
||||
},
|
||||
],
|
||||
},
|
||||
timelineGroup("event"),
|
||||
timelineDetailGroup("event"),
|
||||
{ legend: "Publishing", fields: [PUBLISHED_FIELD, LISTED_FIELD] },
|
||||
|
|
|
|||
|
|
@ -224,6 +224,10 @@ export type EventRecord = {
|
|||
links: Link[]
|
||||
/** The instagram link's label, the handle. See splitLinks in shape.js. */
|
||||
instagram?: string | null
|
||||
/** Its headings listed beside the blocks (089). */
|
||||
show_contents?: boolean
|
||||
/** Above the link buttons; null shows none (089). */
|
||||
links_heading?: string | null
|
||||
blocks: ContentBlock[]
|
||||
people: EventPerson[]
|
||||
awards: EventAward[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue