Files
Gabriel Vidal e0985b6be7 feat(conversations): badge pending ask-form questions on conversation cards
Add a small amber FileQuestion badge to conversation cards (both the compact
drawer/rail card and the fullscreen conversations list card) when that
conversation has a pending (unanswered) form from the ask-form skill.
Clicking it opens the existing fullscreen ?form view for that specific form,
without triggering the card's own navigation.

- frontend/src/lib/queries.ts: useForms() (all forms, live via the existing
  form SSE prefix) + usePendingForm(sessionId) selecting the first pending
  form matched on sessionId (not the routing id, which can diverge on
  resumed/worktree conversations).
- frontend/src/business/conversations/components/ConvMetaBits.tsx: new
  PendingFormBadge, styled like CronBadge/HookBadge but a real <button> (not
  a plain span) since it must navigate to a different URL than the card's own
  Link, using stopPropagation/preventDefault.
- Wired into ConversationListElement.tsx and Conversations.tsx's card.
- frontend/src/mock/seed.ts: wired the three seeded forms' sessionId to the
  kitchen-sink conversation (was empty, unused until now) so the new badge is
  exercisable in mock mode.
- lucide-react 0.469.0 (installed version) has no FileQuestionMark export;
  used the closest match, FileQuestion.
2026-08-09 19:52:50 +02:00
..