Skip to content

Fix votes rendering, popularity sorting, and language filters#91

Merged
mre merged 7 commits intomainfrom
phase2/cleanup-old-code
Feb 20, 2026
Merged

Fix votes rendering, popularity sorting, and language filters#91
mre merged 7 commits intomainfrom
phase2/cleanup-old-code

Conversation

@mre
Copy link
Member

@mre mre commented Feb 20, 2026

  • Fix vote widget rendering and vote API caching in dev
  • Require vote fields across types and data pipeline (incl. Algolia indexing)
  • Update popularity sorting to factor deprecation, upvote %, and votes
  • Tighten language filtering to single-language tools when one language is selected
  • Merge language filters into one radio list sorted by popularity with “Show all”
  • Add docker build target with GCP credentials secret and BuildKit support
  • Misc cleanup (remove unused import, casing fix)

@mre mre changed the title Phase2/cleanup old code Fix votes rendering, popularity sorting, and language filters Feb 20, 2026
mre added 5 commits February 20, 2026 15:31
Switch from firebase-admin to @google-cloud/firestore for reading votes
data at build time. Remove credentials file handling and related
Dockerfile
steps. Simplify environment variable usage.
- Delete VotesRepository and related imports/usages
- Update types to require votes fields (not optional)
- Fetch votes in build-data script and include in static tools data
- Simplify vote percentage display logic in components
- Always show upvote percentage in UI
- Set API votes endpoint to no-store cache
- Remove dynamic votes fetching from static props
- Update sorting and utility functions for new vote fields
logic

- Language filter now supports radio mode for single-language selection
- Sidebar merges popular and all languages into one radio group
- Filtering logic updated to only match tools with exactly one language
  when a single language is selected
- Popularity sorting now deprioritizes deprecated tools
- Update Node.js version to 24 in Dockerfile and GitHub Actions
- Use BuildKit secret for GCP credentials during Docker build
- Add docker-build target to Makefile
- Include upVotes, downVotes, and upvotePercentage in Algolia index
@mre mre force-pushed the phase2/cleanup-old-code branch from 7992ad3 to a0c73c6 Compare February 20, 2026 14:33
@mre mre merged commit 954fef0 into main Feb 20, 2026
4 of 6 checks passed
@mre mre deleted the phase2/cleanup-old-code branch February 20, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant