Make tag badges link to tag pages #190
No reviewers
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!190
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/task-b21377e4-tag-badge-links"
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
Ensure public tag badges are rendered through a shared link component with accessible focus styling, and add regression coverage for post detail tag badge links.
Task
Task: #task-b21377e4
Changes
TagBadgeLinkrenderer for public tag badges./tags/{slug}in feed and post contexts.Testing
Verification:
npm exec --workspace @slugkit/template-site -- vitest run --config ../../vitest.config.ts src/routes/__tests__/public.test.ts./scripts/pre-pr.shNote: the current page already rendered anchors for the inspected tag badges; this PR adds explicit regression coverage and shared accessible link styling so that behavior is preserved.
Checklist
./scripts/pre-pr.shpassesPR Review
Summary
Reviewed PR #190 for task
task-b21377e4. The diff is scoped to public tag badge rendering and public page regression coverage. The sharedTagBadgeLinkkeeps tag badges linked to/tags/{slug}and adds visible focus styling while preserving the badge appearance.Acceptance criteria
PostTagsandFeedTagBadgesrender anchors viaTagBadgeLinkwithhref="/tags/${tag.slug}".public.test.tsnow creates a tagged post detail page and asserts the tag href, badge text, and focus styling.Verification
./scripts/pre-pr.shpassed.success build-lint-test, commit67876e924d).Blocking issues
None.
Warnings
None.
Verdict
Approved. Do not merge until explicit human merge approval is given.