Skip to content

refactor(registry): cleanup registry - #1130

Merged
sadmann7 merged 7 commits into
mainfrom
sadman/cleanup-styles
Jun 13, 2026
Merged

sadmann7 merged 7 commits into
mainfrom
sadman/cleanup-styles

Conversation

@sadmann7

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 13, 2026 13:03
@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 2:07pm

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 and polishes the component registry + UI surface while improving the multiplayer demo UX by introducing a stable client identity (name + color) and plumbing it through to the PartyKit server.

Changes:

  • Add persistent multiplayer identity stored in localStorage and send it to PartyKit via socket query params.
  • Centralize party demo constants (adjectives/animals/colors) and reuse them across client + server.
  • Improve navigation/header UX (config-driven nav links + mobile sheet nav) and apply small UI component structure tweaks (e.g., SelectGroup).

Reviewed changes

Copilot reviewed 17 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/hooks/use-multiplayer-room.ts Adds client identity persistence and sends identity via PartySocket query params.
src/config/site.ts Updates site description and introduces config-driven navLinks.
src/components/layouts/site-header.tsx Refactors header nav to use navLinks and adds a mobile sheet menu.
src/components/layouts/mobile-nav.tsx New mobile navigation component rendered inside the sheet.
src/components/layouts/docs-link.tsx Makes DocsLink accept passthrough props for reuse in mobile nav.
src/components/data-table/data-table-sort-list.tsx Wraps select items in SelectGroup.
src/components/data-table/data-table-filter-menu.tsx Minor import cleanup, selection indicator refactor, and SelectGroup usage.
src/components/data-table/data-table-filter-list.tsx Wraps select items in SelectGroup.
src/components/data-grid/data-grid-cell-variants.tsx Wraps select items in SelectGroup.
src/app/components/feature-flags-provider.tsx Updates toggle group item styling for better segmented appearance.
README.md Documentation copy updates and expanded script list.
public/r/data-table-sort-list.json Updates registry snapshot content for the sort list component.
public/r/data-table-filter-menu.json Updates registry snapshot content for the filter menu component.
public/r/data-table-filter-list.json Updates registry snapshot content for the filter list component.
public/r/data-grid.json Updates registry snapshot content for the data grid component.
party/index.ts Uses shared constants and accepts optional name/color from connection query params.
party/constants.ts Adds exported adjective/animal/color lists for shared usage.
CONTRIBUTING.md Adds dev server startup instructions, including multiplayer mode.

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

Comment thread src/components/layouts/docs-link.tsx
Comment thread src/hooks/use-multiplayer-room.ts
@sadmann7
sadmann7 merged commit 03c72eb into main Jun 13, 2026
7 checks passed
@sadmann7
sadmann7 deleted the sadman/cleanup-styles branch June 13, 2026 14:07

This branch was successfully deployed

1 active deployment
Preview — b70740e5 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