Skip to content

fix(ui-ux): add category page filters, sorting, and stats - #1960

Closed
9876543210-tc-0123456789 wants to merge 1 commit into
e35ventura:testfrom
9876543210-tc-0123456789:uiux/category-page-controls-motion-evidence
Closed

fix(ui-ux): add category page filters, sorting, and stats#1960
9876543210-tc-0123456789 wants to merge 1 commit into
e35ventura:testfrom
9876543210-tc-0123456789:uiux/category-page-controls-motion-evidence

Conversation

@9876543210-tc-0123456789

@9876543210-tc-0123456789 9876543210-tc-0123456789 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #1958.

Upgrade /wiki/category/*/ pages from flat title lists into filterable, sortable topic directories that also expose the per-article stats already computed by articles.json.

Why This Should Ship

Large category hubs like Subnets are hard to scan when every card only shows a title and summary. Reusing the existing backlinks/reference/revision/word/section/read-time data gives readers a fast way to spot the newest, largest, and most connected entries without opening every article.

Review Notes

Visual Evidence

  • Page URL: /wiki/category/Subnets/
  • Viewport width: 1440px
  • Action taken in clip: load the page, use Filter articles with subnet 9, then switch Sort articles to Most backlinks and Recently updated.
  • Expected before behavior: the category hub is a flat title-and-summary list with no filter control, no sort control, and no visible per-article stats.
  • Expected after behavior: the page exposes in-place filter/sort controls, updates the visible result set without a reload, and shows backlinks, references, revisions, words, sections, reading time, and last-updated metadata on each card.
  • Motion evidence: https://tmpfiles.org/dl/wdwpb0oGBcra/category-after.webm

Target Branch

  • This PR targets test
  • This PR targets main only because it promotes test to production

Security Checklist

  • No secrets, tokens, build hooks, wallet seeds, or private endpoints are included
  • No unnecessary workflow, dependency, or deployment changes

Before

Screenshot 2026-07-02 083354

After

Screenshot 2026-07-02 100417

@taopedia-site-maintainer taopedia-site-maintainer Bot added feature Website feature or behavior request ui-ux Visual design, layout, or usability work labels Jul 1, 2026
@taopedia-site-maintainer

taopedia-site-maintainer Bot commented Jul 1, 2026

Copy link
Copy Markdown

Verdict: Needs visual approval

PR #1960: fix(ui-ux): add category page filters, sorting, and stats

Engineering:

  • Review type: Visual/product review
  • CI: All required CI checks passed: build
  • Cross-repo build: pass
  • Risk: medium
  • Changed files: 1
  • Changed lines: 392

Changed files:

  • src/pages/wiki/category/[category].astro

Guardrails:

  • Visual layout/style/rendering files changed; visual approval required.

Decision surface:

  • Checks and cross-repo build passed; this is waiting on interaction approval only.
  • If the documented interaction behavior is correct at the stated breakpoint, comment /merge.
  • If they look wrong or the change should not ship, comment /close.

What to check:

  • Changed page route(s): src/pages/wiki/category/[category].astro.

Preview links:

  • Production reference: https://taopedia.org
  • No automatic Netlify preview is available. Comment /preview to create on-demand before/after draft deploys for this PR.

Cross-repo validation:

  • pass merged checkout: Validated site PR head f58d571 merged into test, with articles test.
  • pass npm ci: Dependencies installed.
  • pass cross-repo build: GitHub Actions required build check passed; the redundant local build on the maintainer host was superseded by CI (raw local build log removed from this comment).

Human decision:

  • Review the author-provided interaction evidence and spot-check the before/after links.
  • Comment /merge to merge if this should ship.
  • Comment /close to close if this should not ship.

Automated review by Taopedia Site Maintainer.

@e35ventura

Copy link
Copy Markdown
Owner

/close no double search bar

@taopedia-site-maintainer

Copy link
Copy Markdown

Closing by maintainer command /close.


Automated review by Taopedia Site Maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Website feature or behavior request ui-ux Visual design, layout, or usability work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Category pages should expose filter/sort controls and article stats

2 participants