Present: slide order, presentation settings, blocks drawn for a screen

- Setup's Order list: drag or move any slide; saved in the address
- A heading-only section titles the slides after it, no slide of its own
- Event Presentation settings (095): background image and color, dim,
  frame, accent, text color, logo
- Blocks: Presentation text and Leave out of the presentation; map
  blocks get a slide per section, map only, no details, location slides
- Presented, links are plain text, people a row of round photos and
  names, organizations their logos

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-11-12 03:41:06 -06:00
parent a79559d290
commit 7e21a0dd40
16 changed files with 652 additions and 68 deletions

View file

@ -494,6 +494,65 @@ const SUB_ITEM_FIELDS = [
TAGS_FIELD,
];
/* An event's blocks' presentation fields (095), EventPresent.tsx. */
export const PRESENT_BLOCK_FIELDS = [
{
path: "present_hide",
label: "Leave out of the presentation",
widget: "checkbox",
help: "The page still shows it.",
},
{
path: "present_text",
label: "Presentation text",
widget: "textarea",
full: true,
when: { path: "type", value: TEXT_TYPES },
help: "Shown in place of the text when the page is presented, eg. a shorter heading. Default: the text.",
},
{
path: "present_map_split",
label: "A slide per section",
widget: "checkbox",
help: "Presented: each of the sections below gets its own map slide with only its locations. Default: one map slide with every location.",
when: { path: "type", value: "map" },
},
{
path: "present_map_no_list",
label: "Map only",
widget: "checkbox",
help: "Presented: no locations list beside the map, so the map fills the slide.",
when: { path: "type", value: "map" },
},
{
path: "present_map_no_details",
label: "No location details",
widget: "checkbox",
help: "Presented: each location's name only, without its detail line.",
when: { path: "type", value: "map" },
},
{
path: "present_places",
label: "Location slides",
widget: "select",
options: [
["picked", "Only the locations picked below"],
["none", "None"],
],
blankLabel: "Default: each marked location, lit up on the map",
when: { path: "type", value: "map" },
},
{
path: "present_place_keys",
label: "Locations with a slide",
widget: "checklist",
optionsFrom: "mapLocations",
full: true,
when: { path: "present_places", value: "picked" },
emptyNote: "No locations yet: pick the block's Venue, and give it locations under Data → Venues.",
},
];
export const blocksChild = {
key: "content_blocks",
label: "Content blocks",