Skip to content

fix: system theme follows OS + window chrome, invite snapshot checkbox, room copy - #49

Merged
udaychandra merged 3 commits into
mainfrom
fix/mast-ux-round3
Aug 19, 2026
Merged

fix: system theme follows OS + window chrome, invite snapshot checkbox, room copy#49
udaychandra merged 3 commits into
mainfrom
fix/mast-ux-round3

Conversation

@udaychandra

Copy link
Copy Markdown
Contributor

A small round of UX fixes.

System theme + window chrome (app only)

The window was pinned theme: "Dark", forcing the webview's prefers-color-scheme to dark, so the theme selector's System mode could never resolve to light in the packaged app (the browser demo always worked). Drop the pin. Then drive the native window chrome from the selector: an explicit Light/Dark forces the window to match; System resets it to null so the title bar + traffic lights track the OS in step with the in-app theme. Adds core:window:allow-set-theme.

Invite modal snapshot control

The Snapshot-first/Skip ToggleButton becomes the house Checkbox — "Snapshot the container first", on by default. Unchecking sends snapshot: false, exactly as before.

Create-room copy

Simpler, and no em-dash: "Give the room a title to start. You can add the details later." (both the create form and the empty state).

Verification

bun run typecheck clean; 517 tests green (invite skip-snapshot test drives the checkbox now).

The window was pinned `theme: "Dark"`, which forces the webview's
prefers-color-scheme to dark — so the theme selector's "system" mode
could never resolve to light in the packaged app (the browser demo,
with no such pin, always worked). Drop the pin so the webview tracks
the OS.

Then drive the native window chrome from the selector: an explicit
Light/Dark forces the window to match; "system" resets it to null so
the title bar and traffic lights track the OS in lockstep with the
in-app theme. Needs core:window:allow-set-theme.
Replace the Snapshot-first/Skip ToggleButton with the house Checkbox
component — 'Snapshot the container first', on by default. Unchecking
sends snapshot:false, exactly as before.
@udaychandra
udaychandra merged commit 649c00c into main Aug 19, 2026
2 checks passed
@udaychandra
udaychandra deleted the fix/mast-ux-round3 branch August 19, 2026 19:30
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