Skip to content

refactor(data-grid): refactor const - #1129

Merged
sadmann7 merged 1 commit into
mainfrom
sadman/in-memory-multiplayer
Jun 13, 2026
Merged

refactor(data-grid): refactor const#1129
sadmann7 merged 1 commit into
mainfrom
sadman/in-memory-multiplayer

Conversation

@sadmann7

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 13, 2026 06:45
@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 6:46am

@sadmann7 sadmann7 changed the title chore(partykit): redeploy partykit refactor(data-grid): refactor const Jun 13, 2026
@sadmann7
sadmann7 merged commit 1ba9cde into main Jun 13, 2026
8 checks passed

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 PartyKit seed-related constants into a dedicated party/constants.ts module and updates the multiplayer demo to import TRICKS from that new module, avoiding pulling seed-generation dependencies into client-side code.

Changes:

  • Introduces party/constants.ts exporting STANCES, STYLES, STATUSES, and TRICKS.
  • Updates party/seeds.ts to consume those constants from ./constants instead of defining them inline.
  • Updates the multiplayer demo to import TRICKS from @party/constants (instead of @party/seeds).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/app/data-grid-multiplayer/components/data-grid-multiplayer-demo.tsx Switches the TRICKS import to the new constants module for client-safe consumption.
party/seeds.ts Removes duplicated constant definitions and imports shared constants from ./constants.
party/constants.ts New shared constants module that can be imported without bringing in seed-generation dependencies.

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

@sadmann7
sadmann7 deleted the sadman/in-memory-multiplayer branch June 13, 2026 06:46
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