Skip to content

feat(collab): cut collaboration over to metric results#196

Merged
aleksdotbar merged 3 commits into
mainfrom
feat/unified-metrics-collab-ui
Jul 15, 2026
Merged

feat(collab): cut collaboration over to metric results#196
aleksdotbar merged 3 commits into
mainfrom
feat/unified-metrics-collab-ui

Conversation

@aleksdotbar

Copy link
Copy Markdown
Contributor

Cuts the Collaboration dashboard group over to POST /v1/metric-results, mirroring the git and AI cutovers.

  • one MetricGroup with 19 collab.* keys; legacy messaging panel and summary strip removed
  • modality summary cards with dimension breakdowns replace the trend charts
  • peer standing derived in one layer: median-strict quartiles stop degenerate pools ranking everyone, gap sign is arithmetic while color carries favorability, shared status-stripe token
  • brand series colors for connector and tool breakdowns
  • heatmap bullet columns keep the legacy collab feed until team surfaces migrate

Closes constructorfabric/insight#1703

@aleksdotbar
aleksdotbar requested a review from a team as a code owner July 14, 2026 10:00
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@aleksdotbar, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 47 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 30ffa94a-2f6a-4f9f-897c-7e338dbd5022

📥 Commits

Reviewing files that changed from the base of the PR and between 6f55e6a and 0016050.

📒 Files selected for processing (47)
  • src/api/metric-registry.ts
  • src/api/metric-results-client.ts
  • src/components/widgets/metric-views/collection-drilldown.test.tsx
  • src/components/widgets/metric-views/collection-drilldown.tsx
  • src/components/widgets/metric-views/metric-breakdown.tsx
  • src/components/widgets/metric-views/metric-group-card.tsx
  • src/components/widgets/metric-views/metric-summary-card.test.tsx
  • src/components/widgets/metric-views/metric-summary-card.tsx
  • src/components/widgets/metric-views/metric-trend.tsx
  • src/components/widgets/metric-views/peer-story.tsx
  • src/components/widgets/metric-views/team-metric-group-card.tsx
  • src/components/widgets/v2/collab-messaging-panel.stories.tsx
  • src/components/widgets/v2/collab-messaging-panel.test.tsx
  • src/components/widgets/v2/collab-messaging-panel.tsx
  • src/components/widgets/v2/group-drilldown-sheet.tsx
  • src/components/widgets/v2/members-heatmap/triage-list.tsx
  • src/components/widgets/v2/peer-story-section.tsx
  • src/components/widgets/v2/section-card.tsx
  • src/components/widgets/v2/summary-with-breakdown.tsx
  • src/index.css
  • src/lib/insight/attention.ts
  • src/lib/insight/groups.ts
  • src/lib/insight/kpi-row.test.ts
  • src/lib/insight/kpi-row.ts
  • src/lib/insight/team-metrics.test.ts
  • src/lib/insight/team-metrics.ts
  • src/lib/insight/v2/bullet-defs.ts
  • src/lib/insight/v2/derivations.ts
  • src/lib/insight/v2/metric-order.ts
  • src/lib/metrics/peer-standing.test.ts
  • src/lib/metrics/peer-standing.ts
  • src/lib/metrics/peer-story.test.ts
  • src/lib/metrics/peer-story.ts
  • src/lib/metrics/shares.test.ts
  • src/lib/metrics/shares.ts
  • src/lib/peers.test.ts
  • src/lib/peers.ts
  • src/lib/scoring.ts
  • src/lib/series-colors.test.ts
  • src/lib/series-colors.ts
  • src/lib/status.ts
  • src/lib/swatch-palette.test.ts
  • src/lib/swatch-palette.ts
  • src/mocks/metric-results-fixtures.ts
  • src/queries/v2/ic-extras.ts
  • src/queries/v2/team-extras.ts
  • src/screens/ic-dashboard/engineering-dashboard-v2.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/unified-metrics-collab-ui

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@aleksdotbar
aleksdotbar force-pushed the feat/unified-metrics-collab-ui branch 2 times, most recently from 72d242c to 49e55a8 Compare July 14, 2026 10:25
@aleksdotbar aleksdotbar linked an issue Jul 14, 2026 that may be closed by this pull request

@ktursunov ktursunov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fill in the gaps in coverage

@aleksdotbar
aleksdotbar force-pushed the feat/unified-metrics-collab-ui branch from 49e55a8 to ad9f9f3 Compare July 15, 2026 10:15
Hash-to-hue series coloring collided (all collaboration tools landed
in one blue band) on top of greyscale chart tokens. Known tools now
map to vendor-brand tokens tuned per ground, unknown seeds fall back
to shadcn categorical chart tokens in sorted order; composition
legends switch to tenth precision when integer shares would show a
nonzero part as 0%.

Signed-off-by: Aleksandr Barkhatov <pm@aleks.bar>
Surfaces re-deriving standings from raw stats produced contradictory
verdicts: quartile chips flattering all-zero pools, good-coloring next
to Bottom 25%, favorability-signed gaps reading as position on
lower-is-better metrics. derivePeerStanding owns eligibility and both
judgments; displays only map the result. Median-strict quartile rule,
arithmetic gap sign, shared inset-shadow status stripe, KPI tile
explanation row.

Signed-off-by: Aleksandr Barkhatov <pm@aleks.bar>
Mirrors the git/AI cutovers: one MetricGroup with 19 collab.* keys,
modality summary cards with dimension breakdowns replace the trend
charts, legacy messaging panel and summary strip die. Heatmap bullet
columns keep the legacy collab feed until team surfaces migrate.

Signed-off-by: Aleksandr Barkhatov <pm@aleks.bar>
@aleksdotbar
aleksdotbar force-pushed the feat/unified-metrics-collab-ui branch from ad9f9f3 to 0016050 Compare July 15, 2026 10:22
@aleksdotbar
aleksdotbar merged commit d68de35 into main Jul 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants