feat(home): add a Taopedia At A Glance statistics band - #1972
Open
jason020818 wants to merge 1 commit into
Open
Conversation
The landing page surfaces topics, articles, subnets, and recent changes, but never the overall scale of the wiki — a reader can't tell whether the knowledge base is broad without leaving for Special:Statistics. The hero mentions only the article count in passing. Add a compact, purely static At A Glance band directly under the hero with the three headline figures the directory already tracks: Articles, Topics, and Subnets, each linking to its Special: directory. The counts come straight from the same build-time artifacts those pages use (the slug map, the category index, and the shared buildSubnets() roster), so the band can never disagree with Special:AllPages, Special:Categories, or Special:Subnets. Topics uses the same 'categories with at least one article' definition Special:Statistics reports. No interaction styles or scripts are introduced. Refs e35ventura#521
|
Verdict: Needs visual approval PR #1972: feat(home): add a Taopedia At A Glance statistics band Engineering:
Changed files:
Guardrails:
Decision surface:
What to check:
Preview links:
Cross-repo validation:
Human decision:
Automated review by Taopedia Site Maintainer. |
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.
What & why — Refs #521
The landing page surfaces topics, core articles, subnets, and recent changes, but it never shows the overall scale of the wiki. A reader can't tell whether the knowledge base is broad or thin without leaving for Special:Statistics — the hero only mentions the article count in passing.
This adds a compact, purely static Taopedia At A Glance band directly under the hero with the three headline figures the directory already tracks — Articles, Topics, and Subnets — each linking to its
Special:directory.buildSubnets()roster), so the band can never disagree with Special:AllPages, Special:Categories, or Special:Subnets.Special:Statisticsreports.Screenshots
/(homepage)Before:
After:
The new band, close up:
Target Branch
testTesting
astro buildrenders the band on/(verified indist/index.html)node scripts/check-home-links.jspasses (no bare-slug article links introduced)buildSubnets()→ Special:Subnets), so the band can never disagree with them:hover/:focus/transition/script changes — the change is fully demonstrated by the static screenshots above