feat(kb): surface article tags as clickable filter chips #141

Merged
David merged 1 commit from fix/mapps-157-kb-tags-display into main 2026-06-14 18:12:26 +02:00
Owner

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

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
feat(kb): surface article tags as clickable filter chips
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 50s
Create release / Create release from merged PR (pull_request) Has been skipped
2ff408d9d3
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
David merged commit e020aacc83 into main 2026-06-14 18:12:26 +02:00
David deleted branch fix/mapps-157-kb-tags-display 2026-06-14 18:12:26 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!141
No description provided.