Repository navigation
Dev - #191
Open
ShuhaoZQGG wants to merge 207 commits into
Open
Dev#191ShuhaoZQGG wants to merge 207 commits into
ShuhaoZQGG wants to merge 207 commits into
Conversation
…eaker, and Best Evaluator Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
new_look (fallback false) gates design B, the redesigned Zoom panel (plan 13). FLAGS_FORCE now takes per-key entries after an optional base, e.g. "1,new_look=0" or "pro=0", so a dev test run can pick the mix production has instead of every flag at once. The production guard now fails on any flag forced on, not only "1".
App picks ClassicShell (unchanged) or the lazily loaded NewLookShell. Until flags land, useNewLook answers this device's last answer, so the new look does not flash the old one at every open. NewLookShell is today's panel until Phase 1 fills it in; the flag is off everywhere.
…seLiveTimer A straight move: the logic and the JSX are byte-for-byte what they were, and LiveTab.test.jsx passes unchanged. Design B's timer card will call the same hook, so the overlay pushes and video handling exist once.
…ge layer Out of TimerDisplay unchanged, so design B's 16:9 preview shares the drag, size and hide gesture. New tests pin commit-on-release, clamping, and which controls show when.
The dialogs render exactly as before around the extracted bodies. Design B's Cards and Sounds sheets will show the same panels, with the own-background picker left to its own sheet.
A modal dialog that rises from the bottom: focus in on open and back to the opener on close, Tab trapped, Escape and the dimmed panel close. Unused until Phase 1.
…al and SoundsModal Steps unchanged: the behaviour did not move, only the files it lives in.
…l Phase 0 runs in Zoom The test device is held for #145's CC-10 tonight, so the real-client run for plan 13 Phase 0 waits. Steps unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…; TUTORIALS_URL VideoPreviewLayer takes revealControls='hover' (design B) to keep − / + / eye / reset out of sight until the chip or badge is pointed at or focused, and a chipHint under the chip. Today's panel keeps 'always'. useLiveTimer also returns cardImagesGeneration, so a view can follow the artwork.
…nu, no footer Agenda / Timer / Report as a segmented switch (PostHog ids unchanged), the Pro chip where the footer's Upgrade button was (locked 'coming soon' while pro is off, the launch dot once it is on), and the ⋯ menu: your plan and the club code (pro only), roles & timing rules, clear the timer from my video, how-to videos, feedback, rate the app. Behind new_look.
The card takes the meeting's colour: speaker and role pickers, the rules line, a 16:9 preview with the count-up chip and club badge (controls on hover), the clock and one status line, preview swatches, and the buttons for ready, running, paused and video off. Up next, the after-Finish note for a row that needs a role, break length with Stop music, and custom times in one row.
TimerTab draws the card from useLiveTimer, so every push to Zoom is the old tab's code. Look & sound rows show their current values and each opens only its own sheet: On your video (modes, clear), Cards (sets only), Sounds (the same lock), Between speeches (timer card, or my video with an optional background).
useAgendaEditor, useReportView and useRulesEditor hold what AgendaTab, ReportTab and EditRulesModal did, moved unchanged (their JSX is byte-for-byte the same and their tests pass as written). Design B's views call the same hooks.
Agenda: empty state with Paste from EasySpeak / Add a speaker, rows with drag dots, ON THE TIMER, finished times and the red needs-role row, a paste sheet that counts speakers before adding, an add / edit sheet. Report: rows with colour, time and OVER TIME, copy, clear, the club archive, history and share as sheets, the Pro pitch only while Pro can be bought. Roles & timing rules: one row per role, one open at a time, the club's list and sharing.
… stage label A LookContext tells shared dialogs they are inside design B's shell: Upgrade and the club question open as sheets, the Pro launch window becomes the card with the four timing cards (same words), and the stage's share button reads 'Share to the meeting'. Outside the new look nothing changes.
…ro is coming The pre-launch notice promises a new look; once new_look is on for someone, it says where things went instead and keeps Pro as what is coming.
Failing tests written from the approved plan before any implementation: Worker (polls, native Zoom poll, club template, archive, /r/ winners, /vote/ routing and CSP, 402 gate), shared logic (ballot, template, winners, refresh, sync, outbox, report image), the POLL tab and the Stage winners panel, a Playwright spec (the vote page runs the real Worker in-process), and the new meeting-polls Zoom-client spec. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… PRs claude-code-action 3fd0895 (2026-11-12, anthropics/claude-code-action#2001) denies code-running commands on PRs whose author lacks write access, and counts bots as untrusted. Factory PRs are opened by the Claude bot, so the #80 build (run 43660639722) had node, npm and vitest denied and stopped before doing anything. Set restrict_untrusted_prs: "false" on the plan and build stations. Their trust check is the gate: state.mjs only lets a station run after a factory actor opened the human gate, and fork PRs get no secrets. Both files stay identical on dev and master.
The ballot is built from the speakers this meeting already timed, so packages/shared/polls.js turns a template (club, personal or default) plus the reports into one meeting's ballot, and reads the winners back with ties kept and none for a category nobody voted in. The personal template syncs (SYNCED_KEYS); the club's copy arrives with refreshClub when ver moves; the draft and results stay local and go with Clear. Closed results ride the club outbox to /api/club/meetings/<id>/polls, and the report image grows a Winners block when there are any. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…m poll One PollRoom per poll keeps strongly consistent counts, so the totals at Close are final, which KV could not promise. Votes inside Zoom are keyed by the verified uid from the app context and must come from the poll's meeting; guests and the /vote/<id> backup page are keyed by a hashed device token, the page behind a per-poll-and-address limit of 120 a minute that fails open. Results and Close are the owner's only. The club publishes a poll template like presets, and closed results are stored under their own archive key so compaction keeps them; /r/ lists the winners. The native Zoom poll keeps the host's refresh token only AES-GCM encrypted in its room and deletes it after the meeting.ended fetch, the last retry or 24 hours. Both flags are off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The organizer sets up, opens, watches and closes the poll from a POLL tab after REPORT (flag polls); a free plan sees the setup locked behind Upgrade but can always vote. Opening posts the link to chat and offers "Invite everyone", both optional SDK capabilities with Copy link as the fallback. An invited participant's app finds the open poll through its app context and shows "Vote now". Close reveals the winners, keeps them for the Report tab and the club archive, and "Show on Stage" puts them on the owner's Stage. The meeting-polls spec now covers the new files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and timer-sounds for #80 Meeting polls touched files these specs cover (LiveTab.jsx passes poll winners to the Stage, zoomSdk.js gained three optional APIs, club.js stores the poll template, club-cards.js shares its publisher check). No step changes; timer-core and club-card-sets are marked stale until the Zoom station reruns them. verified_at stays at the last real run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h the list each time The EasySpeak parser asked findRoleByName about every line, and that splits every role name into words again on each call. With 60 roles of the user's own, a 20,000-character text in the shortest lines it can have took 110 to 130 ms, against 5 ms with the built-in roles alone. The Worker runs this on the text of an uploaded file. roleFinder (simpleFormatParser.js) works out each name's words once and answers as findRoleByName does; the parser builds one per parse. The same text now takes about 3 ms, and a test holds it there on a text ten times as long.
Brings in 7ec6ec8 (the AI read is told how long each role runs) and 5e3e5a9 (its spec review). Two conflicts, both resolved by keeping both sides: - e2e/zoom-client/agenda-import.md: #111's "Stale since 2026-12-01" note, then this branch's own stale note and IM-14. - e2e/zoom-client/INDEX.md: one agenda-import row carrying both reasons the spec is stale.
…l Zoom client 2026-12-01, this branch at 88a2845 on dev bbefa644 (FLAGS_FORCE "0"), with IM-04 before and between them: - IM-07: "EasySpeak agenda: 9 speakers found." and nine rows, the General Evaluator and the Ah Counter among them. The test device has no built-in role and none named as the agenda names one, so all nine were highlighted in the agenda's words and counted as needing a role. - IM-14: with Grammarian and Joke Master added, a Grammarian row landed on the device's own Grammarian (15/30/45 s in the Live tab), a Joke Master row was read, a Word of the Day row was not, and the 1st Speaker was highlighted. PostHog was not read: a dev build from a worktree carries no key. The spec stays stale for #111's pending reads, so verified_at is unchanged. IM-14's cleanup line now says what the client needs (Remove applies at once). Log: test-runs/2026-12-01-easyspeak-import-roles/run.md
…h nobody in it no longer takes the role line below as its name
Two rows the EasySpeak parser still dropped or misread, left out of the
last change on purpose.
"Moment of Humor" in the American spelling was not read at all: the word
was missing from the short roles, from both copies of the role pattern
for a table row, and from the test for a role alone on its line. Both
spellings now give a Short Roles row that keeps the agenda's spelling.
In the line test "humor" counts as a word of its own, so a speech title
with "humorous" and "moment" in it is still not taken for the role.
A role with nobody in it yet, pasted with the role on one line and the
name on the next, took the role line below it as its name:
"Grammarian / General Evaluator / Michael Lee" came back as a Grammarian
called "General Evaluator". The next line is now refused as a name when
the whole line is a role the parser knows, with or without a number, or
names one of the roles the user added. Never by a word in the line: a
name can hold a role word ("Tim Timer", "Sarah Counter").
One of the user's roles is read only with a name right under it, so with
nobody in it, it reached the second place a name is taken, further down.
There it now ends the role above instead: that role has nobody either,
and a name after a blank line is put on neither.
The roles the timer skips are the same as before.
…ows now read; no step moves Not covered no longer lists "Moment of Humor" or a role with nobody in it taking the role line below as its name: 87ccc2e reads both. What is left of the second is said there: a line the parser cannot know for a role (a role it has no word for, or one worded another way) is still taken as the name. Reviewed against 87ccc2e: no step pastes either, and the parser reads every text a step pastes as it did before. IM-07 and IM-14 were not rerun. status, verified_at and verified_on are unchanged.
…its own name The import dialog had two parsers behind its one box, an EasySpeak one and a "Name (Role)" one, and a matcher that chose between them. They read the same things differently: one mapped the agenda's words onto the default roles, the other took exact role names; one dropped the roles the timer does not time, the other kept them; the count under the box and the rows added came from two readings of the text. Now one reader (packages/shared/agendaReader.js) reads whatever is pasted: - a table of roles and names: two cells by a tab or wide spaces, role first or name first, or the role on one line and the name on the next; - one speaker per line, the role in brackets or set off by a dash, a colon, a bar, a comma or any other mark, or, when most lines have it, by a space alone. What it cannot tell the rows of (a schedule with clock times, a table of more columns, prose) it claims nothing of, and the AI reader or "Add each line as a speaker" takes over, as before. A row gets a role only when the agenda names one of the roles the user has now (packages/shared/roleNames.js): the same letters and digits, whatever the case, the spaces and the marks, written apart or together. "Ah Counter", "ah-counter", "AH+COUNTER" and "AHCOUNTER" are one name; a misspelling is another, and so is "12min" beside "1-2min". Nothing else is mapped: "1st Speaker" is no longer Standard Speech, and a default role is treated like any other. A row with no role keeps the agenda's wording and asks for one. A row for a role the timer does not time (Toastmaster, Chairperson, Timer, Table Topics Master, Sergeant at Arms) lands on the user's role of that name, or is left out, in every layout, and the line under the box says how many were left out. For an uploaded file the Worker takes the reader's rows only when at least half of them got a role and no line has a clock time; any other file goes to the model, which can say which role a "1st Speaker" is. The two parsers, their tests and the matcher are gone. Their cases are in agendaReader.test.js and roleNames.test.js with the new expectations.
The landing page, the demo page and tutorial 3 said every speaker comes in with the right role and time limits. Since the reader matches a role by its own name only, that holds for a role that is in the user's role list; the role of any other speaker is picked by hand. The pages say so. Tutorial 3's transcript is left as spoken, with a line under it on what has changed since. The video itself still shows the old import. The documentation and the privacy page no longer name two formats.
… one reader; stale until run agenda-import: covers the reader and the role-name module in place of the two parsers. IM-02's line under the box loses ", one per line". IM-07 is rewritten: the demo table's nine rows each ask for a role in the agenda's words, and five rows are left out and counted. IM-14 is rewritten: the row for a role the device does not have is read and asks for one. IM-15 is new: a role after a dash, before a colon and in brackets, in three spellings, and two untimed roles left out. Not covered says what the reader still reads wrongly and what it claims nothing of. new-look NL-13: the counts are reworded, and "NL Two (Table Topics Master)" becomes "(Table Topics)", since a row for that untimed role is now left out. timer-core: review note, no step moves. No step ID is renumbered. verified_at and verified_on are untouched.
…import copy; no step moves
A role after a dash, before a colon and in brackets, written in lower case, run together and with a plus sign, lands on the device's own role with its rules; the Toastmaster's and the Timer's rows are left out and counted. The Playwright stand-in for agenda-import IM-15, which is not run in the real client for this change.
… the owner's call The owner asked whether the change touches any Zoom client API and, as it does not, had the e2e suite stand in for a real-Zoom run. agenda-import, new-look NL-13 and INDEX.md say so, and name the Playwright tests that cover IM-02, IM-07, IM-14, IM-15 and NL-13 with the SDK mocked. status, verified_at and verified_on are unchanged.
… Zoom-only surface Until now every change to a file a Zoom-client spec covers owed a run in the real Zoom client, which takes the owner's Mac for the length of it, even when the change could not alter anything Zoom shows. The owner asked for real runs only where they prove something Playwright cannot. The rule (CLAUDE.md, "When a change needs the real Zoom client"): a run is owed when the change reaches the Zoom-only surface, which is more than a call to the Zoom Apps SDK: - the SDK bridge: a call, or what it is given or when it runs (the card image, a badge, the colours that reach the video, the tick, FINISH and RESET); - Zoom's embedded browser where it differs from Chrome: clipboard, pasted files, the file dialog, drag and drop, links, confirm and alert, sound, the camera; - how the app loads and signs in inside Zoom: the zoom. host, its headers, the app context and session token, OAuth, capabilities, the /zoom build. Anything else gets unit and Playwright tests and a review note in each covering spec naming the Playwright tests that stand in; verified_at is left alone, and the release check gives those specs their real run, so a batch of such changes costs one Zoom session. When unsure, ask; a factory station, which cannot, runs it. The same rule is written where the old one was: the definition of done, the zoom-client README, the zoom-app-testing skill (which ran "unasked" for any covered file), the factory's Zoom station and report steps, and the Stop hook's message on factory branches. The hook still blocks the first stop: a file path cannot tell which side a change is on.
Agenda import: one paste box for every format, with an AI read and an upload for Pro (#111)
EasySpeak import: read every timed row, and put each on a role the user has
…role EasySpeak import: read "Moment of Humor", and never take a role line for a name
Agenda import: one reader for every layout, and a role only by its own name
Zoom's macOS client shows apps in WKWebView, so a panel change that renders or behaves differently in WebKit passed Playwright (Chromium only) and surfaced only in the real client. The zoom-webkit project runs the same e2e/zoom.*.spec.js files with Desktop Safari against the same dev server. CI and the cloud factory build install WebKit beside Chromium. Two tests needed a WebKit-aware setup, no assertion changed: - the report test grants Chromium's clipboard permissions only in Chromium; WebKit has no such permission and lets the click write, as Safari does. - the custom-set perf test is skipped in WebKit: Playwright's WebKit contexts are ephemeral and cannot put a Blob in IndexedDB (Zoom's persistent WKWebView can).
test(e2e): run the Zoom specs in WebKit too
Run the real Zoom client only when a change reaches the Zoom-only surface
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
toastmaster-timer-dev | ffe8224 | Dec 03 2026, 07:14 PM |
Master's newest weekly batch arrived after the tags were written (#166), so the merged tree had 60 questions with no entry in tags.json and validate.test.js failed. 7 tags each, 299 of the 304 distinct tags reused.
…s "second chance" It expected no keyword match at all for "second chances", which held on dev's 919 questions and broke on master's contest-style-048. It now checks that text alone cannot fill a list and that tags find more than text does.
Two layouts dropped people on import, and the dialog only said "Found N
speakers":
- "1st Speaker - Sarah Chen" (a counted role, a spaced hyphen, a name) was
taken for a role line with no name, so four such lines gave one garbled row.
A hyphen beside a space now sets the two parts apart, as a colon does. A
hyphen inside a word ("Table-Topics") is still the role's own.
- A role alone on its line still takes one name: a second name under it cannot
be told from a speech's title. The reader now counts the lines it took
nothing from, the line under the box ends "N lines not used.", and "Add each
line as a speaker" is offered there too, not only for a text it cannot read.
agenda-import.md: reviewed, no step moves; unit tests stand in (no Zoom-only
surface).
Release blockers for #191: Table Topics tags and test, and the agenda reader's lost speakers
showToast started a timer and nothing ever cleared it. In a test the timer could fire after the page was torn down and set state with no window: the push run of 7538e48 failed on "ReferenceError: window is not defined" (from AgendaTab.test.jsx) with all 3,422 tests passing, while the pull request run of the same commit passed. Both apps' providers now clear their pending timers when they unmount, and a showToast that arrives after that shows nothing and starts no timer.
fix(toast): a toast's auto-remove timer no longer outlives its provider
This branch has not been deployed
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.
The release of everything merged into dev since #150: 23 pull requests (#143, #153, #157, #163, #165, #169, #170, #171, #173, #176, #177, #179, #180, #181, #183 to #189, #192).
Why
Ship to production what dev has gathered since the last release: on-the-spot speakers, one paste box for agendas, the patron link, Table Topics theme search, and the code for four features that stay dark behind release flags (the new look, clubs by Zoom account, meeting polls, AI agenda import).
What changes
Live for everyone on merge (no flag)
label - namelines read, and lines the reader takes nothing from are reported with "Add each line as a speaker" (Release blockers for #191: Table Topics tags and test, and the agenda reader's lost speakers #192)./coffeeredirects to the patron page (Monetization: add a "Buy Me a Coffee" patron option alongside Pro (#160) #179, fix(web): wrap the timer footer so Buy me a coffee fits a phone (#160) #183).config()asks for three more optional capabilities (sendMessageToChat,sendAppInvitationToAllParticipants,getMeetingContext).Merged dark, behind release flags
new_lookpropollspolls_zoomagenda_ai(withpro)soundsprois offInfrastructure
ClubPlaces,PollRoom; migrations v1 and v2), the Workers AI binding, three more rate limiters.Security
New routes and what guards them:
POST /api/pollsand/api/polls/zoom: session, then the flag, then Pro on the server. Withpollsoff no poll can be created, so the public vote page/vote/<id>has nothing to show.POST /api/agenda/import: session, flag, Pro (402), a per-account limiter, a 5 MB body cap; only free model ids can be called.POST /tabletopics/api/match: public; 6 a minute per address; free model ids only; model output is mapped to known question ids and escaped./coffee: a fixed redirect.Review findings that are not fixed in this release are not listed in this public description.
Production impact
pollsgoes on, the two chat and invite capabilities have to be added to the production app; beforeproweb sign-in andcontact_capture, the scope update indocs/ZOOM_LISTING_PRO.md.www.toastmusters.com.node scripts/club-cli.mjs backfill-club-ofon production, dry run first, so clubs made before Clubs: an invite code for up to 3 other Zoom accounts, and club Pro follows the account (#167) #169 are found by account.Testing
At
7538e48:npm test: 167 files, 3,422 passed. The push run of this commit failed on a toast timer firing after a test page was torn down, with every test passing; fix(toast): a toast's auto-remove timer no longer outlives its provider #193 fixes it.npm run test:e2e: 264 passed, 1 skipped.npm run test:specs: 18 specs valid.--stale --strictlists 10 specs whose covered code changed since their last full real run.ci.yml).Evidence (real Zoom client)
A smoke run on 2026-12-02, Zoom 7.2.5 on macOS, against
7b14ada(#192 came after it: reader logic and content only). The log istest-runs/2026-12-02-pre-master-release/run.mdon the owner's machine.new_look; to fix before that flag goes on.Not verified
verified_atchanged.Known, shipping as they are
Look here first
wrangler.jsonc(bindings, migrations) andworker/flags.js.apps/zoom-app/src/hooks/useLiveTimer.js: the Live tab's logic, moved in Design B, Phase 0: new_look flag, shared timer logic, bottom sheet (no visible change) #153 and changed by Zoom timer: on-the-spot speakers — insert position, explicit edit-vs-add, role write-back (#168) #177 and fix(timer): FINISH and RESET clear the speaker in both looks, so a tab switch can't bring them back #170.packages/shared/agendaReader.js.