8356
Wx
www-xonecas-io / files
www-xonecas-io / tickets / 1028-let-s-make-the-slider-more-prominent-and-cool.md
1.9 KB
1--- 2id: 1028 3title: let's make the slider more prominent and cool. As wide as the table below it. 4type: feature 5status: done 6priority: p2 7created: 2026-11-08T04:27:51Z 8updated: 2026-11-08T20:16:24Z 9source: devnote 10area: site 11moves: 2026-11-08T04:37:47Z inbox doing drag; 2026-11-08T04:45:52Z doing review agent; 2026-11-08T20:16:24Z review done drag 12--- 13 14## Context 15 16Filed from `http://192.168.122.10:8080/projects/`, on `div.range.flex-1.max-w-md`. 17 18## Notes 19 20- 2026-11-08 04:28Z (agent): Triage: type feature (it was bug), priority p2, area site. Fixed the typo 'bellow' -> 'below'. 21 22 The slider is the 'Active' row on /projects from 1020: today it is capped at max-w-md (448px) and sits after an 'Active' label, with the range printed to its right. The table below spans the full content width (up to 1440px minus padding). Related: 1020. 23 24- 2026-11-08 04:45Z (agent): Done: the Active slider on /projects now spans the full width of the table (1376px of 1376px at 1440, and 358px at 390). Above the track is one bar per month, 191 of them from 2011-01 to 2026-11. Each bar is as tall as the number of projects with commits that month, and the bars between the thumbs turn accent. The thumbs are bigger (1.25rem, ink border) and sit on a 3px ink track. The bars are inset by half a thumb so each lines up under its month's thumb position. Hovering a bar shows e.g. '2016-03: 4 active'. The bar counts are computed in projects.js from the rows' data-months, so the build is unchanged. 25 26 Files: templates/projects.html, assets/site.css (.range, #bars), static/projects.js (+4 lines). 27 28 Checked in agent-browser at 1440 light and dark and at 390: narrowing to 2016-01 – 2021-01 lights 61 bars, shows 11 projects, sets ?from=2016-01&to=2021-01, and leaves no horizontal scroll at 390. go vet and go test pass. Not checked: Firefox (the -moz thumb rules were updated the same way, but I didn't test in that browser) and keyboard dragging beyond focus.