Repository navigation
feat(screenshots): v0.14.0 shots, version-history slider, lighter page - #88
Conversation
…on slider, and web-sized images The page is now generated from _data/screenshots.yml: a Latest section (filled by ActivityWatch/activitywatch scripts/screenshots.py), a 'How it has evolved' slider per view across versions, and the community competition gallery with credits. Displays downscaled WebP copies (36 MB -> 1.5 MB) and links the full PNGs.
|
| .evo-frame | ||
| a(href!="/img/screenshots/{{ cur.src }}" data-evo-link) | ||
| img(src!="/img/screenshots/web/{{ cur.src | replace: '/', '_' | replace: '.png', '.webp' }}" alt!="The {{ e.view }} view in ActivityWatch {{ cur.version }}" data-evo-img) | ||
| input(type="range" min="0" max!="{{ last }}" value!="{{ last }}" step="1" aria-label!="Version of the {{ e.view }} view" data-evo-range) |
There was a problem hiding this comment.
Slider announces numbers, not releases
The version slider tells screen-reader users only its numeric position, such as “5.” Its aria-label names the view but does not explain which release is selected. Users must find the separate caption to learn that. Set aria-valuetext to the selected version and year when the page loads, then update it in show(i).
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Fixed in fe574a9: aria-valuetext is set to the version and year on load and updated in show(i).
…e and schema.org image Generated with scripts/screenshots.py (ActivityWatch/activitywatch#1500): light and dark for 13 views. Latest section shows light with a dark-mode link; Activity and Timeline sliders gain a v0.14.0 stop. Homepage swaps the v0.9.3/v0.8.0 images.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Restructures /screenshots/ into a data-driven page (
_data/screenshots.yml):scripts/screenshots.pyin ActivityWatch/activitywatch (demo data on an isolated server). Hidden until populated.evolution.img/screenshots/web/, max 1600 px wide) and links the full PNGs: page weight 36 MB → 1.5 MB.Includes the v0.14.0 shots (light + dark, 13 views) generated by ActivityWatch/activitywatch#1500, and swaps the homepage and schema.org images (v0.9.3/v0.8.0 → v0.14.0).