Repository navigation
feat(events): the assignment dialog's facts read the rooms - #693
Merged
Merged
Conversation
Parallel rooms R4, before its writers (no dual-write): - A turn in any room of a part counts as holding it (last time, for members and outside speakers), read from its rows. - « Already at this meeting » leaves out only the room being assigned: the person in another room of the same part is elsewhere. - The slot takes the room being assigned (roomId, candidate-facts reads it from the query); none, the part's only or main room, as today.
…lpers speakerFacts back under the complexity limit.
This was referenced Nov 28, 2026
mindsers
added a commit
that referenced
this pull request
Nov 28, 2026
**On the meeting page**, a part held in several rooms at the same time is: - **one line**: its name, « 2 salles en même temps » (after its subject, when it has one), its duration; - **then a line per room**, indented: the room's name, its speaker and second speaker, and its own actions; - **on a phone**, a block per room under the part, with full-width slots. It sits under no room heading. Copies written before R4 (an item per room) join their part the same way, since `partsInRooms` reads both shapes. **Production meetings change visibly, not only R4 data.** Meetings whose parallel parts were written as copies, which is every one in production today, used to show « Salle principale · 3 parties » / « Salle B · 3 parties » blocks. They now show each part once with its rooms under it, as the board and the template-page note ask (parallel rooms count once). Counts follow. For example, « Appliquons-nous au ministère · 6 sans durée » becomes « 3 sans durée », and the footer « 15 parties · 8 sans durée » becomes « 12 parties · 5 sans durée ». **Navigation:** ↑/↓ stop on **each room line**, with « n sur N » counting them, for parts with a row per room and for copies alike. The side editor's target gains an optional \`sub\` (here, the room): another room of the same part is another item, which asks before dropping unsaved changes, and the editor remounts on it. A part held in several rooms without a duration reads « — », like any part. **Assigning a room:** - Its « Assigner », or a click on its empty slot, opens the editor for **that room**. The subtitle names it (« Joyaux spirituels · Salle B »), it shows that room's people, and the form posts `roomId`. #696's writers check that the room is one of the part's. - The candidate facts, the publisher card and the outside-speaker card ask for that room (`roomId`, read since #693/#694). - « Retirer » frees that room alone (`&room=`). - Share and S-89 buttons show where they are right today: on a copy's own line, and on the main room's line. Per-room share texts and slips come in the next PR. **Data:** `listEventPartRooms` (new, `event-part-rooms.queries.ts`) reads each part held in several rooms with its rooms' people, plus the copies that join a part. It is read **beside** `getEventProgramme`, whose shape stays, so no reference snapshot moves. The room line's type lives in `model/part-room-view.ts`. **Moved, for the size budgets:** - `PartRow` / `PartActions` go to `PartRow.tsx`, with an optional room. - The head and room lines are in `ParallelPartRows.tsx`. - The editors' setup is in `assign-editors.ts`, and « Modifier le planning » in `ScheduleEditLink.tsx`. - `EventView.tsx` is 386 lines (budget 400).
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 3a (independent of #690–#692). This moves the assignment dialog's facts (
listSlotCandidateFacts) to the room rows before the writers stop updating the item's columns.Changes:
roomIdon the part target;candidate-facts.tsxreads it from the query). With none, it falls back to the part's only or main room, which is today's behaviour. The dialog sends a room from PR 5, which draws each room.Visible today: nothing. A copy is its own item with its own row. Unit (6,963) and integration (188 files) pass, and
candidate-facts.jsondidn't move.Tests:
slot-facts-in-roomsintegration, on the fixture's meeting with a row per room (the copies the week before emptied):Both cases fail on main.
Next, PR 3b: cadence (
resolve-publisher-cadence,list-user-cadence, the outside-speaker cadence, same-meeting assignments) per room.