Repository navigation
feat: adopt collaboration UI libraries and restore smooth cursors - #11
Merged
Merged
Conversation
The library adapters displayed cursors directly at awareness packet positions, dropping interpolation. Share a frame-based cursor interpolator, publish the first whiteboard movement immediately, and skip scene processing for presence-only callbacks. Add browser checks for intermediate positions, bounded settling time, reduced motion, and zero cursor-triggered Yjs transactions.
Retry only Chromium ERR_NETWORK_CHANGED navigation failures up to three attempts. Keep other navigation and HTTP failures visible, add regression coverage, and report browser diagnostics when the staging pilot fails.
Exclude GET and HEAD requests for immutable Next.js chunks from the shared request-rate bucket while retaining connection limits and limits on all dynamic routes. Reproduce the previous HTTP 429 failure with a 240-request staging asset burst and verify that the session API remains available.
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.
Replace the custom controls in five collaboration examples with library integrations while keeping Synixir, Phoenix, and Yjs responsible for synchronization, permissions, and persistence.
Existing saved rooms remain readable, including legacy whiteboard scenes through a deterministic read-through adapter. CodeMirror, Tiptap, and the minimal shared-settings integration remain in place. Each library implementation has a separate commit.
Remote cursors in the whiteboard and flowchart interpolate between awareness updates. The whiteboard publishes the first movement after idle immediately and skips scene processing for cursor-only callbacks. Frame-by-frame browser tests cover intermediate positions, settling time, reduced motion, and the absence of cursor-triggered Yjs transactions. Browser test ports are configurable so separate worktrees can run independently.
Staging navigation retries transient Chromium
ERR_NETWORK_CHANGEDfailures up to three attempts. Static Next.js chunk downloads no longer consume the API and WebSocket request budget. A 240-request asset burst checks that bundles load without HTTP 429 responses and leave the session API available.Validation
Package constraints
7.0.0-beta.61.