Repository navigation
fix(web): preserve annotation editor drafts and dialog sessions - #44825
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #44825 +/- ##
=======================================
Coverage 89.45% 89.46%
=======================================
Files 5994 5997 +3
Lines 375954 375962 +8
Branches 76162 76175 +13
=======================================
+ Hits 336321 336346 +25
+ Misses 33610 33593 -17
Partials 6023 6023
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Vinext bundle analysisJS gzip: 🟢 −723 B (−<0.01%) · CSS gzip: 🟢 −8 B (−<0.01%)
Entry changes: 🟠 83 increased · 🟢 86 decreased · ⚪ 1 raw-only changes (gzip). Largest entry changesTop 5 by absolute gzip delta. Static dependencies overlap; do not sum entries.
Top 20 of 170 changed entries (full paths and raw sizes)
📦 0 package attribution changes (uncompressed modules)Showing 0 of 0, ordered by absolute module-size delta.
Measurement details and build revisionsBase: Raw JS change: 🟢 −186 B (−<0.01%) · Raw CSS change: 🟢 −101 B (−<0.01%) 🟠 Increase · 🟢 Decrease · ⚪ Unchanged. Colors indicate direction, not a performance budget verdict. Percentages use the base size. Entries follow only static edges in the official Rolldown chunk graph, deduplicating shared files. Dynamic entries are measured when loaded; they are not page first-load metrics. Entry totals overlap and must not be summed. Download base/merge snapshots and official Rolldown analysis reports. Comparison: event base SHA vs the tested merge commit at GITHUB_SHA (PR or merge queue). |
Summary
Annotation editing can leave edit mode after a failed save, and concurrent question/answer updates can overwrite the other field. This change keeps drafts on failure, serializes submissions against the latest saved values, and gives list and chat editors the same generated mutation and deletion ownership.
Fixes #44823
Validation
vp staged, and repositoryvp run -w checkpassed (repository check reports existing warnings).Checklist
vp stagedand type checking.From Codex