feat(sessions): import language tag from Sessionize Language category

Sabrina's backlog: show a per-session delivery language in the sessions
overview. Sessionize has no native language field (verified live), so the
sidecar now resolves each session's categoryItems against a session
category titled "Language" (Sessionize's own demo-endpoint pattern) and
ships it as a plain string; a native session.language wins if it ever
appears.

- migration 20261021090000: sessions.language + re-created
  get_agenda / sync_sessionize_event / sync_sessionize_excel. Language
  upserts with the same coalesce(excluded, existing) rule as level/area,
  so a source without language never erases it. get_agenda is dropped +
  re-created (OUT shape change) and re-granted to anon/authenticated.
- sidecar: transform extracted to sessionize-transform.js (unit-tested);
  Excel import gains Language / Sprache / "Sprache / Language" headers.
- attendee app: third agenda filter dropdown ("All languages", only
  rendered when values exist) + language pill in SessionDetail.
- admin app: Sessions search + subtitle include language.
- seed: English for all talks, German for the two German-titled sessions.
- tests: session_language_tests.sql (8 assertions, all pass),
  sessionize-transform.test.js (7), transform-excel Language case; 43/43
  sidecar tests, date-guard/gridsmart/session-persistence suites green.
- docs: schema.md sessions columns + next-steps.md completion entry.

Organizer precondition (Sabrina): define the "Language" category AND
enable session custom fields on the event's API/Embed page, otherwise
live syncs keep language null (Excel import is the fallback).

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-20 22:55:24 +02:00
1 parent 07ee05e1cd
commit ec23da9bb9
16 files changed
+922 -60

No files matched your search

+11
View File
@@ -249,6 +249,17 @@ Cost Analysis: A brief overview of the cost implications of each approach – co
In this workshop, we’ll build a custom connector step by step for a simulated third-party system. We’ll then integrate this connector as a tool into a Copilot Studio agent, enabling the agent to directly interact with the external system and perform actions.', 'Track C', '1076341'),
(gen_random_uuid(), 'eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee', 10, 'Closing', null, 'Track B', '1782b45a-b4d7-4e52-8800-2916677e80a1') on conflict (external_id) where external_id is not null do nothing;
-- -----------------------------------------------------------------------------
-- SESSION LANGUAGE. Live imports take language from the Sessionize "Language"
-- category (or the Excel Language column); the seed mirrors the real GPB mix.
-- -----------------------------------------------------------------------------
update public.sessions set language = 'English'
where language is null
and slot_id in (select id from public.slots where type = 'session');
update public.sessions set language = 'German'
where title in ('Low Code, High Impact – warum Wirkung wichtiger ist als Code',
'Copilot Studio in der Praxis, Interne Chatbots mit Model Context Protocol für deinen Arbeitsalltag');
-- -----------------------------------------------------------------------------
-- LEADERBOARD (mirror of registration points; staff excluded).
-- -----------------------------------------------------------------------------