Repository navigation
fix(desktop): Only Meetings shows its own icon and reads as on in the top-bar listening control - #12810
Conversation
There was a problem hiding this comment.
All reported issues were addressed across 7 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
Thanks @nathanjcx — careful work: the semantics, doc comments, tests, and changelog all move together. Notes per file, verified on 2f095d2:
One edge case worth a small follow-up (same one the code-review bot raised; I verified it in the diff): in Two consistency notes for whoever signs off:
Nice iteration across the two commits — the badge-colliding-with-the-slash screenshot made the problem concrete. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
kodjima33
left a comment
There was a problem hiding this comment.
Legit desktop bug fix (icon collision + armed-state semantics), 42 tests + live battery. mergeStateStatus is DIRTY (merge conflict) so holding at approve per policy — not rebasing/force-pushing. Please rebase and I'll land it next run.
The Only Meetings mode badge was drawn on top of a slashed, hollow-dot mic: the armed wait was modelled as inactive, so the control wore the off-slash while also wearing the mode mark, and the two collided on the glyph's foot. An armed Only Meetings session is switched on (the next call is recorded), so listeningStatus now reports it active: green dot, no slash. The mode badge is also pushed clear of the glyph so it never sits on the silhouette. The hint popover shown when a click lands on Only Meetings is now just "Only Meetings"; the explanation moves entirely to the tooltip, which for the armed wait says the microphone opens when a call is detected. The cycle stays Off -> Always On -> Only Meetings -> Off. Verification: - DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcrun swift test --package-path Desktop \ --filter 'DashboardCaptureStateTests|ShellListeningCycleTests|ShellStatusIconLegibilityTests' -> 43 tests, 0 failures - swift-format lint and scripts/check_desktop_test_quality.py clean - Rendered ShellStatusIconButton offscreen in all four states (off, always on, armed Only Meetings, and the previous slashed+badged look): the new armed state shows a green dot, no slash, and the badge outside the mic - Not exercised in a signed-in bundle: auth seeding was blocked by a login-keychain prompt Failure-Class: none Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016fydURVkJ4CMomvtt7aW53
…tening control The Only Meetings mark rode on the mic as a corner badge and, even pushed clear of the glyph's foot, still read as two silhouettes fused into one. Only Meetings names a different capability (record calls, not the room), so the mode now owns the silhouette outright: `person.2.fill` replaces `mic` while the mode is selected, the corner badge is gone, and the dot and slash keep saying on/off/blocked on top of whichever glyph is showing. Always On and Off keep the mic. `ShellStatusGlyph.modeBadge(for:)` becomes `listeningGlyph(for:)` and `ShellStatusIconButton` loses its `badge` overlay. The header's no-swap rule still guards the on/off bit (`listening` is measured across states, not modes), and the file says so. Verification: - DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcrun swift test --package-path Desktop \ --filter 'ShellListeningCycleTests|ShellStatusIconLegibilityTests|DashboardCaptureStateTests' -> 42 tests, 0 failures - swift-format lint --strict clean on the two changed Swift files - Ran the omi-only-meetings-button named bundle signed in; the control shows only the people glyph in Only Meetings and the mic in Always On / Off Failure-Class: none Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ws5JE3NXAmo34XxiCC7bVH
…one grant An armed Only Meetings wait reads as on, so its tooltip moved out of the `.inactive` branch and past the microphone guard. Without the grant it promised "Recording starts when a call is detected", which no call could keep. The armed sentence now says the grant is missing and where a click goes, since from Only Meetings a click turns listening off without prompting. Failure-Class: none Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01BwsPy8eRjhWCgm2BJu28fm
2f095d2 to
e0d048b
Compare
|
Rebased onto current |
|
Follow-up on the rebased head, verified at e0d048b — the open thread from the earlier review is resolved, and cleanly:
One small carry-over, non-blocking: The earlier approval predates the rebase, so leaving this with by AI on behalf of David — the remaining item is a maintainer re-confirm of the rebased head, since the prior approval was on 2f095d2. |
kodjima33
left a comment
There was a problem hiding this comment.
fix(desktop): title-match qualifies for desktop owner-override fast lane. CI green (Swift build/release/static-contracts pass), no conflicts, confirmed bug (modeBadge) still present on main, no abuse signals.
What
The top-bar listening control now reads Only Meetings honestly:
person.2.fillinstead of the microphone. The corner badge that used to sit on top of the mic (and overlapped its foot) is gone. Always On and Off keep the mic.listeningStatusnow reports it active: green dot, no slash.Why
The mode mark was drawn on top of a slashed, hollow-dot mic, and the two collided on the glyph's foot. Pushing the badge clear still read as two silhouettes fused into one. Only Meetings names a different capability (record calls, not the room), so the mode owns the silhouette outright and the dot and slash keep saying on/off/blocked on top of whichever glyph is showing.
Changes
ShellStatusGlyph.modeBadge(for:)becomeslisteningGlyph(for:);ShellStatusIconButtonloses itsbadgeoverlay; the file header documents the mode-not-state swap.CaptureListeningLogic.listeningStatustreatsisAwaitingMeetingas active;ShellStatusTooltip.audiogains the armed-wait sentence.DashboardPageuses the same status logic (touches an INV-CHAT-1 path glob; no chat transcript behaviour changes).ShellListeningCycleTests,DashboardCaptureStateTests,ShellStatusIconLegibilityTests.Tests
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcrun swift test --package-path Desktop --filter 'ShellListeningCycleTests|ShellStatusIconLegibilityTests|DashboardCaptureStateTests'-> 42 tests, 0 failuresswift-format lint --strictclean on the changed Swift filesomi-only-meetings-buttonnamed bundle signed in: Only Meetings shows only the people glyph with a green dot; Always On and Off show the mic.Product invariants affected
Failure class
Failure-Class: none
🤖 Generated with Claude Code
https://claude.ai/code/session_01Ws5JE3NXAmo34XxiCC7bVH