Repository navigation
feat(events): the meeting page's data and the archive read a part's main room - #692
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).getEventProgrammereads 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).programme-part-assignmentsfile reads each part's people and conflict from the main room. Its file shape is unchanged.deleteExternalSpeakercounts 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:
asItsMainRoomunit: one row in whatever room; the main room's row of several; no rows; person records.programme-in-roomsintegration, on the fixture's meeting with a row per room:Next: the assignment dialog's facts and cadence per room (PR 3), then the writers and the trigger (PR 4).