feat(kb): surface article tags as clickable filter chips #141
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/mapps-157-kb-tags-display"
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?
KB articles persisted a tags array but nothing in the SPA ever displayed or used it: the detail view rendered no tags, the list had no tag column or filter, and there was no way to find articles by tag.
Render tags as clickable chips on both the article detail view and each list row via a shared TagChips component. Clicking a chip navigates to the article list with a new ?tag= route query. The list seeds a tag_filter signal from that query (kept in sync across same-route navigation with use_reactive) and, because the server q filter ignores tags, pulls a broad page and filters/paginates by tag client-side. An active tag shows a "Filtered by tag" banner with a clear control.
The list resource now reads search, category, tag, and page INSIDE the use_resource closure so each re-runs the fetch, matching the contacts list pattern (MAPPS-148); the previous outside-the-closure captures never subscribed the resource.
#MAPPS-157