Repository navigation
feat(dashboard): draw escaped-fix series as solid lines - #47
fullsend-ai-coder[bot] wants to merge 1 commit into
Conversation
The 30-day escaped-fix rate chart on Quality Signals drew the fullsend series dashed (7 4) and the agents series dotted (2 3), and the legend swatches repeated those patterns. The issue asks for every series and swatch to be solid. Drop the dash element from the series tuples in renderChart() and remove the stroke-dasharray attribute from both the series paths and the legend swatch lines. Update the legend comment that explained the dash patterns. Series are now told apart by colour (accent, chart-1 and chart-3), which the screenshot in the issue shows as the desired result. Tooltips, the weekly-values table and the single-repo view are unchanged. Verified with node --check; the repo has no JS test suite and no headless DOM library is available in the sandbox, so the rendered chart was not checked visually. Closes #46 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🤖 Finished Review · ✅ Success · Started 6:27 PM UTC · Completed 6:32 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.95 |
|
Risk Assessment: moderate (2/5) DetailsSmall single-file dashboard change by a bot with minimal blast radius, assigned moderate risk due to elevated regression history and change coupling in git history without rollback feature flags. |
ReviewFindingsMedium
|
|
|
||
| series.forEach(([label, items, stroke, dash]) => { | ||
| series.forEach(([label, items, stroke]) => { | ||
| group.append("path").datum(items).attr("fill", "none").attr("stroke", stroke).attr("stroke-width", 2.5) |
There was a problem hiding this comment.
[medium] uxd-evaluate-code-heuristics
The PR removes the dash patterns, so the three series in the escaped-fix chart (All repos, fullsend, agents) differ only by colour. The same applies to the point markers (line 357) and the legend swatches (line 386). The a11y checklist flags 'information conveyed by color alone with no text, icon, or pattern alternative'. Users with colour-vision deficiency, or anyone on a low-contrast display, can't reliably tell the lines apart or match them to the legend. The removed comment said the dashes existed so that 'series differ by more than colour'. Hovering gives tooltips, but the static chart and legend lose the non-colour cue. Each series path carries an aria-label, but the legend SVGs are aria-hidden.
Suggested fix: Keep a non-colour differentiator, such as distinct marker shapes per series (matched in the legend swatch) or direct labels at line endpoints. If solid lines are required by #46, confirm that and add one of these alternatives.
|
Closing this issue since the review agent made a good point about why we should not make this change This really was just a test to see how triage and code can work together on coding a solution with an image instead of text after fullsend-ai/fullsend#9721 was merged and that proved successful here! |
Summary
Draws every series in the 30-day escaped-fix rate chart on the Quality Signals page (
docs/quality.js) as a solid line, and makes the legend swatches match, as the screenshot in the issue shows.Before this change,
renderChart()drew thefullsendseries dashed (7 4) and theagentsseries dotted (2 3), and the legend swatches used the same patterns.Changes
renderChart().stroke-dasharrayfrom the series paths and the legend swatch lines.Series are now told apart by colour only: lime (
--accent), blue (--chart-1) and orange (--chart-3). Tooltips, the weekly-values table and the single-repo view are unchanged.Testing
node --check docs/quality.jspasses.quality.js.quality.htmlwith the "All repos" filter and with a single repo, and check that all lines and swatches are solid.Context
PR #45 also edits
docs/quality.js. The two PRs may need a small merge-conflict fix.🤖 Generated with Claude Code
Closes #46
Post-script verification
agent/46-solid-escaped-fix-lines)ecdfe68221f804d66480711b53a1bf4e08b0325f..HEAD)