feat(desktop): show 'being reworked' placeholder in chat panes

Merged
KI
3mo ago
+66-174

What

Chat isn't functional right now, so this replaces the chat pane UI with a small "Chat is being reworked" placeholder in both the v1 (screens/main) and v2 (v2-workspace pane registry) chat panes, via a shared ChatUnderConstruction component.

Details

  • Pane chrome is preserved: title bar, split/close actions, and context menu still work, and existing/persisted chat panes mount without churn (v2 ChatPane keeps its props signature).
  • The v1 pane no longer initializes the chat runtime providers, IPC clients, or session controller, so none of the broken chat machinery runs.
  • No chat code is deleted — trivially revertible when chat comes back.
  • The flag-gated internal ChatV3Pane (CHAT_V3) is untouched.

Verification

Verified live via CDP against this worktree's dev desktop build: opened a v2 workspace → "Open Chat" → pane renders the placeholder with working pane chrome. Typecheck and bun run lint clean.


Summary by cubic

Render a “Chat is being reworked” placeholder in desktop chat panes to disable broken chat while keeping pane chrome and registry compatibility. Previously the v1/v2 panes initialized the legacy chat UI and runtime/providers; now they render a placeholder and do not start chat logic.

Reviewer notes

  • Adds shared ChatUnderConstruction component; used by v1 (screens/main) and v2 pane registry chat panes.
  • Pane chrome retained (title, split/close, context menu); persisted chat panes still mount; ChatPane props unchanged.
  • v1 pane no longer initializes chat runtime providers, IPC clients, or the session controller.
  • Flag-gated ChatV3Pane (CHAT_V3) is untouched.
  • No migration required; callers of ChatPane do not change.

Summary by CodeRabbit

  • Updates
    • Temporarily replaced the chat interface with a clear “under construction” message.
    • Preserved chat pane controls, including toolbar actions, context menus, split/close behavior, and tab movement.
    • Chat sessions and conversation interactions are currently unavailable while the experience is being reworked.