Repository navigation
fix(desktop): correct macos title bars and drag regions - #18
Merged
Merged
Conversation
nixuuu
force-pushed
the
fix/macos-title-bar
branch
from
November 3, 2026 16:12
03ccfda to
6203790
Compare
nixuuu
added a commit
that referenced
this pull request
Nov 3, 2026
Lay out overlay panels inside a shared macOS window safe area (`--window-safe-top` = title strip / zoom on windowed macOS, 0 in full screen, in the browser and on mobile) so Settings, nested dialogs, narrow-window sheets, drawers, the command palette and the lightbox start below the traffic lights at every window zoom. The same boundary applies to floating collision positioning (popovers, menus, hover cards, tooltips), toasts, the update banner and the quit-guard layer. Backdrops still cover the whole window. Removes the Settings internal spacer from #18 while preserving topmost-modal dragging. Only the sidebar may sit under the traffic lights. Checked in Chromium with the darwin platform at zoom 1/0.8, full screen on/off, light/dark, wide/narrow: no overlay intersects the traffic-light rectangle; non-macOS rendering unchanged. check:tmp 696 pass / 0 fail. Needs a real Mac check (native zoom, full-screen transitions, dragging).
nixuuu
added a commit
that referenced
this pull request
Nov 4, 2026
Releases no longer need a human: a scheduled workflow promotes soaked changes. **Schedule:** every 3 h (`0 */3 * * *`), first next → main, then dev → next, inside the `release-branch-mutations` concurrency group. Promotion stays fast-forward only: a continuous prefix of the source branch up to a cutoff commit C, never backwards, never forced; Release is dispatched on the target with `expected_sha`. **Cutoff** 1. Soak: dev → next takes the newest commit on dev for ≥ 24 h; next → main takes the newest published beta that has been complete for ≥ 72 h (an older beta stays a candidate while a newer one soaks). 2. Follow-up fixes: a `fix`/`perf`/revert that landed after C and corrects something in (target, C] holds that change and everything after it, iterating to a fixpoint. Fixes already soaked are inside the prefix and ship with their feature. - Explicit links win: `Fixes: #68`, `Refs: #68` / `Refs: <sha>`, `follow-up to #68`, the PR template line, standard reverts, GitHub closing keywords. - Otherwise line-level attribution (SZZ): `git diff -w -U0 F^ F` gives the pre-image lines the fix changes, `git blame -w -M -C` (honouring `.git-blame-ignore-revs`) gives the commits that introduced them; pure additions use unambiguous adjacent lines. Shared/generated paths are excluded; 7-day upper bound. Owners already released don't hold anything. 3. Readiness: a successful Release run for exactly C (prefer a published nightly), no open `release-blocker`, docs-only / no-version ranges are a no-op. **Controls:** repo variable `AUTO_PROMOTION=off` pauses it; label `promotion-hold` on a merged PR holds it and everything after; `release-blocker` blocks both paths; manual **Promote** uses the same selector with a default dry-run and explicit overrides (never skipping CI, beta, blockers, linked fixes or fast-forward). Job summaries show C0, C, version, included and held commits with reasons; a history issue records each promotion; a starvation issue opens when a change has been held for more than 7 days. **Manual smoke gates:** `live_smoke`/`update_smoke` stay as dispatch inputs but no longer gate promotion. They are replaced by green Release CI (incl. updater tests and the 4-platform binary smoke) plus soak; stable also requires that verification on the beta. Not covered anymore by a human: live provider smoke and a full self-update/rollback on a real installation. **Convention:** AGENTS.md, docs/contributing.md, docs/release.md and a new PR template ask for an explicit link in follow-up fixes; commitlint accepts the footers. Dry-run on the real history (read-only): nothing to promote yet. #57 is attributed to #18 by changed lines; with today's state the first beta would be `0.2.0-beta.1` at #76 in the 2026-11-05 18:00 UTC cycle. Checks: install, typecheck, lint, format:check, actionlint/shellcheck, check:tmp (973 pass, 153 skip, 0 fail); promotion tests run against local git fixtures and a mocked GitHub API.
This was referenced Nov 13, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 17, 2026
## Change Showing an in-app toast disables every desktop title-bar drag region because the toast has `data-window-no-drag`. Move notifications from the top centre to the bottom-right and remove that marker, so title bars stay draggable while a notification is visible. Use compact cards with theme-aware surfaces, 6 px padding in both axes, and a dismiss button. Keep existing actions such as `Undo`, notification lifetimes, and reduced-motion behavior. Long messages wrap, and narrow screens retain safe-area margins. Update desktop and notification documentation. Fixes: #18 ## Verification - Web package typecheck passed (0 errors, 0 warnings). - Lint and formatting check passed for `Toaster.svelte`; `git diff --check` passed. - Checked the final UI in Chromium with sample data: light/dark, desktop and narrow/phone widths, short and long messages, `Undo`, dismiss, and reduced motion. Screenshots were reviewed and accepted in the thread. - Confirmed computed title-bar `app-region: drag` while the toast is visible. Physically dragging a native macOS window still needs a hardware check. - Full repository verification and builds are left to CI. Copy audit (§8): passed for the new `Dismiss notification` accessible label and matching tooltip: concise imperative, sentence case, and explicit meaning without relying on the icon. Existing notification and action text stays unchanged. No new errors, empty states, jargon, or humor. Checked short and long text at desktop and phone widths.
nixuuu
added a commit
that referenced
this pull request
Nov 18, 2026
Selecting agent text opens the floating **Cite** button. The desktop title bar treated it as a blocking popover and disabled native window dragging until it closed. The button stays within the content area, and its tooltip lets pointer events pass through, so both now preserve the title bar's drag regions. Menus and dialogs keep their existing drag handling. ### Verification - In an isolated Electron 45.2.1 window on Linux, reproduced the blocked drag with the exception removed. With the fix, dragging moved the window and preserved the selection. Hovering over **Cite** preserved the drag region, and clicking it inserted the selected text. The selection context menu still suspended the drag region. - Checked the component in Chromium at desktop and phone widths in light and dark mode. - Passed the web package typecheck, lint on the edited TypeScript file, and `git diff --check`. Formatted the edited source files. - Native macOS behavior remains unverified locally. The full verification gate runs in GitHub CI. Fixes: #18
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.
Fixes the macOS window chrome (hiddenInset title bar) found by the Mac Studio diagnoses.
app-region(Settings body regions 148 → 0), so layout animations stop sending a draggable-regions IPC every frame (the measured cause of extra main/renderer/GPU work in Electron vs Brave).data-window-modal-topfromshowModalorder); popovers/toasts suspend strips; drawer regions no longer cancel each other.80px / zoomfrom main via a validated preload bridge) and removed in full screen; the gateway banner and toasts sit below the native controls.Verified on Linux Chromium 156 with
data-canopy-platform=darwin(computed region maps before/after, light/dark, desktop/phone); check:tmp 668 pass / 0 fail, typecheck, gen:check, web build.Needs confirmation on macOS hardware: native drag/hitboxes, zoom gestures, full screen, and the draggable-regions IPC rate.