ui: foundation + shell + command palette for new UI#8
Open
Moriz82 wants to merge 1 commit into
Open
Conversation
Port Gossamer's new rail-based UI shell, command palette, and tweaks panel into the TypeScript codebase while keeping all backend wiring (health probe, projects, settings, graph stats) intact. - Add styles/tokens.css (OKLCH palette + IBM Plex fonts), base.css, shell.css, tweaks.css. - Add Icon, Primitives (Spark/Severity/Status/Method/Toast), CommandPalette, Shell, and TweaksPanel components with typed props. - Rewrite App.tsx with rail + header layout, localStorage tab persistence, cmd-k / "/" palette, g/s/i/o/n/f/, quick-nav keys, and tweaks postMessage protocol. - Fold existing project selector dropdown logic into the Shell project pill. - main.tsx imports the new CSS tokens/base/shell/tweaks modules before legacy styles.css. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
/palette, and g/s/i/o/n/f/, single-letter navigation.Files added
frontend/src/styles/{tokens,base,shell,tweaks}.cssfrontend/src/components/{Icon,Primitives,CommandPalette,Shell,TweaksPanel}.tsxFiles changed
frontend/src/App.tsx— rewritten to mount<Shell>+ palette + tweaks while keeping every existing panel (GraphPanel, OperationsPanel, SettingsPanel, QueriesPanel, DataPanel, RegistryPanel, IngestorsPanel, FindingsPanel, ScannersPanel, SitemapPanel, IntelPanel).frontend/src/main.tsx— imports tokens/base/shell/tweaks before legacy styles.css.Verification
npm run buildsucceeds.Test plan
/— command palette opensg,s,i,o,n,f,,outside of inputs — tab changes__activate_edit_mode) opens TweaksPanel; accent-hue slider and density toggles update:rootvars live🤖 Generated with Claude Code