Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Work in Progress

Adds a lightweight, read-only AIViewPreview that renders the most recent messages for a workspace and shows it on hover as a tooltip in the Projects sidebar. Uses existing MessageRenderer + ChatProvider for parity, and does not alter or focus the active AIView.

What works

  • Hover over workspace row → preview tooltip with last N messages
  • Visual parity via shared MessageRenderer/ChatProvider
  • Non-interactive (pointer-events:none), never steals hover/focus
  • <1000 LoC (net +~150)

Open questions / todos

  • Determine optimal maxMessages default (currently 6)
  • Consider user preference to disable previews
  • Verify performance with many workspaces

Generated with cmux

@ammar-agent ammar-agent force-pushed the feat/hover-ai-preview branch from 4dbdf5f to e676d8a Compare October 13, 2025 16:06
…hover without altering active view\n\n- Add AIViewPreview (read-only, last N messages, ChatProvider for parity)\n- Integrate preview as Tooltip content around WorkspaceItem\n- Keep non-interactive/pointer-events:none to avoid stealing focus\n- Uses existing MessageRenderer for full parity\n\nGenerated with
@ammario
Copy link
Member

ammario commented Oct 15, 2025

Closing as too much complexity for now

@ammario ammario closed this Oct 15, 2025
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.

2 participants