Skip to content

fix(audit): collapse score trend to one point per day - #268

Merged
gkhngyk merged 1 commit into
mainfrom
fix/audit-trend-daily-points
Jun 17, 2026
Merged

gkhngyk merged 1 commit into
mainfrom
fix/audit-trend-daily-points

Conversation

@gkhngyk

@gkhngyk gkhngyk commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Auditing the homepage multiple times in one day rendered several chart points with the same x-axis label (Jun 16, Jun 16, Jun 16) — indistinguishable and looks broken. Collapse the trend to one point per calendar day (the latest audit that day) so it reads as a clean day-by-day line with unique labels. The delta and headline score use the same daily series; the category-breakdown grid still reflects the latest audit.

Related issue

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

  1. Run 2+ audits of your homepage on the same day.
  2. Open the Site Audit hub → the score-over-time chart shows a single point for today (not duplicate Jun 16 labels), and earlier days each appear once.

Checklist

  • Branch follows the naming convention (fix/)
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/)
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR

Multiple audits of the homepage on the same day produced repeated identical
x-axis labels (e.g. 'Jun 16, Jun 16, Jun 16'). Keep the latest audit per
calendar day so the trend reads as a clean day-by-day line with unique labels;
the delta and headline score use the same daily series.
@gkhngyk
gkhngyk merged commit bb8680f into main Jun 17, 2026
4 checks passed
@gkhngyk
gkhngyk deleted the fix/audit-trend-daily-points branch June 17, 2026 08:39
@gkhngyk gkhngyk mentioned this pull request Jun 21, 2026
4 of 12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant