Repository navigation
Improve performance of large notes reviews - #20
Merged
Merged
Conversation
…ones Under 960px of reading area the 280px margin column becomes a 44px rail of note markers, so fit width gives the page the room. Markers open the note's card over the page edge; notes can be written, edited and closed by touch. The overlay sidebar starts closed and closes after a jump or a tap on the page. Fit width may go down to 25% so a letter page fits a phone. Part of #18. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6cfe0214-e2a8-4a94-99bd-74b28c84b315
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6cfe0214-e2a8-4a94-99bd-74b28c84b315
Render annotated pages on demand while preserving navigation, editing, search, and full-list access. Co-authored-by: Copilot App <[email protected]> Copilot-Session: b28d19f9-2210-4a6d-a9ea-84b5b5364063
Co-authored-by: Copilot App <[email protected]> Copilot-Session: b28d19f9-2210-4a6d-a9ea-84b5b5364063
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.
Summary
Performance
On an isolated 1,151-page textbook with 2,298 notes, first review open improved from 1.42 s to 0.20 s; at 4× CPU throttling it improved from 5.08 s to 1.44 s. These are individual measurements on the same machine.
Validation
bun run checkbunx playwright test --workers=2 --reporter=dot(93 passed, 1 skipped; passed on retry after an intermittent unrelated navigation test failure)bunx playwright test review.spec.ts review-large.spec.ts --workers=1 --reporter=listafter the observer fix