Skip to content

Fix Tapwrite content update loop on task detail#1254

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/OUT-3775-automated-issue-triage-f016
Draft

Fix Tapwrite content update loop on task detail#1254
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/OUT-3775-automated-issue-triage-f016

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 23, 2026

Changes

  • Added a deferred Tapwrite content callback hook to avoid synchronous React state updates during Tapwrite/Tiptap transactions.
  • Applied the guard to task detail Tapwrite consumers: task description, subtask description, comments, and replies.

Testing Criteria

  • Ran yarn eslint "src/hooks/useDeferredTapwriteContent.ts" "src/app/detail/ui/NewTaskCard.tsx" "src/app/detail/ui/TaskEditor.tsx" "src/components/cards/CommentCard.tsx" "src/components/cards/ReplyCard.tsx" "src/components/inputs/CommentInput.tsx" "src/components/inputs/ReplyInput.tsx" (passes with existing repo warnings).
  • Ran yarn tsc --noEmit --pretty false (blocked by existing SVG module resolution errors in src/icons/index.ts, before any changed-file errors).

Notes

  • Linear/Sentry: OUT-3775 / TASKS-8D.
  • Sentry Seer autofix analysis was unavailable due to budget (HTTP 402), so root-cause analysis was based on Sentry event details and code inspection.

Impact & Surface Area of Change

  • Affects Tapwrite-backed editors on the task detail route: task description, subtask creation description, comment input/edit, reply input/edit.
  • Regression focus: editing/saving task descriptions, submitting comments/replies, editing existing comments/replies, attachment upload callbacks in these editors.
Open in Web View Automation 

Co-authored-by: Neil Raina <makeitraina@users.noreply.github.com>
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 23, 2026

OUT-3775

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tasks-app Ready Ready Preview, Comment May 23, 2026 11:32am

Request Review

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.

1 participant