Repository navigation
style(ui): slim ActivityBar rail to 200px/184px and Threads sidebar default to 244px - #1863
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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
Reclaims 84px of horizontal space in the 3-column layout now that long thread titles live in the secondary
Threadssidebar:ui/src/components/ActivityBar.tsx: tightens desktop primary rail width from260px→200px(232px→184pxon narrow desktop960–1279px; compact icon rail stays50px).ui/src/components/ActivityBarUtilityMenu.tsx: matches footer label (Alice’s Settings) totext-[13px]withgap-2andsize-6avatar so it renders completely without truncation inside the slimmer rail.ui/src/pages/ChatPageShell.tsx: trims the defaultThreadssecondary sidebar width from268px→244px(still user-resizable).Verification
npx vitest run ui/src/components/ActivityBar.spec.ts ui/src/components/ActivityBar.current-state.spec.tsx ui/src/components/ActivityBar.drawer-state.spec.tsx ui/src/pages/ChatPageShell.spec.tsx— 4/4 files, 32/32 tests passedcd ui && npx tsc -b— 0 errors1280×800onhttp://127.0.0.1:5173/threads: verified200pxprimary rail +244pxThreads sidebar with zero label truncation (Alice’s Settings,Inbox 99+, etc.) and 0 console/network errors