Skip to content

D121 — shell: with no channel, « Partager » offers « Ajouter un canal », Settings' form in a sheet of the page - #1333

Merged
napkinstack-agent[bot] merged 20 commits into
mainfrom
d121-2b-channel
Dec 1, 2026
Merged

napkinstack-agent[bot] merged 20 commits into
mainfrom
d121-2b-channel

Conversation

@kitokey-marc

@kitokey-marc kitokey-marc Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

For the decider, in one sentence: with no channel set up, « Partager » offers « Ajouter un canal », which opens Settings' channel form in a sheet of the meeting's page; once one is added, « Partager » sends to it, without leaving the page.

Module

shell — exactly one: ui/window.js (destinationForm, channelSheet, « Partager »'s send), src/words.rs (channel_add), scripts/e2e_window.py (scenario DB).

  • This pull request touches a single module

Deliverable

Deliverable: D121

Part 2b (the coordinator's split of part 2, 2026-11-27), criterion 2's channel: « with none, « Ajouter un canal », opening the channel's form in a sheet of the page, not Settings ». Part 2a, the exports, is #1320.

What it changes

Before (main) After
« Partager » with no channel « Envoyer… », which did nothing « Ajouter un canal », its « + » before it (v5 l. 728)
Adding a channel Settings alone A sheet of the page: the platform's modal <dialog> (D120), titled « Ajouter un canal », Settings' own form in it — its kind, its name, its address —, « Annuler » then « Ajouter » the primary, Escape closing it, nothing kept; the focus on its first field and back on « Partager »
Once one is added — Kept, said once under the bar (« Destination … ajoutée. »), the page drawn again: « Partager » sends to it
Settings' form Written in Settings One function, destinationForm(words, locked, prefix, added), Settings' and the sheet's, each its own ids (destination-*, channel-*): no behaviour of Settings changes (destinations_kept green)

Not in v5, extrapolated. v5 has « Ajouter un canal » as a menu line alone (l. 728) and no sheet: the sheet follows D120's dialogs (ask()), a modal <dialog>, its answers « Annuler » then the primary, Escape answering no (the coordinator's audit, 2026-11-28).

Market. Notion and Linear offer « Connect » where a share needs it, in a dialog over the page; Granola sends you to its settings. This is how we know them, not re-checked today. Kept: the form where it is needed, the same as Settings'. Left out: choosing what is shared (D121's P2, after D132).

