Repository navigation
fix: keep Notes history and editor identities distinct - #429
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
14 tasks
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 28, 2026
This was referenced Oct 31, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opening and closing Notes version history could accumulate duplicate revision rows or leave history visible after closing. PageHistory and BlockEditor used the same sibling React key. Give each a distinct key prefix while preserving stable identity within a page and reset behavior when changing pages.
Extend the existing legacy migration journey with repeated history toggles, exactly one history region and revision row, removal on close, and preserved page title/content. All original migration and restart checks remain. Three repetitions failed before the fix (up to eleven duplicate summaries or history remaining after Close), then all three passed after the fix. Independent review found no blocking findings.
Validation: build passed; full unit tests passed with 2,191 passed, 23 skipped and zero failed; full root E2E passed with 470 desktop tests passed, seven skipped (24.8 minutes), followed by seven site tests passed (11.4 seconds). Logs and first-failure traces are preserved outside the worktree; the review document records the evidence.
Discovered while diagnosing #423's CI run. This repairs the reproduced Notes defect; that run's Settings click and Markdown sizing failures remain unexplained. Hosted checks and protected merge are still required. No issue acceptance or release gate is closed by this PR.