Bug Description
Repository Comparison displays a metric labelled “Watchers”, but it maps GitHub’s watchers_count field. In the repository API, that legacy field mirrors stargazers_count; the actual subscriber total is subscribers_count. The page therefore shows the stars total twice and misstates the watcher metric.
Steps to Reproduce
- Open Repository Comparison.
- Add two repositories whose subscriber totals differ from their star totals.
- Compare the Stars and Watchers values.
- Observe that Watchers duplicates Stars.
Affected Area
Dashboard
Screenshots
Not applicable; the mapping is in src/app/dashboard/repo-comparison/page.tsx.
Browser & OS
Any modern browser
Environment
Both
Additional Context
Use subscribers_count and label it Subscribers, or rename the existing duplicated value so it accurately represents what is returned by the API.
Bug Description
Repository Comparison displays a metric labelled “Watchers”, but it maps GitHub’s
watchers_countfield. In the repository API, that legacy field mirrorsstargazers_count; the actual subscriber total issubscribers_count. The page therefore shows the stars total twice and misstates the watcher metric.Steps to Reproduce
Affected Area
Dashboard
Screenshots
Not applicable; the mapping is in
src/app/dashboard/repo-comparison/page.tsx.Browser & OS
Any modern browser
Environment
Both
Additional Context
Use
subscribers_countand label it Subscribers, or rename the existing duplicated value so it accurately represents what is returned by the API.