Repository navigation
fix(desktop): keep the activity notch visible and animate it - #1302
Merged
Merged
Conversation
nixuuu
enabled auto-merge (squash)
November 26, 2026 10:46
nixuuu
added a commit
that referenced
this pull request
Nov 26, 2026
## Activity notch - Replace numbered thread labels in the expanded notch with the same titles shown in Threads. Changes to a title update the existing row. Threads without a title show **Untitled thread**. - Keep titles on one line with ellipsis when needed. The tooltip and accessible name retain the full title. Project marks and activity status stay beside the title. - Project names, transcript content, and conversation routes stay out of the overlay renderer. Bot rows keep their numbered labels. ## Verification - Desktop and web typecheck and lint on edited files passed. - The Electron integration fixture passed on Linux with the notch enabled for the test. It checked a title-only update, literal rendering of punctuation, untitled fallback, and redaction. The CI fixture covers macOS and Windows. - Verified short, typical, and long titles in Chromium at 496 px and 260 px, including access to the full title and room for the status. - Copy audit passed. “Thread 1” became the actual thread title, with “Untitled thread” for an empty title. The button name still begins with “Open” and includes the activity status. Related: #1302
nixuuu
added a commit
that referenced
this pull request
Nov 26, 2026
## Summary - Give the Activity notch list a stable width during expansion and collapse. Reveal rows once they fit and fade them before the closing edge reaches them. Fast reversals continue from the current outline. - Use the Canopy thread list's status colors, icons and working indicator. Animate changed count digits, row movement and the overlay's appearance and disappearance. - Keep the native window alive until the fade finishes. Ignore a fade completion from older activity after new rows arrive, and cover that case in the Electron integration fixture. ## Verification - Chromium exercised the real renderer with a fixture bridge. Sampled opening and closing every 2 ms with all seven rows visible. Checked rapid reversal, keyboard and focus behavior, row and status updates, a 335 px viewport, and reduced motion. - Desktop typecheck, lint and formatting on edited files, and four Activity notch geometry tests passed locally. - The native Electron fixture requires macOS or Windows and is left to CI. Physical camera cutout and native pointer checks need a desktop session. UI copy is unchanged. Fixes: #1302
nixuuu
added a commit
that referenced
this pull request
Nov 27, 2026
## Summary - After the collapse animation, the native Activity notch window narrowed and moved right with `setBounds`, while the renderer still placed the outline from the old left edge until the new layout arrived over IPC. For a frame the notch showed off center. - The native window now keeps the open panel's left edge and width (centered on the camera) and changes only its height, so nothing moves sideways. - The transparent sides of the wider window pass the pointer through (`setIgnoreMouseEvents` with forwarding). The renderer makes the window interactive only while the pointer is over the outline, through a new `canopy:activity-notch-interactive` channel that the main process checks like the other notch channels. - The Electron fixture now asserts the same left edge and width in the compact and expanded states. `docs/desktop.md` describes the behaviour. Fixes: #1302 ## Verification - A screen recording of the bug, sampled at 60 fps, showed the off-center frame right as the window narrowed after the animation. - Chromium rendered the real notch page in a window of the new fixed width with a stub bridge. Through compact, opening, closing and compact again, the outline's center stayed at the window's center in every sampled frame. - Local: desktop typecheck, lint and formatting on the edited files, plus the Activity notch geometry tests. - Left to CI: the native Electron fixture, which needs macOS or Windows. - Still needs a desktop session on macOS: menu items next to the notch stay clickable, and hovering still expands the list. - Known trade-off on Windows touch screens: tapping the notch without hovering first now reaches the window underneath. UI copy is unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
This was referenced Nov 28, 2026
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.
Desktop behavior
Verification
Fixes: #1281