Skip to content

refactor(data-grid): use session storage - #1132

Merged
sadmann7 merged 3 commits into
mainfrom
sadman/use-session
Jun 13, 2026
Merged

sadmann7 merged 3 commits into
mainfrom
sadman/use-session

Conversation

@sadmann7

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 13, 2026 15:25
@vercel

vercel Bot commented Jun 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tablecn Ready Ready Preview, Comment Jun 13, 2026 4:05pm

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the multiplayer identity persistence for the data-grid multiplayer experience by switching from localStorage to sessionStorage, and introduces a stable per-tab identity id that is passed to PartySocket.

Changes:

  • Persist multiplayer user identity in sessionStorage instead of localStorage.
  • Add an id field to the stored identity, generated via generateId().
  • Pass the identity id into the PartySocket constructor options.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sadmann7
sadmann7 merged commit 4f363bc into main Jun 13, 2026
7 checks passed
@sadmann7
sadmann7 deleted the sadman/use-session branch June 13, 2026 16:05

This branch was successfully deployed

1 active deployment
Preview — 525b3da1 Deployed Jun 13, 2026 by vercel[bot]
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.

2 participants