Skip to content

Remove browse by tag - #86

Merged
lbesecker195 merged 1 commit into
mainfrom
chore/remove-browse-by-tag
Oct 1, 2026
Merged

lbesecker195 merged 1 commit into
mainfrom
chore/remove-browse-by-tag

Conversation

@lbesecker195

Copy link
Copy Markdown
Owner

Closes #85.

The most-used tag covers 8 of about 37,000 listings, so every tag page was close to empty. This removes the browsing and keeps the tags.

Change
Directory: tag chip row, ?tag= filter, active-tag pill removed
Home: "Browse by tag" section removed
Footer: "Developer tools" (a tag link) removed
Registry.top_tags/1 removed — no caller left
A listing's Tags panel kept, as plain text instead of links; icon changed from a funnel to a tag
?tag= URLs 301 to the same page without it, other query params kept
Search matching tags kept
JSON API tag filter kept — clients may depend on it

Why a plug for the redirect

A LiveView can only answer its first request with a 302. Every listing page linked to /servers?tag=…, so those URLs are in crawlers' indexes. A 301 folds them into the page they now show, instead of leaving a copy of /servers under every tag. The plug runs only in the browser pipeline, so the API's tag parameter is untouched.

Tests

Nothing covered tag browsing before. Added: neither page offers it, listing tags render as text, old URLs 301 with other params preserved, and the API filter still works. 231 passing on three seeds.


Pages affected:

🤖 Generated with Claude Code

The most-used tag covers 8 of about 37,000 listings, so every tag page was
close to empty. This removes the browsing and keeps the tags.

- Gone: the directory's tag chip row and ?tag= filter, the home page's
  "Browse by tag" section, the footer's tag link, and top_tags/1, which
  had no other caller
- A listing's own tags stay, as text instead of links
- ?tag= URLs 301 to the same page without it, keeping any other query;
  every listing page linked there, so crawlers and bookmarks hold them
- Search still matches tags, and the JSON API keeps its tag filter

Closes #85

---

Pages affected:

- [MCP server directory](https://ai.mcpharbor.dev/servers) -- no tag filter row.
- [MCP Harbor](https://ai.mcpharbor.dev/) -- no browse-by-tag section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lbesecker195
lbesecker195 merged commit 7bc6961 into main Oct 1, 2026
@lbesecker195
lbesecker195 deleted the chore/remove-browse-by-tag branch October 1, 2026 19:44
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.

Remove browse by tag

1 participant