8356
Wx
www-xonecas-io / files
www-xonecas-io / tickets / 1018-the-title-is-pinned-but-i-can-t-pin-or-unpin.md
2.0 KB
1--- 2id: 1018 3title: The title is Pinned, but I can't pin or unpin anything. Let's order by most recent commits, and let's show 12 tiles 4type: feature 5status: done 6priority: p2 7created: 2026-11-08T03:52:31Z 8updated: 2026-11-08T20:16:28Z 9source: devnote 10area: site 11moves: 2026-11-08T04:02:17Z inbox doing drag; 2026-11-08T04:13:45Z doing review agent; 2026-11-08T20:16:28Z review done drag 12--- 13 14## Context 15 16Filed from `http://192.168.122.10:8080/`, on `h2.font-bold.text-lg`. 17 18> Pinned 19 20## Notes 21 22- 2026-11-08 03:52Z (agent): Triage: type feature (it was bug: the section works as built, this changes it), priority p2, area site. No typos to fix. 23 24 Today (internal/site/home.go:95-104): the 6 projects with the most commits in the latest year, sorted by that count. The heading says 'Pinned', with 'busiest in {year}, by month' beside it (index.html:21). The ticket asks: sort by most recent commit, show 12. 25 26 Question: the heading and its subtitle no longer fit. What should they say, for example 'Recent' and 'by last commit'? Each card's monthly chart for the latest year can stay as is unless you say otherwise. 27 28- 2026-11-08 04:13Z (agent): Done, with heading 'Recent' and subtitle 'by last commit' (my call, as you asked). The section shows 12 projects, newest last commit first. Each card's monthly strip for the latest year is unchanged. 29 30 - internal/site/home.go: Pinned renamed Recent; sorted by Project.Last, newest first (stable, so ties keep list order); capped at 12, was 6. HomeData.Year is unused now, so I removed it. 31 - internal/site/templates/index.html: new heading and subtitle, ranges over .Recent. 32 33 CHECKED: go vet, go test pass. Rebuilt. In agent-browser, the 12 tiles match data/projects.json sorted by 'last': dotfiles (2026-11-07), macotron-plugin-caffeinate, mini-coding-agent, irvc, nvim-bend-syntax, tiny-c-agent, mini-coder, vim-ai-complete, sacenox.github.io, pi-extensions, cel-tui, learning-ai-lua-code-model (2026-06-16). Screenshot: 3 columns x 4 rows at 1280px. 34 35 NOT CHECKED: phone width. irvc is on the homepage now because of 1019.