feat(email): restyle inbox/composer to design system + load speedup, shortcuts#645
Merged
Merged
Conversation
…stem - Inbox (gmail-shell): map the bespoke --gm-* palette onto the app design tokens (background/foreground/border/accent/primary), drop the unloaded "Inter" font override so it inherits the app font, and remove the redundant ".light .gmail-shell" block so theming follows :root/.dark. - Composer: rebuilt on the shadcn Button/Input/Dialog primitives with app tokens; bring the AI describe-and-write bar and tone presets into reply mode. - Auto-generated reply block (editor.css): retokenize the Gmail-blue pill buttons and compose surface onto app tokens; inherit the editor font. - Add a Gmail-style "n" shortcut to open the composer from the inbox.
…uttons - Inbox load: add an mtime-keyed in-memory cache to listInboxPage so it no longer re-reads and JSON.parses every cached thread (bodies included) on every call — only files whose mtime changed are re-parsed. Speeds up the Important→Everything-else handoff, live reloads during sync, and re-opening the inbox tab. - Add Ctrl+Tab / Ctrl+Shift+Tab to cycle to the next/previous tab (wraps around), alongside the existing Cmd+Shift+] / [ shortcuts. - Improve bar: make the tone preset buttons square (rounded-md), left-aligned, with a bit of vertical gap so wrapped rows aren't cramped.
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.
Brings the email UI in line with the rest of Rowboat and adds a few quality-of-life bits.
UI restyle
Button/Input/Dialog+ app design tokens (replaces the bespoke.gmail-compose-*/.gmail-recipient-*CSS). The AI "describe & write" bar + tone presets now work inreply mode too.
App.css): mapped the bespoke--gm-*palette onto app tokens, dropped the never-loaded "Inter" font so it inherits the app font, and removed the redundant.light .gmail-shellblock (themingnow follows
:root/.dark).editor.css): retokenized the Gmail-blue pill buttons/compose surface; inherits the editor font.rounded-md) with vertical gap when wrapped.Performance
listInboxPagenow uses an mtime-keyed in-memory cache instead of re-reading +JSON.parse-ing every cached thread on every call. Speeds up the Important→Everything-else handoff, live reloads during sync,and re-opening the inbox tab.
Shortcuts
nopens the composer from the inbox (ignored while typing / when a dialog is open).Ctrl+Tab/Ctrl+Shift+Tabcycle to next/previous tab.Note: the
sync_gmail.tschange is in the main process — needsnpm run deps+ app restart to take effect.