Skip to content

fix: a passing day turns bluer in steps of two days, and the legend says a day keeps its colour - #17

Merged
Vovanda merged 1 commit into
fullfrom
fix/runs-table-steps
Oct 5, 2026
Merged

Vovanda merged 1 commit into
fullfrom
fix/runs-table-steps

Conversation

@Vovanda

@Vovanda Vovanda commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

A pass faded by 1/30 a day, too little to see from one day to the next, and the legend's "fading to ice over 30 days" read as if past days were recoloured.

  • A pass turns a step bluer every 2 days without a run (15 steps, ice from day 30); a failure rots evenly, as before.
  • The legend shows a day 0, 2, 7, 15 and 30 days after its run and says a day keeps its colour; a new run makes its day green or red again. The README says the same.
  • The template's samples page takes the same rule in its own PR.

Checked by drawing the legend and two branches from made-up reports (one pass and one failure 32 days ago), light and dark.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NczLWHuimhqeSmGQ2jjX8X

…ays a day keeps its colour

- ci-svg.py: fade_of - a pass a step bluer every PASS_STEP_DAYS (2) days without a run, ice from day 30;
  a failure darker evenly every day, as before; the same rule as fadeOf of the template's samples page
- the legend shows a day 0, 2, 7, 15 and 30 days after its run, says a day keeps its colour and a new run
  makes its day green or red again; its width follows its longest line
- generate.sh: the README's words say the same, the step read from ci-svg.py
@Vovanda
Vovanda force-pushed the fix/runs-table-steps branch from 7cc2c9e to 6ad0c01 Compare October 5, 2026 07:58
@Vovanda
Vovanda merged commit 59b7503 into full Oct 5, 2026
3 checks passed
@Vovanda
Vovanda deleted the fix/runs-table-steps branch October 5, 2026 08:03
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