refactor(ui): compose Crew preview metrics - #649
Conversation
|
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 at exact head The first pass found that the shared Verified:
GitNexus graph queries remained unavailable because the MCP runtime cannot read the repository's newer LadybugDB storage version, even after re-indexing this exact worktree. The review therefore used the exact SHA diff, source contracts, focused runtime tests, type-checking, inventory/LAT validation, and live GitHub state as the authoritative evidence. |
Summary
Metric.Inset,Metric.Label, andMetric.Valuecompositiondl/dt/ddsource orderlat.mdStack
codex/metric-summary-migration)Validation
pnpm --filter crew test -- crew-copy-prior-event-panel.test.tsx crew-template-panel.test.tsx— 4/4 passedpnpm --filter crew type-checkpnpm --filter wodsmith-start check:ui-inventorylat check7ecd5ebe6b2569a3cea4204b4514df9381625ec0Full Crew baseline remains unchanged: known missing organizer component imports, stale event-import label assertions, and the recurring XLSX decompression timeout are outside this slice.
mainSummary by cubic
Replaced local metric cards in the Crew copy-prior-event and template panels with shared
Metric.Inset/Metric.Label/Metric.Valueto standardize semantics and styling. Keeps the three-column layout, compact typography, and visible value-before-label order while using semanticdl/dt/dd.Metricparts; removed duplicate local helpers.order-firstwhile source order stays label→value.lat.mdto document Crew compact preview consumers and the reviewed boundary.Written for commit d6316c1. Summary will update on new commits.