Repository navigation
refactor(registry): cleanup registry - #1130
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
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
localStorageand 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.
This branch was successfully deployed
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.
No description provided.