Repository navigation
Show view counts on the shareable resource pages - #583
Merged
Alejandro Lopez (soyalejolopez) merged 1 commit intoNov 2, 2026
Merged
Conversation
Each r/<slug>/ page now has a Views row in its details panel, between Format and Version, matching the catalog's detail view. The page reads resource-stats.json in the browser, so counts update without rebuilding the pages. The row stays hidden if the file cannot be read, and download pages do not have one. A resource with no recorded views reads 0. - Hover text is the same as the catalog's, and a test fails if the two drift apart. - Tests cover the row's position, the script's source and slug lookup, the hidden-row CSS, and the absence of the row on download pages. - Regenerated the 58 resource pages. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
🛰️ PR Sweeper reportRisk: 🟢 LOW · Security gate: ✅ passing · Files: 62 🔒 Automated guardrails (authoritative)
🤖 Dual-model AI review (advisory)AI review unavailable for this run (models not reachable or no diff). Guardrails above are unaffected.
The automated guardrails are authoritative and gate the security status. The AI review is advisory and never auto-merges. Thanks for contributing to FastTrack! 🛩️ |
Alejandro Lopez (soyalejolopez)
deleted the
show-views-on-resource-pages
branch
November 2, 2026 19:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each r// page now has a Views row in its details panel, between Format and Version, matching the catalog's detail view. The page reads resource-stats.json in the browser, so counts update without rebuilding the pages. The row stays hidden if the file cannot be read, and download pages do not have one. A resource with no recorded views reads 0.