Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat: sidebar v2 is now the default sidebar #5672

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/5672/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

The v2 sidebar has been living behind a beta toggle (plus stage-based defaults: on for nightly/dev, off for stable) long enough. It is now the sidebar, everywhere, following the same pattern as #5664.

  • Web: SidebarV2 is now Sidebar; the old sidebar lives on as LegacySidebar behind a new "Sidebar (legacy)" toggle in Settings → General → Legacy features.
  • Config: sidebarV2Enabled + sidebarV2ConfiguredByUser are gone, replaced by a fresh legacySidebarEnabled key (default off). Like the token-streaming change, decoding drops the old keys, so prior beta opt-outs reset to the new default.
  • No more stage-based resolution: the nightly/dev-vs-stable default logic in branding.logic.ts is deleted along with the configured-by-user companion bit.
  • Settings page hack removed: the layout used to keep the v1 sidebar mounted on /settings because the settings nav lived inside it. AppSidebarLayout now renders SettingsSidebarNav directly on settings routes, so neither sidebar component knows about settings.
  • Settings → Beta is gone: it only held the sidebar toggle and auto-settle. Auto-settle now lives in General (it applies to the default sidebar); the route, nav entry, and search entries are removed.
  • Mobile: the flat thread list was already the default; the per-device threadListV2Enabled opt-out is replaced by a fresh legacyThreadListEnabled opt-in, surfaced as a "Legacy Thread List" toggle in a Legacy settings section.

Verified with typecheck + full unit suites across web (1977), mobile (617), desktop (447), and contracts (225), plus repo lint. Mobile is verified via typecheck/tests only (no local native build on this machine).


🤖 Change authored by Claude Code (Fable 5)

🤖 Generated with Claude Code


Note

Medium Risk Primary navigation and settings persistence change for all clients; migration intentionally drops old sidebar flags, so users who had opted out of v2 must re-enable legacy manually.

Overview The flat thread sidebar is now the default on web/desktop and mobile. Users who want the original project-grouped sidebar enable Sidebar (legacy) under Settings → General → Legacy features (legacySidebarEnabled replaces sidebarV2Enabled / sidebarV2ConfiguredByUser; old keys are dropped on decode so everyone lands on the new default).

Layout and settings cleanup: AppSidebarLayout picks ThreadSidebar vs LegacySidebar from that flag and renders SettingsSidebarNav directly on /settings instead of keeping the legacy sidebar mounted for nav. Stage-based defaults and resolveSidebarV2* in branding.logic.ts are removed. Mobile mirrors this with legacyThreadListEnabled (replacing threadListV2Enabled) and a Legacy settings section instead of Beta.

Naming: Shared sidebar sort/status helpers drop the V2 suffix (e.g. resolveSidebarThreadStatus, sortThreadsForSidebar). The former v1 implementation lives in LegacySidebar.tsx.

Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit e586a77fec39fdc30f92bb992d844b56c06f8e7e. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).

Note

Make sidebar v2 the default and relegate the original sidebar to a legacy opt-in

  • The new sidebar (Sidebar.tsx) is now the default; users can opt back into the old sidebar via a new 'Sidebar (legacy)' toggle in Settings → General, stored as legacySidebarEnabled.
  • Removes the /settings/beta route and migrates sidebarV2Enabled/sidebarV2ConfiguredByUser settings keys to legacySidebarEnabled (existing users without the new key default to the new sidebar).
  • The new sidebar adds pinned/active/snoozed/settled thread grouping, drag-and-drop pin reordering, snooze presets, inline rename, thread search with keyboard navigation, detailed hover tooltips, auto-settle, and project-level actions.
  • Mobile mirrors the same inversion: threadListV2Enabled is replaced by legacyThreadListEnabled, and the 'Beta' settings section is renamed to 'Legacy'.
  • Behavioral Change: stored preferences under the old sidebarV2Enabled and threadListV2Enabled keys are silently dropped on decode, defaulting all existing users to the new sidebar.
Macroscope summarized e586a77.
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository UI

      Review profile: CHILL

      Plan: Pro Plus

      Run ID: fd8c5451-121b-486d-9a1f-d605394f5d93

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review

      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.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    3. Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

      Fix All in Cursor ❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the [Cursor dashboard](https://www.cursor.com/dashboard/bugbot). Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit e586a77fec39fdc30f92bb992d844b56c06f8e7e. Configure [here](https://www.cursor.com/dashboard/bugbot).
    4. Approvability

      Verdict: Needs human review

      Diff is too large for automated approval analysis. A human reviewer should evaluate this PR.

      You can customize Macroscope's approvability policy. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    5. Thread transfer impact

      ✅ Thread transfer remains within every enforced ceiling.

      ProviderMetricMain baselineThis PRImpactPR ceiling
      CodexTotal thread wire11.3 KiB11.3 KiB+18 B (+0.2%)15.1 KiB✅
      CodexThread snapshot wire5.5 KiB5.5 KiB0 B (0.0%)7.3 KiB✅
      CodexLive turn WebSocket wire5.9 KiB5.9 KiB+18 B (+0.3%)7.8 KiB✅
      CodexLive turn WebSocket decoded49.7 KiB49.7 KiB0 B (0.0%)66.4 KiB✅
      CodexLive turn messages16160 (0.0%)21✅
      ClaudeTotal thread wire11.3 KiB11.3 KiB−11 B (−0.1%)15.1 KiB✅
      ClaudeThread snapshot wire5.5 KiB5.5 KiB−8 B (−0.1%)7.3 KiB✅
      ClaudeLive turn WebSocket wire5.9 KiB5.9 KiB−3 B (−0.0%)7.8 KiB✅
      ClaudeLive turn WebSocket decoded50.6 KiB50.6 KiB0 B (0.0%)66.4 KiB✅
      ClaudeLive turn messages16160 (0.0%)21✅

      Baseline: 31891a1 · PR result: e586a77 · Source CI: success

      Scenario and decoded snapshot size

      10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

      • Codex decoded thread snapshot: 94.6 KiB
      • Claude decoded thread snapshot: 95.4 KiB

      Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

Sign in to join this conversation.