Repository navigation
Renew presence from current state; scope open dialogs to their page - #244
Merged
Merged
Conversation
… their page From Greptile on #243: - A renewal awaits its pass check, then saved the socket's state from before the wait: a clear (or cursor move) that arrived meanwhile was undone, and newcomers saw a stale "editing". It now renews what the socket holds after the wait, and nothing for a socket that closed. - A lineup dialog edits the groups of the page it opened on. Left open across a page change, it no longer counts as editing whatever shares its item ids on the new page. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
Comments Outside DiffThese findings could not be posted inline.
|
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.
Two fixes for #243 that Greptile raised after it merged into #234's branch:
Not changed: sending at most 8 groups matches the room's limit, and nobody edits more than 8 lineup groups at once.
Verified:
presence/typecheck is clean and 21/21 tests pass; the presence Flutter tests pass, 45/45.🤖 Generated with Claude Code
No issue caused by this PR was established that prevents merging.
What we checked:
Summary
Pass renewal now preserves the socket’s current cursor and editing state. A lineup dialog already open when the user changes pages no longer marks matching lineup IDs on the destination page as edited.
Reviews (1) · Last reviewed commit: "Renew presence from the socket's current..."