Skip to content

feat(events): the meeting page's data and the archive read a part's main room - #692

Merged
mindsers merged 3 commits into
mainfrom
feat/rooms-r4-2b-programme-reads-rooms
Nov 28, 2026
Merged

mindsers merged 3 commits into
mainfrom
feat/rooms-r4-2b-programme-reads-rooms

Conversation

@mindsers

Copy link
Copy Markdown
Contributor

Parallel rooms R4, PR 2b (independent of #690 and #691). R4 writes a part's people on its room rows only, with no dual-write. So the readers of one line per part have to read the rows before the writers move. Until PR 5 draws each room, that line is the part's main room.

Changes:

  • asItsMainRoom (new, model/part-rooms.ts, exported from the barrel): the part with its one row's people and conflict (a copy, in whatever room), or its main room's row when it has several. Its rows are left out, so the shape stays. A reader that read people records on the item but not on its rows is refused (assertRowPeople).
  • getEventProgramme reads its parts through it. That covers the meeting page, the S-89 slips, the share texts and the conflict list. Its rows are included with their records (assignee, assistant, outside speaker with congregation, room key).
  • The archive's programme-part-assignments file reads each part's people and conflict from the main room. Its file shape is unchanged.
  • deleteExternalSpeaker counts the talks given in any room. Freeing future talks is a write, and stays for the writers' PR.

Visible today: nothing. A copy's row equals its columns through the trigger. Unit (6,967) and integration (188 files) pass, and no reference snapshot moved (programme-pages, assignments, share-messages, archive-*).

Tests:

  • asItsMainRoom unit: one row in whatever room; the main room's row of several; no rows; person records.
  • programme-in-rooms integration, on the fixture's meeting with a row per room:
    • the page and the archive read Paul for the part in two rooms (its main room), and Jean for a part in one room whose row holds him unlike its item;
    • deleting a retired outside speaker counts the past talk he gave in « Salle B ».
  • Each fails on main.

Next: the assignment dialog's facts and cadence per room (PR 3), then the writers and the trigger (PR 4).

…ain room

Parallel rooms R4, before its writers (no dual-write): readers of one line
per part read its people from its rows, not the item's columns.
- asItsMainRoom: a part's one row (a copy, in whatever room), or its main
  room's of several, rows left out: the shape stays.
- getEventProgramme (meeting page, slips, share texts, conflicts) reads its
  parts through it; the archive's programme-part-assignments too.
- deleteExternalSpeaker counts the talks given in any room.
Identical today: the trigger keeps a copy's row equal to its columns.
…ramme-reads-rooms

# Conflicts:
#	app/features/events/model/part-rooms.test.ts
#	app/features/events/model/part-rooms.ts
…ramme-reads-rooms

# Conflicts:
#	app/features/events/model/part-rooms.ts
@mindsers
mindsers merged commit 7e1d41d into main Nov 28, 2026
5 checks passed
@mindsers
mindsers deleted the feat/rooms-r4-2b-programme-reads-rooms branch November 28, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant