feat(react): add UI primitives and data table updates#158
Open
feat(react): add UI primitives and data table updates#158
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #158 +/- ##
==========================================
- Coverage 88.64% 88.55% -0.09%
==========================================
Files 154 154
Lines 13129 13155 +26
Branches 1787 1405 -382
==========================================
+ Hits 11638 11650 +12
- Misses 1491 1505 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
chakrihacker
previously approved these changes
Mar 19, 2026
4cd1add to
f543326
Compare
f543326 to
41ed260
Compare
NaveenChand755
requested changes
Apr 13, 2026
NaveenChand755
approved these changes
Apr 15, 2026
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.
Changes
Summary: Introduces new reusable UI primitive components (
Chip,Combobox,TextFieldGroup) and enhances sharedDataTableandDataPaginationcomponents with server-side sorting and checkpoint-based pagination support.Why: The existing shared data components (
DataTable,DataPagination) only supported client-side sorting and traditional page-number pagination. The upcoming member management feature requires server-side sorting (API-driven) and checkpoint/cursor-based pagination (next/previous tokens), along with new input primitives for invite flows (multi-value inputs, searchable dropdowns, tag chips).What:
New Components
chip.tsx) — A removable tag/badge element with multiple variants and sizes.combobox.tsx) — Searchable dropdown with single and multi-select support, built on Radix Popover.text-field-group.tsx) — Input field with chip support for multi-value entry via comma/Enter-based chip creation.Updated Components
onSortChangeandsortConfigprops to delegate sorting to the parent (API-driven) instead of client-side TanStack sorting.CheckpointPaginationStatewith optionalcurrentPageto display "Showing X-Y of Z" for cursor-based APIs. Removed page-number links (Previous/Next only). Cleaned up unused helpers (generatePageNumbers,interpolate).Other
color-picker.tsx: Minor import cleanupReferences
Part of the member management invitations feature.
Testing
Checklist