fix(series): render movement collection heading - #628
Conversation
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
|
Independent review receipt for exact head 8c62a8e Finding:
Verified:
Verdict: request the heading-rank correction; otherwise the narrow fix and invariants look sound. |
|
Follow-up independent review receipt for exact head aeebcb7 The prior P2 accessibility finding is resolved. Movements is now an h2 directly beneath the route h1 in the actual heading tree, and the focused assertion correctly requires heading level 2. The follow-up changes only that element and its test expectation; diff check is clean. Independent rerun: focused route tests pass 3/3 and lat check passes. No new findings. GitHub CI for this new head is still running at the time of this receipt; CodeRabbit reports success status but skipped the draft review. Final verdict: LGTM, conditional only on the current CI rerun completing green. |
aeebcb7 to
aa3bc60
Compare
|
Post-rebase independent receipt for exact head aa3bc60 (current base be6c57a). Verified the PR delta remains exactly three files: the series event route, its focused test, and series-event LAT documentation. No athlete browser-evidence, page-coverage evidence, or other PR627 artifacts leak into this diff. The prior P2 remains resolved: Movements is h2 and the focused assertion requires level 2. No new findings. Current CI: Start/Crew lint, branch-stack, GitGuardian, and CodeRabbit status are green; builds and E2E shards are still running. Verdict: LGTM, pending the rebased-head CI run completing green. |
d6316c1
into
codex/settings-athlete-form-context-fix
Summary
FormLabelRoot cause
SubEventFormrenderedFormLabeldirectly under the form without aFormFieldprovider. Parent series events therefore threwuseFormField should be used within <FormField>before their active sub-event editor could render.Scope
The production change is one route-local element replacement. Shared Form primitives, schemas, server functions, controller behavior, and update payloads are unchanged.
Verification
lat checkandgit diff --checkpassedmainSummary by cubic
Fix crash in the parent series sub-event editor by rendering the Movements collection as a semantic h2. Adds shared
@repo/ui/field,@repo/ui/empty-state, and@repo/ui/metricprimitives and applies them across Crew/Start to improve accessibility, responsive nav, and metric/empty-state composition with tests and docs.FormLabelwith<h2>for Movements and useFieldGroupin related editors to remove form-context errors while keeping proper legends and headings.Written for commit d6316c1. Summary will update on new commits.