feat(web): compact sidebar footer actions - #6210
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Approved 84454d7 This PR refactors sidebar footer buttons to use compact icon-only buttons with tooltips and adds a minor feature to manually check for updates. The changes are self-contained UI modifications with no security or backend implications. You can customize Macroscope's approvability policy. Learn more. |
## What's Changed * fix(web): clean up composer resize animation by @extoci in pingdotgg/t3code#6209 * feat(web): compact sidebar footer actions by @maria-rcks in pingdotgg/t3code#6210 * fix(web): keep sidebar wordmark visible at minimum width by @extoci in pingdotgg/t3code#6246 **Full Changelog**: pingdotgg/t3code@v0.0.34-nightly.20260811.1071...v0.0.34-nightly.20260812.1072 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.34-nightly.20260812.1072
Problem
The sidebar footer gave three secondary destinations full-width rows, consuming space that is more useful for threads. Its history-based back action could also bounce between Usage and Pull Requests instead of returning to the normal sidebar.
What changed
Root cause
The footer treated utility destinations as primary navigation rows, and special-page navigation relied on browser history rather than an explicit destination.
Before / After
Before
After
Impact
The shared web/desktop sidebar preserves more vertical space and has predictable navigation. Update controls remain desktop-only; mobile is unaffected.
Validation
vp lint apps/web/src/components/sidebar/SidebarChrome.tsx apps/web/src/components/sidebar/SidebarUpdatePill.tsxvp test run apps/web/src/components/desktopUpdate.logic.test.ts apps/web/src/state/desktopUpdate.test.ts apps/web/src/components/ui/sidebar.test.tsx(40 tests passed)git diff --checkBuilt with GPT-5.6 Sol in T3 Code via the Codex harness.
Note
Compact sidebar footer into icon buttons with tooltips and add update check action
SidebarMenuButtoncomponents (Settings, Pull Requests, Usage), each wrapped in a tooltip, laid out in a singleflex-rowmenu.SidebarUpdateControlwhen no update is in progress; removes the manual dismiss button.SidebarUpdateArchitectureWarningto display an alert when Electron is running an Intel build on Apple Silicon./instead of attemptingwindow.history.back().Macroscope summarized 84454d7.
Note
Low Risk
UI-only sidebar footer layout and navigation tweaks. Update check/download/install still use the existing desktop bridge; no auth or data-path changes.
Overview
Compacts the sidebar footer into a single icon row and makes Back navigation always return to the thread list.
Settings, Pull Requests, and Usage become icon-only buttons with tooltips instead of full-width labeled rows. On Usage/PR pages, a single full-width Back button always navigates to
/(no morehistory.back()bouncing between those pages).The Electron update control sits on the right of the same row: idle state is a Check for updates refresh button, then it switches to download/restart when an update is available. The dismissible full-width update pill is removed, and the Intel-on-Apple-Silicon warning is split into its own
SidebarUpdateArchitectureWarningabove the row.Reviewed by Cursor Bugbot for commit 84454d7. Bugbot is set up for automated code reviews on this repo. Configure here.