Skip to content

Synchronize Buddy-created checklists with the board immediately #233

Description

@kiranfin

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

  1. Open the Buddy.
  2. Generate a response containing a checklist.
  3. Select “Keep as checklist”.
  4. Navigate to an already-open board view.
  5. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinguxImprovement for the user experience

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions