Skip to content

feat: frosted glass panel, with redesigned Settings and Scheduled - #30

Merged
YishenTu merged 1 commit into
mainfrom
feat/frosted-glass-panel
Nov 26, 2026
Merged

YishenTu merged 1 commit into
mainfrom
feat/frosted-glass-panel

Conversation

@YishenTu

Copy link
Copy Markdown
Owner

The side panel's floating surfaces get a frosted glass look, and the Settings and Scheduled screens are redesigned to match. A side panel is its own opaque document, so the glass can only blur the panel's own content (the conversation), not the page behind it.

Glass and layout:

  • The composer field, the chat list, the / and @ menus and the model picker are frosted glass (.glass: a see-through tint, a bright edge, and backdrop-filter: blur() saturate()). Hovers over glass use a see-through wash, since an opaque fill would hide it.
  • The composer floats over the conversation, which scrolls under it. main.ts keeps --composer-h up to date with a ResizeObserver, so the end of the conversation clears the composer as it grows.
  • The chat list is full width and opens 4px under the chat title.
  • The header stays solid. Its chevron is gone, the gear is sized to match the clock and +, and its buttons and the composer's model switcher darken on hover without a highlight box.
  • The field's focus cue is kept as a border.

Settings and Scheduled:

  • Both are sheets over the blurred conversation, with glass back and action buttons, a large title and rounded cards.
  • Settings: a Pi card (status dot, version, status, Restart) with CLI path as its own folding row, then Make it yours and About.
  • Scheduled: each job is a card with its title, an on/off switch, when it runs, the start of its prompt, and its model and effort as chips. The switch replaces the row's pause button. Delete now lives only in the job's form (one click; the row's two-click confirm is gone).
  • The job form: a large title field, the prompt in a card, pill-shaped controls for how often and effort, round day buttons, and a full-width Save.

The Scheduled tests changed first and failed before the change: a job shows as a card with its when, prompt and chips; its switch pauses and resumes it without opening it; delete happens from the form. Lint, tests (321, also randomized) and build pass. Checked by eye in light and dark with the real markup and views against a fake background, including a 320px panel, a long title, a short window, weekly and one-time jobs, and Settings when Pi isn't found. Not yet tried in the loaded extension.

@YishenTu
YishenTu merged commit bdedcf0 into main Nov 26, 2026
2 checks passed
@YishenTu
YishenTu deleted the feat/frosted-glass-panel branch November 26, 2026 04:18
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