Description
After selecting “Keep as checklist” below a Buddy response, the newly created checklist does not appear on the board until the board is refreshed.
Steps to Reproduce
- Open the Buddy.
- Generate a response containing a checklist.
- Select “Keep as checklist”.
- Navigate to an already-open board view.
- Observe that the checklist is missing until the board is refreshed.
Expected Behavior
The created checklist appears on the board immediately.
Actual Behavior
The backend request succeeds, but the board continues to display stale client-side data until it is refreshed.
Affected Component
Frontend
Environment
No response
Possible Cause
Confirmed: SaveReplyToBoard.tsx calls boardService.addCard(...) directly and never touches the React Query cache (no useQueryClient, no invalidateQueries). The regular board mutation path (useBoard.ts) does refetch its query after adding a card, so the fix is to route the Buddy's "Keep as checklist" action through the same board-mutation/invalidation path instead of calling the service directly.
Description
After selecting “Keep as checklist” below a Buddy response, the newly created checklist does not appear on the board until the board is refreshed.
Steps to Reproduce
Expected Behavior
The created checklist appears on the board immediately.
Actual Behavior
The backend request succeeds, but the board continues to display stale client-side data until it is refreshed.
Affected Component
Frontend
Environment
No response
Possible Cause
Confirmed:
SaveReplyToBoard.tsxcallsboardService.addCard(...)directly and never touches the React Query cache (nouseQueryClient, noinvalidateQueries). The regular board mutation path (useBoard.ts) does refetch its query after adding a card, so the fix is to route the Buddy's "Keep as checklist" action through the same board-mutation/invalidation path instead of calling the service directly.