refactor(settings): adopt shared field composition - #631
Conversation
|
Warning Review limit reached
Next review available in: 26 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 (6)
✨ 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 receipt for exact head 6b02bc9\n\nVerdict: LGTM — no blocking findings in the pinned six-file PR delta.\n\nVerified:\n- GitHub reports exactly the six intended files: two settings routes, their two focused test files, generated UI inventory, and LAT auth contract. No shared primitive, app adapter, schema, server function, or submission code changed.\n- Profile migrates only the immutable email display to Field through the existing Start adapter. The stable profile-email id, generated description id, disabled semantics, value, accessible label and description, layout spacing, and payload exclusion are preserved.\n- Athlete migrates exactly four proxy controls: imperial feet, imperial inches, imperial pounds, and metric kilograms. Metric height remains the canonical heightCm FormField, and all other RHF FormField controls remain unchanged.\n- Proxy values, onChange/onBlur handlers, conversion functions, hydration, schema, server call, and canonical submission payload are unchanged.\n- Focused tests assert consumer-visible accessibility associations and retain hydration/submission behavior without coupling to Field internals: 7/7 passed locally.\n- Wodsmith Start type-check passed locally. UI inventory freshness, page coverage freshness, lat check, git diff --check, and scoped source Biome checks passed.\n- Generated inventory counts are consistent: Field route consumers 0 to 2 and direct Label route consumers 40 to 38. LAT references resolve and accurately describe the preserved boundary.\n- GitNexus compare reports LOW risk and 0 affected execution flows. The local graph index is stale relative to this one-commit consumer delta, and MCP graph reads currently hit a LadybugDB storage-version mismatch; this does not change the diff-based review conclusion.\n- CodeRabbit status is green but its substantive review was rate-limited; there are no CodeRabbit findings.\n\nCI at review time: builds, lints, one E2E shard, crew demo E2E, DB typecheck, GitGuardian, stack, and CodeRabbit are green. The second E2E shard plus Start/Crew typecheck and Start tests are still running, so final merge readiness remains gated on those checks. |
d6316c1
into
codex/ui-crew-organizer-coverage
Summary
Impact
This is a behavior-preserving consumer migration. Existing IDs, descriptions, disabled email semantics, unit conversion handlers, schemas, server payloads, and layout remain unchanged. The inventory now records two Start route consumers of Field and two fewer direct Label consumers.
Validation
Stack
Base: PR #630, codex/ui-crew-organizer-coverage.
mainSummary by cubic
Adopted shared
Fieldcomposition in settings and introducedEmptyStateandMetricfrom@repo/uiacross Crew and Start to improve semantics and accessibility. Fixed mobile nav overflow and organizer/admin heading semantics while preserving behavior and data contracts.Refactors
Field.Root/Legend/...for judge rotation collections, scaling levels, registration option groups, profile email, and athlete mixed-unit proxy controls.EmptyStateand preview counters withMetricin import flows, templates, heats, venues, invites, division mapping, and organizer panels; added app barrelscomponents/ui/empty-stateandcomponents/ui/metric; updated UI inventory to includeempty-stateandmetric.Bug Fixes
Written for commit d6316c1. Summary will update on new commits.