• edy's avatar
    fix(ui): restore session card navigation and preserve session scope across tabs · 0e954cbb
    edy authored
    - When clicking a session card, switch to the correct project and viewMode
      ('chat' for home sessions, 'experts' for expert sessions) instead of only
      setting the active session ID
    - Persist session scope via sticky ref so switching to non-conversation tabs
      (knowledge, tasks, etc.) no longer jumps to the first expert's sessions
    - Prevent project switch during active streaming to avoid disrupting AI output
    - Keep useMemo pure by extracting ref writes into useEffect
    - Remove redundant ternary in openSession
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    0e954cbb
SessionList.tsx 2.46 KB