Skip to content

fix: stop inline assignee edit from checking tasks locally - #279

Merged
felixevers merged 1 commit into
mainfrom
claude/peaceful-tesla-h869es
Jun 19, 2026
Merged

fix: stop inline assignee edit from checking tasks locally#279
felixevers merged 1 commit into
mainfrom
claude/peaceful-tesla-h869es

Conversation

@felixevers

@felixevers felixevers commented Jun 19, 2026

Copy link
Copy Markdown
Member

Summary

Closes #276

The inline AssigneeSelect cell in the task list (web/components/tables/TaskList.tsx) reused the optimisticUpdates map when the assignee changed. That map stores each task's done state (Map<string, boolean>) and is applied to the row data as { ...task, done: optimisticDone }. As a result, editing the assignee inline optimistically set done: true, so the task appeared checked/completed in the frontend — even though the backend was never changed.

This is purely a frontend display bug: the task is never actually completed on the server, only shown as checked locally.

Change

Removed the erroneous optimistic done updates from the assignee cell's onValueChanged and onDialogClose handlers. Changing the assignee now only fires the updateTask mutation and no longer visually completes the task.

Testing

  • tsc --noEmit passes
  • eslint passes on the changed file

🤖 Generated with Claude Code


Generated by Claude Code

The inline AssigneeSelect cell in the task list reused the
`optimisticUpdates` map to flag rows on change. That map stores the
task's `done` state, so editing the assignee inline optimistically
checked the task in the UI even though the backend never changed it.

Remove the erroneous optimistic `done` updates from the assignee cell's
onValueChanged/onDialogClose handlers so changing the assignee no longer
visually completes the task.

Fixes #276

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7Bjksr92VvB6dWQoJGZN9
@felixevers
felixevers merged commit 5debf4f into main Jun 19, 2026
13 checks passed
@felixevers
felixevers deleted the claude/peaceful-tesla-h869es branch June 19, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inline Assignee Edit checks tasks locally

2 participants