xonecas.io
8356
Wx

www-xonecas-io / files

www-xonecas-io / tickets / 1033-new-tags-are-missing-from-the-frontpage.md

2.1 KB
1---
2id: 1033
3title: new tags are missing from the frontpage
4type: bug
5status: done
6priority: p2
7created: 2026-11-08T05:06:40Z
8updated: 2026-11-08T20:16:22Z
9source: devnote
10area: site
11moves: 2026-11-08T05:07:38Z inbox doing drag; 2026-11-08T05:12:48Z doing review agent; 2026-11-08T20:16:22Z review done drag
12---
13
14## Context
15
16Filed from `http://192.168.122.10:8080/`, on `span.inline-flex.items-center.gap-1.5`.
17
18> post-AI
19
20## Notes
21
22- 2026-11-08 05:06Z (agent): Triage: type bug, priority p2, area site. No typos. The front page shows tags in two places, and neither has the topics from 1031: 1) the tag list under the intro (index.html:12) is the 6 structural tags, hard-coded in home.go:62 (HomeData.Tags), each linking to /projects/?tag=; 2) each Recent card's line '{{.P.Commits}} commits · tags' (index.html:27) prints only .P.Tags, not .P.Topics. Open for the user: which topics belong in the list (all 40, or only the commonest), and where a topic links (/projects/?q=<topic>, as on project pages). Related: 1031, 1032.
23
24- 2026-11-08 05:12Z (agent): Done: the front page now shows the new tags (topics) in two places.
25  
26  1. The sidebar: under the 6 tags there is now a block of topic chips, the ones used by 2 or more projects. That's 32 of the 40, most common first (node 23, ai-agent 15, react 14 ... vite 2), ties by name. Each links to /projects/?q=<topic>, like the chips on project pages, and its title shows the count ('23 projects'). I left out topics used by only one project, since a link to a single project isn't much of a browse.
27  2. Recent cards: the line under the strip now lists the topics after the tags, e.g. '58 commits · post-AI big frontend backend webrtc websocket react tailwind vite gin sqlite docker'.
28  
29  Files: home.go (HomeData.Topics as []TagCount, counted from shown projects), templates/index.html.
30  Checked: go vet and go test pass. In agent-browser at 1440, the 32 links and counts match the 1031 tally, there's no horizontal scroll, and I took a screenshot. Not checked: the phone layout. The sidebar stacks above the wall there, so the topic block makes the page longer before the wall.