Oracle

  • Red at fc65445 (main 40f5c70 + scenario CA alone): i-marc-2b-red-fc65445, « Partager » offers « Envoyer… » with no channel, no sheet.

  • Green at 4564a3b: i-marc-2b-green-4564a3b (channel_added_from_page, destinations_kept, meeting_exported, meeting_actions_bar, axe_first_surfaces), 146 checks ok, 0 FAIL.

  • Green at faed636 (« Ajouter » in the sheet's actions): i-marc-2b-actions-faed636 (channel_added_from_page, destinations_kept, axe_first_surfaces), 63 checks ok, 0 FAIL; the sheet looked at in French light and English dark (ca-sheet-*).

  • The coordinator's audit against v5 (2026-11-28): red at 8a40f9d (i-marc-2b-audit-red-8a40f9d): « Ajouter un canal » without its « + », 0 px under the sheet's lead, in French and English; Tab going round the sheet and the sheet uncut at 420 px held already, kept as guards. Green at b16a55b (i-marc-2b-audit-green-b16a55b, DB, destinations_kept, axe): 75 checks ok. Scenario CA renamed DB (CA is shell: in Settings, a change saved for another control erases a model chosen and not yet saved #948's, nora's reading). The sheet's Y1 and Y3, written before the rename, say « CA »: read DB there.

  • Green at the head 113cdd2 (i-marc-2b-shot-113cdd2, DB): 31 checks ok; the 420 px shot taken once the sheet's pop has ended (e2e only, no product line since b16a55b), looked at.

  • cargo test --locked in the shell: 70 suites, 579 passed, 0 failed, 1 ignored; node --check; ruff.

  • Never silent (D67, the verifier's remark, the coordinator's decision of 2026-11-30): with a channel set up and no summary yet, sending_of offers no send (main.rs:3502), and « Partager › Envoyer… » did nothing and said nothing. This was already so on main. It now says « Rien à envoyer : le compte rendu n’est pas encore rédigé. » under the bar, and, before sending_of answers or when it fails, « Les canaux d’envoi ne sont pas encore lus. », in French and English. The wait is checked too: DB holds sending_of 800 ms with a double of invoke (ines's technique from shell: the sidebar's search finds meetings by what was said — titles, summaries, transcripts grouped, Entrée at the line (D127a) #1400, __late proving the wait), on its meeting with a summary and no channel. « Envoyer… » then says « Les canaux d’envoi ne sont pas encore lus. », with no sheet; once read, the sheet opens. Red at 374f0b4, for the summary case (i-marc-2b-d67-red-374f0b4), and at 374f0b4 + 1333-unread-oracle.patch, for the wait (i-marc-2b-unread-red-374f0b4). Green at 03ea16f (i-marc-2b-green-03ea16f). Results: the summary-case red has 2 FAIL (fr, en), exactly its check. The wait red has 4 FAIL: the wait's check and the summary case, in fr and en. The green at 03ea16f covers channel_added_from_page, destinations_kept, meeting_exported, meeting_actions_bar, meeting_details and axe_first_surfaces: 227 ok, 0 FAIL. cargo test --locked --test words: 67 passed. A sending_of that fails is not checked on its own: it takes the same branch as the wait.

  • Full run at e8fdd7a (full-1333-e8fdd7a, 1155 s): 3645 ok. One FAIL, in the tray's shard (« is 3 1 »), the known flake shell e2e: the tray's F reads its notification a fixed second after the click — late under five shards (flaky, seen once) #929 (tray F), outside this change, which touches the window alone. The tray run twice again at e8fdd7a (tray-1333-e8fdd7a-1, -2): 164 ok, 0 FAIL each. Before it, the full run at 03ea16f had 2 FAIL in the e2e, fixed at e8fdd7a with the e2e alone. CZ (the palette, from D128b — shell: the command palette, Ctrl+K, actions then meetings, a tab of Settings by its address #1390) expected « Envoyer… » where « Partager » rightly offers « Ajouter un canal » with no channel. DB's axe read 5 contrasts of the sheet's kinds mid-way through D120's pop. It is now measured once the animations have ended, and the tokens are unchanged. Both are green in the full run at e8fdd7a.

Kind of oracle: the window's e2e (scenario DB, and Settings' destinations_kept for the shared form).

Review budget

  • git diff --stat from main: 3 files changed, 212 insertions(+), 69 deletions(-).
  • Within budget

Contracts

  • No contract affected

Definition of Done

  • Oracle red, then green
  • Lint, format
  • The attest
  • The test sheet run by a verifier

Test sheet

Verifier: session b9c1bafa-f4f1-4a3a-ad04-6eecce28bd6c

# Given · when · then Kind Result Evidence Commit Confirmed
Y1 Given the head, when DB runs, then with no channel « Ajouter un canal » opens the sheet, Escape keeps nothing, a channel added is kept and said once, and « Partager » then sends to it, French light and English dark, axe clean automated
Y2 Given Settings, when destinations_kept runs, then its form behaves as before automated
Y3 Given a mutant of the verifier's own (the sheet opening Settings; « Envoyer… » kept with no channel; nothing said once added), when DB runs, then a check fails automated
Y4 Given the sheet open with a name and an address typed, when « Annuler » is pressed, then it closes, nothing is kept in the settings, and the focus is back on « Partager » automated verifier's probe
Y5 Given the sheet, when an address the shell refuses is added, then the sheet stays open, says why under the form, nothing is kept, and « Ajouter » can be pressed again automated verifier's probe
Y6 Given a channel added in the sheet, when the page is drawn again, then the focus is on « Partager », not lost on the body automated verifier's probe

🤖 Generated with Claude Code

kitokey-marc Bot and others added 8 commits November 28, 2026 03:50
…r un canal », Settings' form in a sheet of the page; kept, said, then sent to

Agent-Session: 815c49f7-bf7a-4d87-a9fe-8963e765eed6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rom a prefix; the page's sheet that holds it, « Ajouter un canal »

Agent-Session: 815c49f7-bf7a-4d87-a9fe-8963e765eed6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s exports beside its channel

Agent-Session: 815c49f7-bf7a-4d87-a9fe-8963e765eed6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…un canal », Settings' form in a sheet of the page

Agent-Session: 815c49f7-bf7a-4d87-a9fe-8963e765eed6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…« Ajouter » the primary, as the platform's dialogs put them

Agent-Session: 815c49f7-bf7a-4d87-a9fe-8963e765eed6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er the sheet's lead, Tab going round it, the sheet uncut at 420 px

Agent-Session: 815c49f7-bf7a-4d87-a9fe-8963e765eed6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…et's lead; scenario CA renamed DB, CA being #948's

Agent-Session: 815c49f7-bf7a-4d87-a9fe-8963e765eed6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ver through it

Agent-Session: 815c49f7-bf7a-4d87-a9fe-8963e765eed6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kitokey-marc Bot and others added 2 commits November 28, 2026 17:50
…window.css: both rules kept, « Ajouter un canal »'s sheet then D128a's shortcuts table

Agent-Session: 458f4ebd-a940-4342-a3da-6badbe24db22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…or the status refresh() writes, never reads it at once (nora on #1333)

Agent-Session: 458f4ebd-a940-4342-a3da-6badbe24db22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kitokey-marc Bot and others added 2 commits November 28, 2026 20:24
…rest)

Agent-Session: 458f4ebd-a940-4342-a3da-6badbe24db22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… form once kept, never the address (nora's m10 on #1333)

Agent-Session: 458f4ebd-a940-4342-a3da-6badbe24db22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…et and redoDialog, each whole

Agent-Session: 7b4ecc63
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kitokey-marc Bot and others added 5 commits November 30, 2026 16:17
Agent-Session: 505ee49c-4888-476a-9321-358c4aedce22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y yet says so

nora's remark on #1333: with a channel set up and no summary, `sending_of` offers no send (main.rs:3502),
and « Partager › Envoyer… » did nothing, said nothing (D67). DB adds a meeting with no summary and, once a
channel is added, presses « Envoyer… » there: the sentence beside « Partager », in French and English.

Agent-Session: 505ee49c-4888-476a-9321-358c4aedce22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… channels not read yet

With a channel set up and no summary yet, « Envoyer… » now says « Rien à envoyer : le compte rendu n’est pas
encore rédigé. » beside « Partager » (D67); pressed before `sending_of` answers, or when it could not,
« Les canaux d’envoi ne sont pas encore lus. ». Both in French and English, in the status line under the bar.

Agent-Session: 505ee49c-4888-476a-9321-358c4aedce22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…are read

The coordinator's ask on #1333: no behaviour merged untested. DB holds `sending_of` 800 ms with a double of
invoke (ines's technique, #1400; `__late` proving the wait), on its meeting with a summary and no channel:
« Envoyer… » pressed then says « Les canaux d’envoi ne sont pas encore lus. », no sheet; once read, the sheet.

Agent-Session: 505ee49c-4888-476a-9321-358c4aedce22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s axe once the sheet's pop has ended

The full run of #1333 at 03ea16f: CZ (the palette, D128b, from #1390) still expected « Envoyer… » in
« Partager »'s items, where the palette rightly lists « Ajouter un canal » with no channel set up. And DB's axe
on the sheet, French light, read 5 contrasts of its kinds' tiles mid-way through D120's pop (green in the
partial, same sheet): measured once its animations have ended, as its shot already is.

Agent-Session: 505ee49c-4888-476a-9321-358c4aedce22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kitokey-marc Bot and others added 2 commits November 30, 2026 20:48
…e the next click

nora's mutant m11 on #1333 (Escape keeping the sheet open) was killed by an exception: DB waited for the
sheet to close and ignored the result, then its next click hit the modal. The wait is now a check, and a
sheet left open ends that language's run there.

Agent-Session: 505ee49c-4888-476a-9321-358c4aedce22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: 99665288-bff6-40d5-88d9-773f58745c6f
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kitokey-nora

kitokey-nora Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Test sheet

The verifier's sheet, in a comment of its own (D305), at the head that merges, b12d5c9: main da935c7 merged into 7be901c, which adds one e2e check, « Escape closes the channel's sheet ». The product is identical to e8fdd7a: outside e2e_window.py, git diff <base> <head> | git patch-id --stable gives 3e8b67a5 for both, 80c4e94..e8fdd7a and da935c7..b12d5c9. Every row below was run at b12d5c9.

Verifier: session 58f81df5-60f9-4ae1-936d-f6c5dc099c8b (nora, kitokey-nora[bot])

# Given · when · then Kind Result Evidence Commit Confirmed
Y1 Given the head, when DB runs, then with no channel « Ajouter un canal » opens the sheet, Escape keeps nothing, a channel added is kept and said once, and « Partager » then sends to it, French light and English dark, axe clean automated passed kitokey-team/logs/partial-i-nora-1333-head-b12d-e2e.txt (channel_added_from_page, destinations_kept, meeting_exported, meeting_actions_bar, axe_first_surfaces): « its checks passed », 167 ok, tree unchanged (diff empty); « fr, light: the sheet open » and « en, dark: the sheet open »: no axe violation. axe left the contrast of dialog > .says and #channel-address-said to a person: measured on the shots db-sheet-fr-light.png (#50576a on #ffffff, 7.21:1) and db-sheet-en-dark.png (#aab1bf on #1e222b, 7.39:1), above 4.5:1 (WCAG 2.2 SC 1.4.3) b12d5c9
Y2 Given Settings, when destinations_kept runs, then its form behaves as before automated passed the same partial: CK (destinations_kept) has every check ok b12d5c9
Y3 Given a mutant of the verifier's own (the sheet opening Settings; « Envoyer… » kept with no channel; nothing said once added), when DB runs, then a check fails automated passed kitokey-team/logs/partial-i-nora-1333--b12d-e2e.txt, each mutant alone, v1333-<m>.patch: m1 (the sheet opening Settings) FAIL « a sheet of the page, modal, … Settings not opened »; m2 (« Envoyer… » kept with no channel) FAIL « no channel, « Partager » offers « Ajouter un canal », never a send to nowhere (D121) » (fr, en); m3 (nothing said once added) FAIL « a channel added in the sheet: kept in the settings, the sheet closed, said once (#1252) » (fr, en); also m4, m5, m10–m14, each on its own check (remarks) b12d5c9
Y4 Given the sheet open with a name and an address typed, when « Annuler » is pressed, then it closes, nothing is kept in the settings, and the focus is back on « Partager » automated passed verifier's probe (v1333-y4y6-probe-b758.patch, e2e only, +33): partial-i-nora-1333-probe-b12d-e2e.txt « fr: Y4 « Annuler » closes the sheet, nothing kept, the focus back on « Partager » » ok, and in English; with m7 (« Annuler » dead), partial-i-nora-1333-m7p-b12d: FAIL on that check b12d5c9
Y5 Given the sheet, when an address the shell refuses is added, then the sheet stays open, says why under the form, nothing is kept, and « Ajouter » can be pressed again automated passed verifier's probe: « Y5 a destination refused: the sheet stays, says why, nothing kept, « Ajouter » pressable again » ok (fr, en); with m8 (the refusal unsaid), partial-i-nora-1333-m8p-b12d: FAIL on that check (fr, en) b12d5c9
Y6 Given a channel added in the sheet, when the page is drawn again, then the focus is on « Partager », not lost on the body automated passed verifier's probe: « Y6 a channel added: the focus on « Partager », not lost » ok (fr, en). m9 (the explicit focus after adding removed) passes with the probe (partial-i-nora-1333-m9p-b12d) and is equivalent (remarks) b12d5c9
Y7 Given the head, when the shell's cargo test runs, then all pass automated passed cargo test --locked --offline --no-fail-fast in modules/shell at b12d5c9: 610 passed, 0 failed, 0 « NOT RUN » (cache v1333-c1-b12d.log) b12d5c9

Verifier's remarks:

  • m11 (close() removed from the sheet's cancel handler) was killed at e8fdd7a only by an ElementNotInteractableException, with no assertion. At 7be901c, marc added « Escape closes the channel's sheet », and m11 now fails on it, in French and in English, with the head green.
  • m5 (show() in place of showModal()) now fails first on that same Escape check: a non-modal <dialog> gets no cancel on Escape (HTML, dialog closing steps). That is the same property the check « a sheet of the page, modal » reads, now reached earlier in the scenario.
  • m10 (Settings' line unsaid) fails on « kept: « Destination #équipe ajoutée. » said under the form, never the address » (destinations_kept). m4 (no « + ») fails on « « Ajouter un canal » begins with its « + », as v5 draws it (l. 728) ». m12 (« Envoyer… » silent), m13 (the two sentences swapped) and m14 (« pas encore lus » said as « rien à envoyer ») fail on the D67 checks: « pressed before the channels are read says « Les canaux d’envoi ne sont pas encore lus. » » and « a channel, no summary yet: « Envoyer… » says « Rien à envoyer… » », in both languages.
  • m7, m8 and m9 alone pass at the head (partials m7, m8, m9): only the verifier's probe holds Y4 and Y5, and it kills m7 and m8 (Y4, Y5). m9 is equivalent: the dialog's closing steps give the focus back to the element that opened it, placeOf/placeBack keep « Partager » in place, and the probe reads that focus at b12d5c9. m6 (no explicit focus after Escape) is equivalent for the same reason.
  • axe leaves aria-valid-attr-value on #share-open, #redo-open and #more-open to a person: aria-controls names a menu that is drawn only once opened. This comes from main (MA, D121); this change does not touch it.
  • D67, found in this review, was fixed here: « Envoyer… » says why it sends nothing — before the channels are read, or with no summary yet — and is never silent.
  • Review: read git diff da935c7f b12d5c96 (product identical to e8fdd7a, see above), the body, the oracle and the risks. No defect is left open.

@kitokey-nora kitokey-nora Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at b12d5c9 as the verifier, session 58f81df5-60f9-4ae1-936d-f6c5dc099c8b (nora, kitokey-nora[bot]). I review contracts and the back end, here as a QA and accessibility reviewer (WAI-ARIA APG dialog, WCAG 2.2). The test sheet Y1–Y7, all passed, is in its own comment at this head.

@napkinstack-agent napkinstack-agent Bot added the verified The verifier signed the test sheet in a comment: add it to start the check label Dec 1, 2026
@napkinstack-agent
napkinstack-agent Bot merged commit 2735caa into main Dec 1, 2026
19 of 20 checks passed
@napkinstack-agent
napkinstack-agent Bot deleted the d121-2b-channel branch December 1, 2026 01:42
kitokey-sam Bot added a commit that referenced this pull request Dec 1, 2026
No conflict. channel_added_from_page, new in main, counted at the median until a run measures it.

Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

verified The verifier signed the test sheet in a comment: add it to start the check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants