Skip to content

feat(history): tell saved versions with the same name apart - #1702

Merged
gregpriday merged 2 commits into
developfrom
feature/issue-1457-distinguish-saved-versions-with-the-same
Nov 28, 2026
Merged

gregpriday merged 2 commits into
developfrom
feature/issue-1457-distinguish-saved-versions-with-the-same

Conversation

@gregpriday

Copy link
Copy Markdown
Member

Saved versions that share a name, and were saved in the same minute, now read differently in History and in the restore review.

Resolves #1457

  • Versions that share a name (compared ignoring case, spacing and Unicode composition) show the second they were saved and their place among them ("2 of 2 with this name, oldest first") in the list row and in the review header.
  • The review header's saved time and place are attached as its description, so a screen reader reads them when focus lands on it.
  • Restore, Rename, Delete and the rename field's accessible names carry the same detail for those rows. Rows with a unique name keep their existing labels.
  • Renaming a version while its review is opening no longer pairs the old name with the new place.

Testing

  • New tests/unit/versions-twins.test.ts covers grouping, ordering, seconds and Unicode normalization.
  • Impact set: 14 of 674 test files, all green. npm run typecheck is green.
  • Codex review: 3 findings (screen-reader association, rename race, Unicode names), all fixed.

- Show the second saved and the place among same-named versions in the list and review
- Put both in the Restore, Rename and Delete accessible names
@gregpriday
gregpriday merged commit 01b3b97 into develop Nov 28, 2026
1 check passed
@gregpriday
gregpriday deleted the feature/issue-1457-distinguish-saved-versions-with-the-same branch November 28, 2026 10:11
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.

Distinguish saved versions with the same name and time

1 participant