Repository navigation
perf(native): smoother scrolling on Rune, less work per frame, code block line breaks #480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+542
−75
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
539a126
perf(native): scroll corrections keep a fling, measurements batch per…
Makisuo 5cf69b8
perf(web): the message list's overscan window moves in chunks and out…
Makisuo ad9fb33
perf(ios): the tab bar asks UIKit for its height once per width
Makisuo 81b3dd6
fix(native): a highlighted code block breaks its lines at its newlines
Makisuo 31fbbd9
perf(native): a scrolling row's layout report skips building a JSON v…
Makisuo 3f0bece
perf(web,native): the keymap resolves once per overrides, host lines …
Makisuo 8544251
test(native): the sidebar menu check hovers a channel row again
Makisuo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preserve the order of relative and absolute scroll commands.
When both commands arrive before one frame, this branch does not preserve their order. The pinned Rune implementation collects absolute offsets and relative shifts separately. It applies all absolute offsets before the relative shifts. (raw.githubusercontent.com)
apps/native/host/src/capture.rs, Lines 181–183, drains queued messages before running the frame. For example, aby: -40correction followed by an absolute jump totop: 1000should finish at 1000. Instead, Rune jumps to 1000 and then shifts to 960. The latest sequence report makes the bridge accept that incorrect destination.Preserve an ordered scroll-request stream, or discard superseded relative corrections when a later absolute command targets the same viewport. Cover both command orders in a native regression test.