This repository was archived by the owner on Oct 21, 2026. It is now read-only.
Repository navigation
feat(web): collapse the sidebar to an icon rail - #33
Merged
Merged
Conversation
donnes
force-pushed
the
t3code/icon-sidebar
branch
2 times, most recently
from
September 28, 2026 19:52
c252cf8 to
7b3636d
Compare
donnes
force-pushed
the
t3code/profile-switcher
branch
from
September 28, 2026 20:33
1f5665c to
027b05a
Compare
Collapsing the sidebar hid it completely, losing sight of which company you were in and which threads needed you. - Collapsed on desktop and web, the sidebar is a rail: the profile avatar (with its menu and the "waiting elsewhere" dot), new thread, search, notes, automations, one icon per pinned or active thread in the current profile with a static status dot and a title tooltip, then usage and settings. With all profiles shown, each thread carries its profile's color on its edge. Mobile keeps its sheet. - The rail starts below the titlebar row, so macOS traffic lights and the sidebar toggle sit on one continuous bar; page headers inset only past what extends beyond the rail. - The expanded header is symmetric: traffic lights, the lights' own left padding, the T3 Code mark, and the toggle at the far right with the same padding. Without traffic lights both insets fall back to the usual controls inset. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Review fixes for the collapsed sidebar: - Collapsing unmounted the expanded sidebar, and with it the thread jump and previous/next shortcuts that `Sidebar` and `LegacySidebar` register. It now stays mounted but hidden while the rail shows, as it stayed mounted off-canvas before; hidden rows also drop their live subscriptions. A regression test covers collapse and expand. - The rail compared snooze times against the zone-less minute string, which `Date.parse` reads as local time, so snoozed threads woke early or late outside UTC. It now compares full UTC timestamps and, like the expanded sidebar, re-reads the clock exactly when the earliest snooze ends. Tests run in America/Sao_Paulo. - The menu button truncates its last span, which clipped the icon wrapper and its status dot. A screen-reader title now comes last instead. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
donnes
force-pushed
the
t3code/icon-sidebar
branch
from
September 28, 2026 20:40
7b3636d to
5245f93
Compare
donnes
enabled auto-merge (squash)
September 28, 2026 20:40
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Collapsing the sidebar hid it completely, losing sight of which company you were in and which threads needed you.
Layout lives in
profileScope/profileSidebar.css; upstream header/toggle components are unchanged.Verification: web typecheck and lint; checked in a dev build with simulated macOS traffic lights (desktop app not run; please check zoom).
Screenshots (demo data; macOS traffic lights simulated at the desktop app's inset)
Stack (review bottom-up):
Done by Claude Opus 5.5 (1M context) in Claude Code, running in T3 Code.
🤖 Generated with Claude Code