Commit Graph

2 Commits

Author SHA1 Message Date
Jiayuan
8945fd9482 fix(views): replace spinning border with subtle pulse for quick-create indicators
The animate-spin border-t ring was too visually aggressive. Replace with
a soft ring-2 ring-brand/40 animate-pulse — same calm pulse pattern the
ChatFab already uses for its running state.
2026-04-29 18:54:53 +02:00
Jiayuan
4561b2aef8 feat(views): replace toast with stacked progress indicators above Chat FAB
Replace the sonner toast-based Quick Capture progress with circular
indicators that stack above the Chat FAB button:

- Each pending quick-create shows the agent avatar in a circle with
  a spinning border ring
- Hover expands the pill to show "Agent is creating…"
- On success: green check overlay, identifier shown on hover, click
  to navigate to the new issue. Auto-fades after 3s.
- On failure: red X overlay, error message on hover. Auto-fades after 5s.
- Multiple concurrent tasks stack vertically above the FAB

Architecture:
- New QuickCreateStack component in packages/views/chat/
- Listens to inbox:new WS events to detect completion/failure
- Added agentId to QuickCreatePendingTask for avatar rendering
- Removed QuickCreateToasts and toast.loading() calls
- Mounted alongside ChatFab in both web and desktop layouts
2026-04-29 18:51:28 +02:00