Skip to content

fix: keep Notes history and editor identities distinct - #429

Merged
BunsDev merged 1 commit into
mainfrom
notes-history-identity
Oct 28, 2026
Merged

BunsDev merged 1 commit into
mainfrom
notes-history-identity

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

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.

@vercel

vercel Bot commented Oct 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
modex Ready Ready Preview Oct 28, 2026 12:51pm UTC

Request Review

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main b643617 notes-history-identi... 0ac940a +/-
66% 66% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@BunsDev
BunsDev added this pull request to the merge queue Oct 28, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 28, 2026
@BunsDev
BunsDev added this pull request to the merge queue Oct 28, 2026
Merged via the queue into main with commit 7a01df2 Oct 28, 2026
13 checks passed
@BunsDev
BunsDev deleted the notes-history-identity branch October 28, 2026 18:23

This branch was successfully deployed

1 active deployment
Preview — 0ac940aa Deployed Oct 28, 2026 by vercel[bot]
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