feat: sync GridSmart agendas and use event-relative demo time

Support script and URL sources, automatic Sessionize polling, staff-linked service sessions, chronological agenda blocks, and inline Placeholders. Fix demo mode to use the active event date and document deployed behavior with regression coverage.

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
committed 2026-10-11 08:39:15 +02:00
1 parent f32289f583
commit 84691de6ee
27 files changed
+1215 -60

No files matched your search

+47
View File
@@ -1,3 +1,50 @@
# Service Staff Regression
The attendee browser suite also covers demo clock dates for two different events
and real-time mode against a fixed system date:
```sh
CONVIVO_BASE_URL=https://convivo.appe.at npm test --prefix e2e -- convivo-admin-entry.spec.ts --project=chromium --grep 'Event demo clock'
```
These three checks fail if the demo clock falls back to the seed date. They assert
Done/Live/Up next at 10:20 on the event start date, and all Done for a later real
system date with real-time mode enabled.
GridSmart source and automatic-poll regressions:
```sh
npm test --prefix apps/sidecar
docker exec -i supabase_db_Convivo psql -X -U postgres -d postgres \
-v ON_ERROR_STOP=1 < supabase/tests/gridsmart_sync_tests.sql
CONVIVO_ADMIN_URL=https://admin.appe.at npm test --prefix e2e -- sessionize-source.spec.ts --project=chromium
```
Apply `20261011060534_gridsmart_service_identity` first. Seven rollback SQL
assertions cover manual service ID adoption, concurrent placeholder types,
staff assignment, omitted talks/metadata/speakers and repeat-poll idempotence.
Sidecar tests include five source-reader checks, two polling checks and the
existing nine Excel checks. Browser tests cover both input formats and invalid
host rejection without script execution. Actual live startup polling and a
second no-duplicate sync were also verified.
After applying `20261011054613_service_session_staff_assignment`, run:
```sh
docker exec -i supabase_db_Convivo psql -X -U postgres -d postgres \
-v ON_ERROR_STOP=1 < supabase/tests/service_session_staff_tests.sql
CONVIVO_BASE_URL=https://convivo.appe.at npm test --prefix e2e -- convivo-admin-entry.spec.ts --project=chromium --grep 'Service agenda'
```
The SQL fixture rolls back and covers staff present before session creation,
later staff promotion, unchanged talk speakers, event isolation and idempotence.
Browser fixtures cover service ordering and staff names on mobile and desktop,
including active talk filters. They also cover Placeholder nesting within matching
talk blocks, corrected displayed block counts, filter-independent visibility and
retained no-pick/no-upload service behavior even for an assigned staff speaker.
A separate case checks exact date/time matching and keeps unrelated services
separate. See the [deployment record](../releases/2026-10-11.md).
# Session Persistence Regression
Run the rollback-only fixture after applying