Skip to content

fix(desktop): attach the activity notch to the screen edge - #1285

Merged
nixuuu merged 4 commits into
devfrom
fix/desktop-notch-shape
Nov 25, 2026
Merged

nixuuu merged 4 commits into
devfrom
fix/desktop-notch-shape

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Desktop behavior

The optional Activity notch now meets the top edge of the primary display. Its black silhouette has concave upper corners, with a status glyph and total count on either side of an empty center. A hover or click expands the same surface into a list of numbered threads and bots. Moving the pointer away collapses it. Selecting a row opens the corresponding conversation in Canopy.

On macOS the panel uses AppKit’s camera bounds and the menu bar height. Screens without a camera cutout use a simulated notch. On Windows it aligns with the top of the work area, including displays with a top taskbar. The setting and activity updates are exclusive to the macOS and Windows desktop app and remain opt-in.

Verification

  • Linux, 3eac1e233. Desktop typecheck and shell build, focused lint and formatting, and 21 targeted geometry, packaging, routing and window-message tests passed. The Electron renderer exercised 24, 38 and 39 DIP header heights, redacted rows and row selection.
  • Chromium, unchanged web renderer. Plain web, web connected to a desktop gateway, and an older bridge all hid the setting and never published a snapshot, even with an enabled preference and an active synthetic thread. Both current desktop bridge fixtures showed the setting and published or cleared activity when toggled.
  • Copy audit passed. The collapsed “Activity” label and chevron became an accessible Show/Hide action, a status glyph and a total count. The expanded list retains text for every status. Checked compact heights, scrolling and reduced motion with synthetic rows.
  • Windows initially returned 39 DIP for a 32 DIP compact window. The header now adopts the measured height and keeps it when expanded. The native Electron test passed on macOS 26 arm64, macOS 26 Intel and Windows x64 for 3eac1e233. It checked the real window’s top edge, inactive presentation, visible header height, live resizing, route dispatch and cleanup. Both macOS runs loaded the compiled AppKit addon. Native checks
  • Manual hardware follow-up covers a MacBook camera cutout, menu bar and Spaces, native pointer delivery while another app has focus, and Windows mixed-DPI monitors and top taskbars.

Thanks @sstrzeminski for the desktop notch suggestion.

Fixes: #1281

@nixuuu
nixuuu enabled auto-merge (squash) November 25, 2026 21:15
@nixuuu
nixuuu disabled auto-merge November 25, 2026 21:23
@nixuuu
nixuuu enabled auto-merge (squash) November 25, 2026 21:39
@nixuuu
nixuuu merged commit dea0369 into dev Nov 25, 2026
22 checks passed
@nixuuu
nixuuu deleted the fix/desktop-notch-shape branch November 25, 2026 21:49
nixuuu added a commit that referenced this pull request Nov 27, 2026
## Change

- Pause the working ring in the collapsed Activity notch and run the
label shimmer only while the panel is visible. Opening the panel
restores both animations when motion is enabled.
- Extend the native Electron fixture to cover the running animations
before and after expansion. Fix a deadlock in the fixture by installing
its fade observer before waiting for the probe result.
- Update the Desktop documentation.

Refs: #1285
Refs: #1329

## Verification

- In an isolated Electron 45.4.1 overlay on macOS with four working
rows, the median combined renderer and GPU process CPU usage dropped
from about 24% of one core to below 0.5%. Measured both revisions twice
with macOS `top`. The measurement covers the overlay.
- The focused Electron integration test passed on macOS with normal
motion and in a separate run with reduced motion emulated. The new
assertion failed against the previous styles because both animations ran
in the collapsed overlay.
- Desktop typecheck, lint on the edited TypeScript files and `git diff
--check` passed locally. Windows and repository-wide checks run in CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant