Files
Convivo/docs/releases/2026-10-11.md
T
84691de6ee 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]>
2026-10-11 08:39:15 +02:00

8.3 KiB

Service Sessions Follow-up

Diagnosis

The active Community Day 2026 event had 21 talks and no service slots or service sessions. The configured Sessionize API returned the same 21 talks and no service entries; the UI was not hiding existing services.

Changes

Migration 20261011054613_service_session_staff_assignment assigns existing event staff when a service session is created, and assigns newly registered or promoted staff to existing service sessions. Assignment is idempotent and event-scoped. Ordinary talk speakers are unchanged. Internal helper execution is restricted. Existing service sessions are backfilled when the migration is applied.

The attendee agenda now orders slots by date, start time, end time and ID rather than insertion ID. Services remain visible when level/area filters are active.

The event-specific supplemental schedule restores only the four fully visible, named services from the supplied schedule screenshot for October 23, 2026:

Service Time
Arrival & Coffee 08:30-09:00
Opening Keynote - TBC 09:00-10:00
Lunch 12:00-13:00
Coffee Break 14:45-15:15

Times are the displayed local schedule times (W. Europe daylight time, UTC+02). Rooms were not guessed. Unnamed breaks, placeholder blocks and cut-off schedule entries were not reconstructed. A complete service export is still needed to restore those entries. This supplemental SQL is opt-in, not a seed or schema migration, and is safe to rerun for the exact matching active event. It does not overwrite existing matching sessions. Later authoritative imports may require reconciliation with its explicit manual-service-* external IDs.

Production

Deployed the schema migration and supplemental schedule in one transaction, with the migration ledger recorded. Preservation assertions confirmed that all 21 existing talk rows and their 21 speaker links remained unchanged. Rebuilt and restarted only convivo-app, applying only the agenda ordering change to the remote source baseline. No full reimport, reset, seed or email was performed.

Backup: /home/APPE/convivo-backups/services-20261011T055100Z, including the full database dump, prior API source and rollback image tag. Earlier unsuccessful deployment attempts did not commit database changes.

Verification

  • Five rollback-only staff-assignment assertions passed locally and in production.
  • Supplemental schedule executed against a temporary matching event and rolled back locally.
  • Local and production attendee builds passed; nginx configuration passed.
  • Two API-mocked browser regressions against the production bundle passed at 360px and 1280px, covering order, staff names and filter-independent services.
  • The complete 35-test attendee entry/profile/service browser suite passed; test TypeScript and editor diagnostics passed. Both service screenshots were inspected with no overlapping text or controls.
  • Live agenda RPC verified 21 talks, four services and exactly all four current event staff linked as speakers to each service.
  • Public root returned HTTP 200 with rebuilt bundle index-D8QKHrBx.js.

The initial service deployment preceded repository delivery; the consolidated follow-up commit includes these source changes and the later fixes below.

GridSmart Automation

The later supplied GridSmart embed exposes ten services, including the breaks, both placeholders and Closing at 16:55-17:10. This supersedes the initial four-entry screenshot-only restoration above.

Admin now accepts either the complete script tag or its URL and saves the normalized source. The sidecar parses JSON or GridSmart HTML without executing embed JavaScript. It polls active configured events immediately at startup and every 15 minutes, without overlapping imports. Source validation restricts requests to HTTPS Sessionize API views; fetches have timeouts and reject redirects.

Migration 20261011060534_gridsmart_service_identity separates concurrent talk and service slots and adopts uniquely matched supplemental service IDs. Existing speaker links and nonempty metadata are retained; absent grid entries are not deleted. The published grid has 20 talks, so the omitted 21st talk remains intact.

Production was switched to the supplied GridSmart source. Only Admin and the sidecar were rebuilt/restarted. The VM's older sidecar source/manifests were checksum-verified and patched locally in private staging; its lack of the newer PDF/export code was preserved. Cheerio 1.0.0 was added, and the VM build now uses its matching lockfile with npm ci. Repository and deployed sidecar baselines remain different by design. The existing xlsx high-severity audit finding has no reported automatic fix and was not changed by this task.

Backup: /home/APPE/convivo-backups/gridsmart-20261011T061247Z, including full database/source archives, original session/link snapshots and rollback image tags. The initial incompatible patch preflight stopped before writes.

Verified locally and against deployed code:

  • 16 sidecar tests passed locally and in the isolated production image.
  • Seven rollback SQL assertions passed locally and in production.
  • Three API-mocked Admin browser tests passed locally and against the public bundle.
  • The combined 42-test deployed Admin/attendee suite passed, covering source editing, ticket merging, QR/admin entry, profile artwork and service visibility. Both source-input screenshots were inspected; test TypeScript passed.
  • The first automatic poll succeeded with all ten service sessions and four staff speakers each; all 21 talks, 25 original session IDs and 37 original speaker links were retained, along with existing nonempty metadata/material paths.
  • A second live sync created zero sessions and zero slots.
  • Admin builds and nginx validation passed; editor diagnostics were clean.

The consolidated follow-up commit includes the GridSmart automation changes.

Placeholder Display Grouping

The attendee Agenda now nests service sessions named Placeholder inside a talk block with exactly matching date/start/end times. This does not merge database slots: each session retains its slot ID and service type, staff assignments and no-pick/no-check-in/material rules. Per-session service type controls row rendering and filters, while the original slot controls detail-sheet behavior. Unmatched Placeholders and unrelated services remain separate.

Only Agenda.tsx and the new pure agendaBlocks.ts helper were deployed to the attendee app. No database migration, import, source reconfiguration, Admin/sidecar restart or dependency change was made. All other container IDs were verified unchanged. Backup: /home/APPE/convivo-backups/placeholder-20261011T062823Z, with the previous Agenda source and rollback attendee image.

Local and production builds/nginx checks passed. Three focused browser tests passed locally and against the production bundle at 360px and 1280px; the full 36-test attendee suite also passed. Tests cover nesting, block counts, staff names, filter behavior, preserved no-pick/no-upload rules, and nonmatching dates/times. Both screenshots were inspected with no overlapping controls or text.

Live data confirmed two matching Placeholders (11:15-12:00 and 16:15-17:00), giving 14 displayed blocks from 16 stored slots. Public root returned HTTP 200 with bundle index-Dq5rJz3h.js. Existing tabs need a page reload to load this version.

Event-relative Demo Date

The demo clock was using the seed's hardcoded February 20, 2026 date. It now uses the active event's start_date at the intentionally fixed demo time of 10:20. Real-time mode still uses the system date/time. This remains a frontend display clock; database timestamps and backend time-based enforcement are not mocked.

Deployed only the attendee clock modules, with source and rollback-image backup at /home/APPE/convivo-backups/demo-date-20261011T063601Z. Local and production builds/nginx checks passed. Three new clock regressions passed locally and against the public app, using two event dates and a distinct fixed system date. The full combined deployed Admin/attendee suite passed all 46 tests; editor checks passed. Production attendee bundle: index-DbYmWAlL.js.

All October 11 follow-up source changes, migrations, tests and documentation are included together in the requested commit on main.