xonecas.io
8356
Wx

www-xonecas-io / files

www-xonecas-io / tickets / 1017-stars-is-github-data-not-git-let-s-remove-this.md

2.1 KB
1---
2id: 1017
3title: Stars is github data, not git. let's remove. This is a github replacement for my projects, not a reference to other repos.
4type: feature
5status: done
6priority: p2
7created: 2026-11-08T03:50:50Z
8updated: 2026-11-08T20:16:29Z
9source: devnote
10area: site
11moves: 2026-11-08T04:02:18Z inbox doing drag; 2026-11-08T04:11:47Z doing review agent; 2026-11-08T20:16:29Z review done drag
12---
13
14## Context
15
16Filed from `http://192.168.122.10:8080/projects/mini-coder/`, on `p.mt-3.text-sm.text-soft`.
17
18> 875 commits of 885 · 2026-02-20 to 2026-10-02 · 31 files · 36 ★
19
20## Notes
21
22- 2026-11-08 03:51Z (agent): Triage: type feature (it was bug: stars show as designed, this removes them), priority p2, area site. No typos to fix.
23  
24  Stars appear in 3 places: the project page header (project.html:11), each source under Sources (project.html:35), and the homepage cards ('N stars', index.html:27). They come from the GitHub/GitLab API in internal/store/meta.go, through project.Stars (internal/project/project.go:21, describe.go).
25  
26  Question: the same API call also gives each repo's fork flag and description. Remove only stars, as written, or every GitHub/GitLab API field? Related: 1015, also about showing upstream hosts instead of the site.
27
28- 2026-11-08 04:11Z (agent): Done. Star counts are gone from the site and the data, and nothing else changed. Fork flags and descriptions still come from the host APIs (my triage question; I kept to the ticket).
29  
30  - Templates: removed from the project header (project.html:11), each Sources entry (project.html:35), and the homepage cards (index.html:27).
31  - Data: removed Meta.Stars and the API fields in internal/store/meta.go, and Source.Stars and Info.Stars in internal/project, so data/projects.json has no 'stars' key.
32  
33  CHECKED: go vet, go test pass. make index, then make build. data/projects.json has 0 'stars' keys. mini-coder header reads '2026-02-20 to 2026-10-02 · 31 files'; homepage cards read '875 commits · post-AI big'. The only '★'/'stars' left in public/ HTML is a commit message in creativejs-threejs-part1 ('Made the stars move sideways').