Skip to content

desktop: Soft Tactile overlays — palette, sheets, alert, toasts, persisted theme - #445

Open
plombeer31 wants to merge 1 commit into
facelift/1-foundationfrom
facelift/5-overlays
Open

plombeer31 wants to merge 1 commit into
facelift/1-foundationfrom
facelift/5-overlays

Conversation

@plombeer31

Copy link
Copy Markdown
Collaborator

Part of the Soft Tactile desktop redesign. Depends on #440 (base branch facelift/1-foundation); every region PR can merge in any order after it. The integrated build is facelift/integration.

Soft Tactile, overlays (SH-03, SH-10…16). Builds on the foundation PR.

What changes

  • Command palette: 620px, radius 24, blurred scrim; 56px input row with the esc keycap; sentence-case groups; 36px rows (icon · bold title · context · keycaps or mono slash alias); brand-tint selection; footer ↩ Go · ↑↓ Move · N commands.
  • Query and no match: typed part bold; matching chats, tasks and skills under their own headers with state dots; "No results for “q”" with the "Ask the agent" row.
  • Theme scope: "Theme ×" chip, laptop / sun / moon rows, a check on the current theme, ⌫ Back.
  • Theme persists across launches: the choice is stored in the renderer's localStorage and re-applied before the first paint. System removes the override.
  • Switch session and shortcuts sheets: radius 24, header, body, footer; 46px session rows with the sidebar's dot grammar. The shortcuts sheet no longer lists session-wide approval grants (the HTTP API only allows once or denies).
  • Delete alert: centred card with the app mark; Cancel really has focus on arrival; Delete is the destructive fill.
  • Toasts: lifted cards with a round green check or red alert, bold title and caption.

Verified

  • Trusted-input driver, 40/40: palette from the Search pill and ⌘K, query, Enter into the Theme scope, both ways out of it, Dark applied; ⌘O and ⌘/ sheets and their close paths; alert focus, Enter / Esc / backdrop / Cancel; real toasts from Copy and from ⌘0 on a narrow window; relaunch opens in the stored theme.
  • Smoke on the merged build: same 4 known failures as a0811bc3.

…heme persistence

Command palette (SH-10…13): 620px lifted panel, radius 24, blurred scrim,
56px input row with the Theme scope as a blue chip, sentence-case groups,
rows of icon · bold title · context · keycaps or mono slash alias, brand-tint
selection, Chats/Tasks/Skills headers and status dots under a query, the
Ask-the-agent row when nothing matches, sun/moon/laptop rows with a check on
the current theme.

Sheets (SH-14/15): centred cards with a title, close button and footer.
Switch session uses 46px list rows with the Tactile dot grammar and the
state word; keyboard shortcuts is a two-column keycap grid without the
prototype's Ctrl captions, and the approval row no longer advertises a
grant key that does nothing.

Delete alert (SH-03): 44px app mark, Cancel focused on arrival, Delete as
the destructive fill. Toasts (SH-16): lifted cards with a round green check
or red alert.

The theme chosen in the palette or View > Appearance is saved to
localStorage and re-applied before the first render. The palette field no
longer gets its old text copied back after entering a scope.
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