Repository navigation
feat: polish the side panel and options UI - #12
Merged
Merged
Conversation
Give the transcript the full height of the panel and keep the composer compact and auto-growing. Replace text glyphs with a small inline SVG icon set, fold the conversation controls into the header, and refresh the theme tokens, cards, markdown, picker and options page for both light and dark themes. Closes #8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Darken the light-theme secondary text and success colour and put dark text on dark-theme primary buttons so both meet WCAG AA. Announce online/offline through visible-to-screen-reader text, return focus to the composer when Send and Stop swap, drop smooth scrolling that lagged behind streamed text, and complete the visually hidden utility. Refs #8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adopt the website palette, radii, shadows, motion and spacing tokens by name, and bundle Be Vietnam Pro, Newsreader and JetBrains Mono locally with their OFL notice. Conversations now open in a modal drawer from the left edge: the rest of the panel is inert while it is open, Esc or the scrim closes it, and focus returns to the toggle. The chat follows the Dewee web chat widget: an accent user bubble, dark code blocks and a boxed composer with an accent send button. Refs #8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Focus returns to the toggle or the composer only after the panel has rendered without inert, so it no longer drops to the page body. Escape closes the drawer from anywhere in the panel. Switching or starting a conversation from the drawer waits while a reply streams, matching the header button, and the composer takes focus back when a loading conversation re-enables it. Also lifts two light-theme contrast pairs and drops a synthetic mono weight. Closes #11 Refs #8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The toolbar icons and the in-panel brand mark now come from the dewee.sh brand assets: the dew drop mascot on a transparent background, kept at its own proportions instead of a square tile. Refs #8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bundle the website's drum face and band patterns for both themes and use them the way the site does: a drum relief rising behind the header, the welcome screen and the settings page, and the drum face turning slowly behind the mascot on an empty chat (still under reduced motion). Refs #8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 tasks done
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.
Summary
src/shared/icons.tsx) replaces the ⚙ ☰ ▾ ★ glyphs and emoji. The conversation history and new-chat controls moved into the header.src/shared/theme.css): the panel and options page now use the website's token names and OKLCH values for colour, radius, shadow, motion and spacing, in both light and dark. Section labels follow the site's eyebrow style.public/fonts/(woff2, about 214 KB, with Vietnamese subsets). They are loaded from the extension origin, never from a CDN.public/fonts/NOTICE.txtcarries the OFL 1.1 attribution.inert. Esc, the close button or the scrim close it, focus goes to the open conversation and returns to the toggle on close.public/brand/dewee-mascot.png), on a transparent background and at its own proportions.public/patterns, light and dark): a relief behind the header, the welcome screen and the settings page, and the drum face turning slowly behind the mascot on an empty chat (still under reduced motion).inert;Closes #8
Closes #11
Test plan
pnpm lint,pnpm typecheckpnpm test: 414/414 (new drawer, session list and composer focus tests) with test: keep the command preview card open regardless of the date #10 applied. Onmain, one ActionCard test fails until test: keep the command preview card open regardless of the date #10 merges, because the fixtureexpires_atdate has passed.pnpm test:e2esmoke: 5/5live-cloudcould not run because the local Dewee app was not available; it stopped at opening the sign-in window, which is environmental.🤖 Generated with Claude Code