Skip to content

Conversation

@BoQsc
Copy link
Contributor

@BoQsc BoQsc commented Sep 12, 2025

image

Features implemented:

  • Left sidebar showing all Claude projects from ~/.claude/projects
  • Expandable project folders with individual conversation lists
  • Split-click functionality: folder icon expands, project name opens latest conversation
  • Active highlighting: blue for projects, green for conversations
  • Project display names with proper path decoding
  • Conversation titles cropped to first few words for readability
  • Scrollable sidebar for long project/conversation lists
  • Clickable sidebar header to navigate back to home page
  • Dynamic header showing current project name instead of generic title
  • Back button navigates to project root instead of history view

Backend additions:

  • New /api/claude/projects endpoint for Claude project discovery
  • New /api/claude/projects/:encodedName/conversations endpoint
  • Path encoding/decoding utilities for Windows compatibility
  • Support for claude-code-webui project naming

Frontend additions:

  • ProjectsSidebar component with full functionality
  • useClaudeProjects hook for data fetching
  • Integration with existing ChatPage and ProjectSelector components
  • Responsive design with proper hover states and transitions

🤖 Generated with Claude Code

Description

Brief description of the changes in this PR.

Type of Change

Please add the appropriate label(s) to this PR and check the relevant box(es):

  • 🐛 bug - Bug fix (non-breaking change which fixes an issue)
  • feature - New feature (non-breaking change which adds functionality)
  • 💥 breaking - Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 documentation - Documentation update
  • performance - Performance improvement
  • 🔨 refactor - Code refactoring
  • 🧪 test - Adding or updating tests
  • 🔧 chore - Maintenance, dependencies, tooling

Changes Made

  • List key changes
  • Include any breaking changes
  • Mention new dependencies or configuration changes

Testing

  • Tests pass locally (make test)
  • Code is formatted (make format)
  • Code is linted (make lint)
  • Type checking passes (make typecheck)
  • All quality checks pass (make check)
  • Manual testing performed (describe what was tested)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added/updated tests for my changes
  • All tests pass

Screenshots (if applicable)

Add screenshots to help explain your changes.

Additional Notes

Any additional information, dependencies, or context needed for reviewers.

BoQsc and others added 3 commits September 12, 2025 10:27
Features implemented:
- Left sidebar showing all Claude projects from ~/.claude/projects
- Expandable project folders with individual conversation lists
- Split-click functionality: folder icon expands, project name opens latest conversation
- Active highlighting: blue for projects, green for conversations
- Project display names with proper path decoding
- Conversation titles cropped to first few words for readability
- Scrollable sidebar for long project/conversation lists
- Clickable sidebar header to navigate back to home page
- Dynamic header showing current project name instead of generic title
- Back button navigates to project root instead of history view

Backend additions:
- New /api/claude/projects endpoint for Claude project discovery
- New /api/claude/projects/:encodedName/conversations endpoint
- Path encoding/decoding utilities for Windows compatibility
- Support for claude-code-webui project naming

Frontend additions:
- ProjectsSidebar component with full functionality
- useClaudeProjects hook for data fetching
- Integration with existing ChatPage and ProjectSelector components
- Responsive design with proper hover states and transitions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
…areas

- Full-height expand/collapse button: clickable area extends to container height
- Unified hover behavior: entire project row acts as one cohesive unit
- Better visual feedback: added prominent hover effect on expand button
- Consistent borders: 4px left borders for both projects and conversations
- Improved indentation: conversations properly indented under projects (pl-12)
- Smooth transitions: all hover states have transition-colors
- Fixed unused import warning in ChatPage.tsx

These changes enhance the sidebar interaction experience by making click
targets larger and hover states more predictable.
Remove "Code" from commonDirs array to prevent display name truncation
for projects containing "code" in their path. Previously, projects like
"claude-code-webui" were showing as just "webui" in the sidebar.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@BoQsc BoQsc changed the title Feature/claude projects sidebar clean Add comprehensive Claude projects sidebar with conversation management (No mobile testing) Sep 12, 2025
@BoQsc BoQsc marked this pull request as draft September 12, 2025 07:51
@BoQsc BoQsc changed the title Add comprehensive Claude projects sidebar with conversation management (No mobile testing) Add comprehensive Claude projects sidebar with conversation management (No mobile testing) (draft) Sep 12, 2025
@BoQsc BoQsc changed the title Add comprehensive Claude projects sidebar with conversation management (No mobile testing) (draft) Draft: Add comprehensive Claude projects sidebar with conversation management (No mobile testing) Sep 12, 2025
BoQsc and others added 2 commits September 12, 2025 13:02
- Replace legacy /api/projects with /api/claude/projects for consistent data
- Update Recent Projects to open latest conversation instead of new ones
- Add rich project metadata display with conversation counts and timestamps
- Ensure identical project lists between sidebar and Recent Projects
- Fix missing "webui-backend" project in Recent Projects section

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Remove misplaced 'Return to new chat' button from header
- Add proper 'New Chat' button at bottom of sidebar
- Fix 'Back to history' button to properly navigate to home
- Add home icon to breadcrumb navigation for clarity
- Centralize API URLs using config helpers to fix port inconsistencies
- Update all hardcoded API endpoints to use centralized configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant