Mark todo as done button on MRs doesn't update UI on first click

Description

The "Mark as done" button on merge requests doesn't register the click properly on the first attempt. The todo is removed from the todo list but the UI on the MR doesn't update until the page is refreshed.

Steps to reproduce

  1. Create a todo manually on an MR by clicking the + button
  2. Navigate to the Changes tab
  3. Click the "Mark as done" button to resolve the todo
  4. Observe the todo icon on the MR does not update

Expected behavior

The todo should be marked as done and the UI should update immediately to reflect this state.

Actual behavior

  • First click: Todo is removed from the todo list, but the icon on the MR remains unchanged
  • The icon updates correctly after the second click, or after page refresh

Additional notes

  • Issue is isolated to merge requests; the same functionality works correctly on issues
  • Appears to be a frontend UI update issue - the backend state is correct, but the visual indicator doesn't sync

Edited Jan 15, 2026 by François Rosé
Assignee Loading
Time tracking Loading