发布

  • Session Sharing & Chats UI Improvements (#122)

    frostbyte_neo 发布于 2025-10-27 19:42:15 +00:00 | 1043 次提交 在此版本后已推送到 main

    • feat: add session sharing and cloning functionality

    Implement complete session sharing system for Claude Code conversations:

    Features:

    • Share button in chats interface with QR code generation
    • Upload sessions to x0.at (temporary file hosting)
    • Clone sessions with --clone-session command
    • Limit shared sessions to last 100 messages
    • Security confirmation modal with service information
    • Resume command display after cloning

    Backend:

    • New SessionSharing class for export/upload/download/install
    • Integration with ConversationAnalyzer
    • x0.at upload service (tested and working)
    • JSONL format conversion for Claude Code compatibility

    Frontend:

    • Confirmation modal with x0.at security info
    • Centered QR code display
    • Improved button styling (Resume, Share, Search)
    • Real-time upload progress indication

    CLI:

    • Added --clone-session parameter
    • Automatic session installation to ~/.claude/projects/
    • Display resume command with conversation ID

    Dependencies:

    • Added qrcode package for QR generation

    🤖 Generated with Claude Code (https://claude.com/claude-code)

    Co-Authored-By: Claude noreply@anthropic.com

    • feat: improve chats UI with project grouping and unified action buttons

    Major improvements to chats interface:

    Project Organization:

    • Group conversations by project with collapsible sections
    • Projects collapsed by default for cleaner interface
    • Auto-expand projects during search with matching results
    • Sticky project headers for better navigation
    • Project avatars with gradients and conversation counts

    Terminology Update:

    • Changed "conversations" to "sessions" throughout UI
    • Updated empty state messages
    • Consistent terminology in headers and labels

    Action Buttons Enhancement:

    • Unified Resume, Share, and Search buttons in center header
    • Replaced emojis with professional SVG icons
    • Grouped design with orange accent border
    • Individual hover states (green/blue/orange)
    • Responsive button group with smooth transitions

    Search Improvements:

    • Fixed search to work with grouped project structure
    • Search in both project names and session IDs
    • Auto-collapse all projects when clearing search
    • Proper filter clearing in advanced search
    • Maintained state management across search operations

    Visual Design:

    • Orange accent border highlighting action buttons (2px)
    • Subtle orange background for button group
    • Consistent hover effects with color coding
    • Enhanced visual hierarchy
    • Better spacing and alignment

    🤖 Generated with Claude Code (https://claude.com/claude-code)

    Co-Authored-By: Claude noreply@anthropic.com


    Co-authored-by: Claude noreply@anthropic.com

    下载附件