feat: board filtering + status view #15
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-docs-app#15
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?
Lineage
plan-pal-e-docs→ Phase F2 (phase-pal-e-docs-board-filtering)Repo
forgejo_admin/pal-e-appUser Story
As a platform operator
I want to filter board items by type and collapse columns
So that I can focus on specific work types and see status at a glance on boards with 10-20+ items
Context
Board pages currently show all items in all 7 columns with no filtering. The backend already supports
item_typeandcolumnquery params onGET /boards/{slug}/items, but since the frontend loads all items for drag-and-drop, filtering should be client-side for responsiveness.The existing board page (
src/routes/boards/[slug]/+page.svelte) has:Item types available: plan (#ffd700), phase (#55efc4), issue (#74b9ff), todo (#e94560), repo (#dfe6e9), project (#a29bfe).
File Targets
Files to modify:
src/routes/boards/[slug]/+page.svelte— add filter pills, collapsible columns, summary card, "hide done" togglesrc/routes/projects/[slug]/+page.svelte— add board mini-view showing column distributionFiles NOT to touch:
src/lib/api.ts— no API changes needed (client-side filtering)src/routes/+layout.svelte— nav changes are in Issue #1 (search)src/lib/components/blocks/— block renderers are unrelatedAcceptance Criteria
?type=phase&hide_done=true)Test Expectations
?type=phase&hide_done=true, verify filters restoredConstraints
typeColor()fromsrc/lib/colors.ts— filled background when active, outline when inactive$derivedto filter displayed items while keeping full list for moves)Checklist
Closes #2Related
phase-pal-e-docs-board-filtering— plan phase in pal-e-docsplan-pal-e-docs— parent plan