Repository navigation
Metrics single-row toolbar, analytics header tabs, and GitHub repo-access crash fix - #1279
Merged
Merged
Maple Review Bot / Maple / review
completed
Oct 6, 2026 in 9m 22s
Confidence 3/5 · No issues found
🟡 Confidence 3/5 · needs attention
quality 100/100 · no findings · tests missing · risk low
Warning
This review ended early; what follows is what it established.
The pull request hoists BranchSelector's useAsyncAction above its zero-branch early return, fixing the hooks-order crash for repos that sync in with no branches, and folds the metrics/analytics controls into one header row. It reintroduces no risk; the merge is safe.
BranchSelectorrunsuseAsyncActionbefore returning null whenrepo.branchesis emptymetrics-summary-cards.tsxis deleted;MetricsTypeFilterreplaces it and never disables a type- Metrics page renders
MetricsBrowseFiltersandMetricsViewTogglein the header; analytics tabs moved intotitleContent
What was checked
git diff --statfrom base49cb661fto head shows onlygithub-integration-card.tsxdiffering, so the metrics and analytics hunks are already on mainsandbox_grepat the head forMetricsSummaryCardsfinds no remaining importer, so deletingmetrics-summary-cards.tsxbreaks no call sitemetrics-type-filter.tsxreads counts viaOption.getOrNull(AsyncResult.value(...))and renders options whenever the summary is null
Files not reviewed (1)
The review ended before it read these diffs, so nothing above vouches for them.
apps/web/src/components/metrics/metrics-summary-cards.tsx
65395ab · Updated on every push. Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.
Loading