Repository navigation
D120 2d — shell: every success said by the window's toast, never in place; a failure in place - #1352
Open
kitokey-lina[bot] wants to merge 7 commits into
Open
kitokey-lina[bot] wants to merge 7 commits into
kitokey-lina[bot] wants to merge 7 commits into
Conversation
…ace; its failure stays in place Criterion 4 of D120: a success is said by the window's toast. « Exporté : « … ». » was still said in #share-said (#1252); ME now asks it of the toast, once, nowhere in place, the long name whole in the window at 1100 and 420 px; the dialog closed and a file refused say nothing by the toast. Agent-Session: 44c23727-79e0-44b5-8ad6-25ac1f2730f5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ort, .ics, send, destination, service, freed Criterion 4 of D120, everywhere (the decider, through the coordinator: one rule, nothing exotic). said_by_toast() reads what the toast said and where else the page shows it; each success asked of it: ME (export), dates_mentioned (.ics), summary_sent and confidential_sent (sent), destinations_kept (destination kept), service_named and transcription_guided (service saved), and FD, new (space freed). Failures stay asked in place, unchanged. Agent-Session: 44c23727-79e0-44b5-8ad6-25ac1f2730f5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
« Ajouter au calendrier » is a modal dialog: the page under it is inert, so a toast left in the body would be hidden behind it and unheard. dates_mentioned asks the toast at its centre on top, inside the open dialog. Agent-Session: 44c23727-79e0-44b5-8ad6-25ac1f2730f5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s failure stays in place Criterion 4 of D120, everywhere: an export, a calendar file, a send, a destination kept, a transcription service saved and space freed now say their success with say(), and #dates-saved is gone; each failure is still said in place, what to do with it. A modal dialog open, the toast is said inside it, the page under it being inert. Agent-Session: 44c23727-79e0-44b5-8ad6-25ac1f2730f5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gone, the next success still toasted The green run at c09827c read the toast still shown from the action before as said since TOAST_WATCH, and so ended waits early (CL, CN, ME). TOAST_WATCH now sets that toast's words aside until a toast is said anew; the sends wait for their own destination's words. Z's Tester checks ask the saved sentence of the toast, nothing in place. dates_mentioned asks, once its dialog is gone with the toast it held, that the next success is still said by a toast in sight. Agent-Session: 44c23727-79e0-44b5-8ad6-25ac1f2730f5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A modal dialog removed takes the toast it held with it; say() now appends it to the page again when it is no longer in the document. Agent-Session: 44c23727-79e0-44b5-8ad6-25ac1f2730f5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
m-no-reconnect, that test removed, passed dates_mentioned at 4fb67f9: a dialog removed keeps the toast as its child, and toast.closest("dialog") finds it, detached or not. Reverts 4fb67f9; the check « the dialog closed, the next success still said » stays, held by that line. Agent-Session: 44c23727-79e0-44b5-8ad6-25ac1f2730f5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
For the decider, in one sentence: six successes that were still said where the action was (an export, a calendar file, a send, a destination added, a transcription service saved, space freed) are now said by the window's one toast, as #1329 did for the copies and « Enregistré »; each failure is still said in place.
flowchart LR A1["Partager › Exporter<br/>(#share-said)"]:::old --> S["say() — #toast<br/>role=status, 5 s"]:::new A2["Ajouter au calendrier › .ics<br/>(#dates-saved, removed)"]:::old --> S A3["Envoyer à …<br/>(#send-said)"]:::old --> S A4["Settings › destination added<br/>(#destination-said)"]:::old --> S A5["Settings › service saved<br/>(#transcription-said)"]:::old --> S A6["Faire de la place<br/>(#free-said)"]:::old --> S S --> M["a modal dialog open:<br/>inside it"]:::new E["A failure"]:::old --> P["said in place, as before"]:::oldLegend: green is new in this pull request; grey is on main.
Module
shell, exactly one:ui/window.js(the six sites, andsay()in a modal dialog) andscripts/e2e_window.py.Deliverable
Deliverable: D120
Cycle 12, criterion 4: a success is said by the window's toast, and no inline note remains. #1329 (D120 2c) moved the five copies and « Enregistré »; these six were left in place. The decider's rule, 2026-11-28, through the coordinator: the same rule everywhere, nothing exotic.
What it changes
The census, made with the
explorersubagent overui/window.js,ui/first-run.jsandui/index.htmlat main 17c4232: every word ofwords.rsthat reads as a success or a confirmation, and every status element (role=status,aria-live) other than#toast. Six successes were said in place; every other status element says a failure, a progress or a state.#share-said,window.js:3474(export_done)say(),window.js:3477#share-said#dates-saved,window.js:2704(dates_saved); the element is removedsay(),window.js:2706#dates-said#send-said,window.js:2364(send_done): shown, or clipped for screen readers (.unseen) once listedsay(),window.js:2372; its line under the summary stays#send-said#destination-said,window.js:4308(destination_added)say(),window.js:4311#destination-said#transcription-said,window.js:4568–4573(service_saved,service_saved_here), kept across a redrawsay(),window.js:4578; nothing kept in place#free-said,window.js:6115(free_done)say()once the page is drawn again,window.js:6127#free-saidNot changed: the list of sends (
send_listed, a record), « Audio supprimé » (a state in the list), the Tester's answers and every progress line.In a modal dialog. « Ajouter au calendrier » is a modal dialog: the page under it is inert, so a toast left in the page would be hidden behind it and not heard.
say()now puts the toast inside the open dialog, and back in the page once none is open (window.js:1085–1089). This is libadwaita's convention:AdwDialogandAdwPreferencesDialogeach have their ownadd_toast(the coordinator's validation, 2026-11-28). Toast in an open dialog: the decider's choice, 2026-11-28 (v5 silent). HTML's top layer makes everything outside a modal dialog inert (HTML Living Standard,showModal()).Oracle
i-lina-120d-red-1d12c9e, the eight scenarios below: 26 FAIL, no exception. Each FAIL is a success the toast did not say; the export's, at df75c79, failed alone first (i-lina-120d-red-df75c79, 12 FAIL).i-lina-120d-green-50106cb, the eleven scenarios: 298 checks ok, 0 FAIL, no exception. Among them: each of the six said once by the toast, nothing in place, in fr and en where the scenario has both; the long file name whole in the toast at 1100 and 420 px; the .ics said inside its modal dialog, over it; the dialog closed, the next « Copié » said in the page, in sight; every failure still said in place.dates_mentioned: 2 FAIL, « the toast over it and inside it », fr and en. m-no-way-back (the toast never back in the page) at 50106cb,dates_mentioned: 2 FAIL, « the dialog closed, the next success still said by the window's toast, in sight », fr and en: no toast in the document.said_by_toast()is new: what the toast said beginning with some words, and where else the page shows them.TOAST_WATCHnow sets aside a toast still shown from the action before, which read as said since and ended waits early (the first green, at c09827c, failed on that).freed_said) is new: « Faire de la place » done was only in P, inmain()'s body, which a partial run does not reach.!toast.isConnected(4fb67f9). Its mutant lived: a removed dialog keeps the toast as its child, andtoast.closest("dialog")already finds it. Reverted (50106cb).Kind of oracle: the window's e2e (Z, BG, CM, FD, CK, CL, CN, ME; CY, AJ and AM for
TOAST_WATCH).Review budget
nstack pr-scopewithMAX_LINES=800: 237 lines of the project's 800, 2 files of 15.Contracts
Definition of Done
node --check#toast(role=status), inside a modal dialog when one is open; the screenshotsme-said-fr-lightandme-said-long-frread, the toast clear of the bar at 1100 and 420 pxSummary
DONE
#dates-savedremoved.say()puts the toast inside an open modal dialog.VERIFIED
ASSUMED
NOT VERIFIED
#toastinside the dialog is arole=statusthere, which is what Orca reads.cargo testnot run: no file undersrc/changes.RISKS
#destination-saidand merges first; this branch will merge main after it. marc's « said once » counts everyrole=status, the toast included, so it holds.Test sheet
The verifier's section:
shellisstandard.Verifier: (to be named by the coordinator)
meeting_exported)dates_mentioned)summary_sent; CN,confidential_sent)destinations_kept; Z,service_named; BG,transcription_guided)freed_said)toasts_said,minutes_copied,announced)🤖 Generated with Claude Code