Present: list slides, centered people

- A list block's Overview slide and A slide per item (098): its
  items' text on one slide, and each item with its detail, centered
- Setup ticks a list's overview and items on and off; List overview
  and List items seconds
- A presented people row is centered

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-11-12 04:57:08 -06:00
parent 584340b0ee
commit 2282bee23c
7 changed files with 152 additions and 8 deletions

View file

@ -74,6 +74,8 @@ function presentOf(row) {
map_no_details: row.present_map_no_details === 1,
places: row.present_places,
place_keys: row.present_place_keys ? row.present_place_keys.split(",").filter(Boolean) : [],
list_overview: row.present_list_overview === 1,
list_items: row.present_list_items === 1,
};
return Object.values(present).some((value) => (Array.isArray(value) ? value.length : value)) ? present : null;
}
@ -87,7 +89,8 @@ export function loadBlocks(db, ownerKind, ids, slot = "body", depth = 0) {
`SELECT id, owner_id, type, text, media, href, alt, cite, captions, team_id, venue_id,
word_motion, word_direction, word_seconds, list_style, org_kind,
present_hide, present_text, present_map_split, present_map_no_list,
present_map_no_details, present_places, present_place_keys
present_map_no_details, present_places, present_place_keys,
present_list_overview, present_list_items
FROM content_blocks
WHERE owner_kind = ? AND slot IN (?, 'both') AND owner_id IN (${placeholders(ids.length)})
ORDER BY owner_id, sort_order`,