Skip to content

Redesign sidebar with focus and project navigation#4100

Open
D3OXY wants to merge 12 commits into
pingdotgg:mainfrom
D3OXY:d3oxy/prototype-project-sidebar
Open

Redesign sidebar with focus and project navigation#4100
D3OXY wants to merge 12 commits into
pingdotgg:mainfrom
D3OXY:d3oxy/prototype-project-sidebar

Conversation

@D3OXY

@D3OXY D3OXY commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

What Changed

  • Rebuilt the sidebar around separate project rail, focus, and project views.
  • Added project favicons, tooltips, context menus, sorting, and project creation.
  • Added grouped, ungrouped, and folded thread layouts with persisted settings.
  • Reused the searchable project picker for new threads, including a second selection step for grouped local and remote projects.
  • Preserved thread actions, rename, archive, status indicators, and active-thread visibility.
  • Added responsive mobile sizing and a resizable floating preview when hovering the left edge of a collapsed desktop sidebar.

Why

Implements the sidebar overhaul proposed in #4086.

Closes #4086

UI Changes

Screenshots and design reference are included in #4086.

Verification

  • vp check
  • vp run typecheck
  • vp test: 597 files passed; one ACP timeout failed, then its targeted test passed 14/14 on retry.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • Screenshots are available in the linked design issue
  • Video included

Note

Redesign sidebar with two-pane project rail and focus navigation

  • Restructures the sidebar into a left project rail (with a Focus inbox, archived link, and draggable project tiles) and a right content pane that switches between a unified focus view and per-project thread lists.
  • Adds grouped/ungrouped thread layout and age-based folding of inactive threads (configurable days threshold) via new sidebarThreadLayout, sidebarFoldOlderThreads, and sidebarOlderAfterDays client settings; removes the old visible-thread count control.
  • Introduces per-thread visual signal badges (approval needed, working, failed, completed, etc.) with icons, labels, and color coding in Sidebar.tsx.
  • Adds a command palette flow for selecting a project when starting a new thread in a multi-member project group, via a new useOpenNewThreadProjectCommandPalette hook in commandPaletteContext.tsx.
  • Risk: The previous per-project expand/collapse and "Show more/less" thread count controls are removed; all thread visibility is now governed by the new layout and folding settings.

Macroscope summarized 512dd78.

D3OXY added 11 commits July 18, 2026 01:18
- Gate mock split navigator behind development URL flag
- Document prototype UX and status grouping
…ock data structure

- Clarified independent scrolling for project and thread lists, with hidden scrollbar for the project rail.
- Updated mock data generation to include varied thread types and realistic distributions.
- Improved visual elements for project tiles and thread status indicators.
- Added documentation for prototype data requirements and validation.
…e UI elements

- Added 'connecting', 'error', and 'interrupted' thread states to enhance status tracking.
- Updated mock data generation to reflect new thread types and their respective behaviors.
- Improved visual indicators for thread statuses in the sidebar.
- Revised documentation to include new priority order and project section definitions.
…ptions

- Updated sidebar to support configurable project sorting, grouping, and thread layout options.
- Introduced new menu for sidebar options, allowing users to adjust project and thread display settings.
- Improved handling of inactive threads with adjustable folding thresholds.
- Revised documentation to reflect changes in project and thread management features.
- Added functionality to confirm archiving of non-working thread rows with hover/focus interactions.
- Introduced state management for confirming and executing the archive action.
- Updated UI elements to reflect the new archive confirmation process, enhancing user experience.
- Revised documentation to include new behavior for thread archiving.
…xt menus

- Introduced inline renaming for thread titles with double-click support, allowing users to edit titles directly.
- Added context menus for thread rows, exposing options such as Rename, Mark Unread, Copy Path, Copy Thread ID, and Delete.
- Implemented tooltips for truncated thread titles and various thread state indicators, improving user experience and accessibility.
- Updated documentation to reflect new features and interactions in the sidebar prototype.
@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

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

Run ID: bade50dd-73d2-492d-9f6d-9de480a565b1

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:XXL 1,000+ changed lines (additions + deletions). labels Jul 17, 2026
@D3OXY
D3OXY force-pushed the d3oxy/prototype-project-sidebar branch from 1e028e6 to b60f6e0 Compare July 17, 2026 19:51
Comment thread apps/web/src/components/ui/sidebar.tsx Outdated
Comment thread apps/web/src/components/Sidebar.tsx Outdated
Comment thread apps/web/src/components/ui/sidebar.tsx
Comment thread apps/web/src/components/AppSidebarLayout.tsx Outdated
Comment thread apps/web/src/components/Sidebar.tsx Outdated
@macroscopeapp

macroscopeapp Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs human review

1 blocking correctness issue found. This PR is a significant sidebar redesign introducing new navigation modes (focus/project/rail), new thread grouping UI, and new settings. The scope of new user-facing behavior and an unresolved comment about an empty-state visibility bug warrant human review.

You can customize Macroscope's approvability policy. Learn more.

Comment thread apps/web/src/components/Sidebar.tsx
Comment thread apps/web/src/components/Sidebar.tsx
Comment thread apps/web/src/components/Sidebar.tsx
Comment thread apps/web/src/components/Sidebar.tsx
Comment thread apps/web/src/components/Sidebar.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

To Theo: New Sidebar

1 participant