feat(ui): add empty state composition - #637
Conversation
|
Warning Review limit reached
Next review available in: 9 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Independent review of exact diff Risk: low. This is a no-consumer library slice: the diff adds the shared EmptyState primitive, Start/Crew identity adapters, package export/tests, six Storybook stories, inventory updates, and LAT docs only. Reviewed:
Local validation at the exact head:
Live review threads are empty. CodeRabbit is green but reported its review-rate limit; GitHub CI was still partially running at the time of this comment. |
d6316c1
into
codex/registration-options-field-group
Summary
EmptyState.Root,Card,Icon,Title,Description, andActionsprimitives to@repo/uiStack
codex/registration-options-field-group)19714f6d7eed9e332d0809232fe229c9e5739e52Validation
pnpm --filter @repo/ui test(63/63)pnpm --filter @repo/ui type-checkpnpm --filter @repo/ui buildpnpm --filter @repo/ui checkpnpm --filter wodsmith-start type-checkpnpm --filter crew type-checkpnpm --filter wodsmith-start build-storybookpnpm --filter wodsmith-start check:ui-inventorylat checkFollow-up boundary
Organizer/check-in/results empty-state consumers remain unchanged for separately reviewed migration slices.
mainSummary by cubic
Adds a children-driven empty state pattern and a new metric summary pattern to
@repo/ui, then migrates key organizer screens to use them and fixes several accessibility/semantics issues across Crew and Start.New Features
@repo/ui/metricwithMetric.Card,Inset,Label,Value(and types/variants). Crew and Start replace ad‑hoc summary tiles in import previews and templates withMetric.@repo/ui/empty-statedirectly in organizer panels (registration questions, venue manager, invites, division mapping); Start and Crew expose thin adapters atsrc/components/ui/empty-state.tsxandmetric.tsx. Storybook stories and tests cover status, actions, and compact typography.Bug Fixes
EmptyStatecomposition.crewDemoEventDateRange; edge cases across UTC boundary/DST covered.docs/ui-library/evidence; UI inventory updated.Written for commit d6316c1. Summary will update on new commits.