summaryrefslogtreecommitdiff
path: root/src/mcp/lattex.mjs
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2026-03-15 19:16:42 -0500
committerhaoyuren <13851610112@163.com>2026-03-15 19:16:42 -0500
commit533bcdd91ff143df46e92351b2fee90b1f221aaf (patch)
tree56e609d53daac57d58179595d1bc6f09fef85cdc /src/mcp/lattex.mjs
parentc667ff6a58b36b67bb92ff5a20df646e0777c6d5 (diff)
Fix resolved comment highlights not disappearing immediately
The resolve-thread socket event was only handled in ReviewPanel's useEffect, but ReviewPanel is conditionally mounted (only when visible). When Claude Code resolves a comment via MCP with the panel hidden, the resolvedThreadIds store was never updated, so the editor highlight persisted until the user opened the Review panel. Fix: add a comments:event listener in App.tsx (always mounted) that updates resolvedThreadIds for resolve/reopen/delete-thread events. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/mcp/lattex.mjs')
0 files changed, 0 insertions, 0 deletions