Quote what a reply answers instead of a bold link #409
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.43) × (1 − Review Confidence (0.25)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 360 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 47% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.352
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #409"
general
weight: 0.35
devin-ai-integration[bot]
Why
A reply's context looked different depending on how the reply was made:
There was also a crash. The answer-quote code inserted the quote with
row.insertBefore(quote, meta.nextSibling), but neitherrownormetaexists ineventCard. When an answer wasn't directly under its question, rendering threw and the whole conversation stayed blank. The new test reproduces this onmain: it fails with "The conversation did not render every message".What changed
- The quote is a button that jumps to the original, using the existing in-timeline jump.
- Hovering it darkens the text.
- Its accessible name is "Show the message this replies to: …".
Screenshots
Same steps in both:
1. answer the question
2. reply to the latest result
3. reply to the first result
| Before | After |
| --- | --- |
| <img alt="Before: every reply has a bold Open original message link, including ones directly under their original" src="https://github.com/user-attachments/assets/b5bacf95-bddd-42a6-8016-775569f0dedf" width="480"> | <img alt="After: the answer and the reply to the latest result have no link; the reply to an earlier result shows a quiet quote above the bubble" src="https://github.com/user-attachments/assets/0a76d26a-34b9-4262-8e0c-130b5fb3093d" width="480"> |
Verification
web/tests/reply-quote.mjs, registered in CTest, checks:- no quote under an adjacent original
- the quoted text sits above the bubble
- the answer keeps its question
- clicking the quote highlights the original
mainbecause of the render crash and passes here..mjstests pass with Chrome.🤖 Generated with Claude Code
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/my-name-is-yu/flock/pull/409" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->