Commit Graph

3 Commits

  • Fix tab persistence in Claude IDE - persist closed tabs to localStorage
    Implement localStorage persistence for closed session and project tabs.
    When users close tabs, they now remain closed after page refresh.
    
    Changes:
    - session-tabs.js: Add closedSessions tracking with localStorage
    - project-manager.js: Add closedProjects tracking with localStorage
    - Filter out closed tabs on load
    - Persist state whenever tabs are closed
    
    Fixes issue where closed tabs would reappear on page refresh.
    
    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
  • Add close button functionality to project tabs in Claude IDE
    Fix missing 'x' close buttons on project tabs (Level 1). Session tabs
    ( Level 2) already had close buttons implemented.
    
    Changes:
    - project-manager.js: Added close button element to renderProjectTab()
    - Added closeProject() method with confirmation dialog
    - Added getSessionName() helper for session name display
    - Auto-switches to next project when active project is closed
    - project-tabs.css: Added .tab-close styling for project tabs
    - Close button shows on hover, red highlight on hover
    - Mobile responsive: always visible on small screens
    
    The close button removes project tab from view but sessions remain
    accessible via API/reload. Confirmation shows session count and list
    for non-empty projects.
    
    Resolves: https://rommark.dev/claude/ide/session/session-1769083280612-mdof554ot
    
    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
  • Add CodeNomad-inspired two-level tab system (Phase 2)
    Phase 2 of enhancement plan:
    - Created project-manager.js for project-level organization
    - Created session-tabs.js for session-level organization
    - Created project-tabs.css with responsive design
    - Added tab structure to index.html
    - Cache bust: v1769083200000
    
    Features:
    - Project tabs organize sessions by working directory
    - Session tabs show all sessions within active project
    - Context menu for rename/duplicate/delete/close
    - Visual indicators for active/running sessions
    - Responsive design for mobile
    
    Co-Authored-By: Claude <noreply@anthropic.com>