Make tag badges link to tag pages #186
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Tag badges are rendered as non-clickable text in at least one public page context, so users cannot navigate from a tag badge to that tag’s page.
Steps to reproduce
Expected behavior
Actual behavior
Acceptance criteria
Synced from todu comment by @todu on 2026-06-22T16:45:51.215Z
Review update
./scripts/pre-pr.shpassed and Forgejo Actions #260 is successful.Synced from todu comment by @todu on 2026-06-22T16:52:21.583Z
Closing summary
Readiness: READY
Evidence from PR #190 merged to
main:05f9cd1includes commit67876e9, which introduced sharedTagBadgeLinkusage inFeedTagBadgesandPostTagswithhref={/tags/${tag.slug}}.TagBadgeLinkkeeps the existing badge classes and hover styling, preservesleading-5for feed badges, and adds focus ring classes includingfocus:ring-teal-500and dark-mode focus offset styling.template/site/src/routes/__tests__/public.test.tsto render a tag and asserthref="/tags/markdown",#markdown, andfocus:ring-teal-500.Task closed.