diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-27 21:50:05 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-27 21:50:05 +0300 |
| commit | c5c14267fe4f991654251437ed8523a43067f8ac (patch) | |
| tree | 8577375a5df87ab289cdb70bd1849de7017f7bd4 /LICENSE | |
| parent | a38e9b8e94d0b242cd6091078e9f7dac010dc08f (diff) | |
showcase: grey out inactive projects in rank history SVG
Inactive projects (avgCommitAge > 730 days AND last commit > 365 days ago,
matching the gemtext inactivity notice) are now visually distinguished:
Default state
- Plot line: rendered as #555 grey at 0.3 opacity so it is visible but does
not compete with active coloured lines.
- Legend entry: dimmed to 0.35 opacity.
On legend-entry hover
- The line snaps to its project colour and is bolded (stroke-width 3) at
full opacity — identical behaviour to active projects.
- Other inactive lines remain at their grey resting state (not dimmed to
0.08 alongside active ones) so they stay readable.
On leave
- Both stroke colour and opacity are restored per-project: grey+0.3 for
inactive, colour+0.55 for active.
The inactivity flag is stored in the PROJECTS JSON (inactive:true/false) so
all JS state transitions can consult it without touching the DOM attributes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions
