Code diff · 11

Review comment thread

Code-review thread anchored to a line — avatar, body, reactions, optional code suggestion block, and resolve toggle.

Production answer

Review comment thread is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.

Primary CTAReview Review comment thread states
Generative search brief

Review comment thread: Code-review thread anchored to a line — avatar, body, reactions, optional code suggestion block, and resolve toggle.

PR #482 · apps/web/quote-instant-pricing.ts L31
apps/web/quote-instant-pricing.ts · L31
Sophie Tan

We should pin the cohort weighting — otherwise instantQuote() will read whatever Edge Config has cached, which is stale on first deploy.

Suggested change
return instantQuote(partIds, bayId, cohort)
const weighting = await getCohortWeighting(cohort)
return instantQuote(partIds, bayId, cohort, weighting)
Marcus Halverson

Good call. Will pipe getCohortWeighting() through in the next push.

2 replies
apps/parts/catalogue.tsx · L17
Jordan Pace

Reduced-motion fallback to PartsList is correct, but let’s also disable the autorotate on the 3D viewer if prefers-reduced-motion is on, even for users who explicitly enabled the viewer.

1 reply
Behaviour

The thread is aria-live polite so new replies announce as they post. The resolve toggle uses aria-pressed and updates in place. Suggestion blocks render as a mini-diff with their own apply CTA, distinct from the parent thread.