Events block: featured events open in full above the cards, under a heading

Migration 090 adds heading and subheading to content_block_items. An
events block's item ticked Featured shows in full above the cards,
under its heading and subheading when set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-11-11 02:57:26 -06:00
parent a7495f09e5
commit 8a79206998
6 changed files with 88 additions and 28 deletions

View file

@ -760,6 +760,15 @@ export const blocksChild = {
},
{ path: "featured", label: "Featured", widget: "checkbox", help: "Makes the row stand out", when: SCHEDULE_ENTRY },
{ ...TAGS_FIELD, when: SCHEDULE_ENTRY },
{
path: "featured",
label: "Featured",
widget: "checkbox",
help: "Shows it opened in full above the cards, under the heading and subheading below",
when: EVENT_ITEM,
},
{ path: "heading", label: "Heading", help: "Featured only, eg. This year's keynote. Default: none", when: EVENT_ITEM },
{ path: "subheading", label: "Subheading", help: "Featured only: a line under the heading. Default: none", full: true, when: EVENT_ITEM },
],
children: [
{

View file

@ -130,6 +130,9 @@ export type ContentBlockItem = {
start_time?: string | null
end_time?: string | null
featured?: boolean
/** A featured event's heading and subheading (090). */
heading?: string | null
subheading?: string | null
/** A block entry's sub-items. */
items?: ContentBlockItem[]
/** Its block's tags it has, by key (087). */