Skip to content

feat(web): assignee avatar quick filter on sprint board, table and Gantt - #825

Merged
pikann merged 3 commits into
Paca-AI:masterfrom
robertcoroianu:feat/sprint-board-assignee-filter
Nov 24, 2026
Merged

pikann merged 3 commits into
Paca-AI:masterfrom
robertcoroianu:feat/sprint-board-assignee-filter

Conversation

@robertcoroianu

@robertcoroianu robertcoroianu commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds a row of member avatars to the sprint view toolbar. Clicking one or more filters tasks assigned to any of them; a "Clear" button resets it.
  • Shown for the Board, Table and Gantt layouts in the sprint context only.
  • The filter is transient: it lives in page state, resets on view switch, and is never written to the saved per-user view config. While active it replaces the view's own assignee filter; all other filters still apply.
  • Reuses the server-side assignee_ids filter, so column counts and pagination stay correct.
  • Strings added to all 9 locales (non-English translations are mine and worth a native check).

Notes

  • The strip shows the first 8 project members; others are reachable via view settings. No "Unassigned" avatar yet.
  • Table nests subtasks under parents, so a subtask assigned to a selected person may not show if its parent isn't. Worth checking manually.

Test plan

  • tsc and Biome clean
  • vitest for src/i18n and src/components/projects/interactions pass
  • Manually check the sprint Board, Table and Gantt: toggle one/several avatars, clear, switch views, group by assignee

🤖 Generated with Claude Code

Show a row of member avatars in the sprint board toolbar. Clicking one or
more filters the board to their tasks via the server-side assignee filter.
The filter is transient and never written to the saved view config.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@robertcoroianu
robertcoroianu force-pushed the feat/sprint-board-assignee-filter branch from fb1214d to 63c930e Compare November 24, 2026 11:32

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

One functional gap: the avatar strip stays interactive when the sprint board is grouped by assignee, but in that configuration the assignee filter is deliberately dropped, so every toggle is a no-op. Details inline.

Approach: sound — reusing the server-side assignee_ids filter keeps per-column counts and pagination consistent, and keeping the selection in page state avoids polluting the saved per-user view config.

Reviewed changes

  • New avatar strip — AssigneeQuickFilter lists the first 8 project members, toggles them with aria-pressed buttons, and offers a Clear button; member data comes from useMemberSearch.
  • Transient filter state — quickAssigneeIds lives in InteractionLayout, is cleared on view switch, and replaces the view's own assignee filter in apiFilters (clearing assignee_null) while all other filters still apply.
  • Toolbar placement — the strip renders only for the sprint context's Board layout.
  • i18n — the three new layout.shell.assigneeQuickFilter keys are present in all 9 locales and match the existing per-language term for "assignee".

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

@robertcoroianu robertcoroianu changed the title feat(web): assignee avatar quick filter on sprint board feat(web): assignee avatar quick filter on sprint board, table and Gantt Nov 24, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No functional issues in the delta — the strip's new Gantt and Table placements both reach the server filter. The two items from the previous review are unaddressed, so this stays non-approving.

Approach: unchanged and sound — one transient page-state selection feeding the existing assignee_ids server filter, now surfaced on three sprint layouts.

Reviewed changes

Reviewed the two commits since the prior pullfrog review (dcfeed19, b0af968e). The toolbar contrast tweaks (border-border/50, text-muted-foreground/90) and note-view restructuring that appear in a raw fb1214d..HEAD diff come from master, not from this PR.

  • Strip enabled on sprint Gantt and Table — the render gate now accepts Board, Gantt and Table. Gantt drops column queries, so its tasks come from the fallback allTasksQueryOptions, which carries assigneeIds/assigneeNull; Table's per-group column queries inherit the same options, as do per-group pagination and the nested children fetched through childFilters. Table grouped by assignee remains inert, exactly as the board is — already tracked in the open thread.
  • Toolbar placement — the strip moved inside the search/view-settings container, which keeps the note-view hidden behaviour and the sprint-only gate intact.
  • Comment refresh — the quickAssigneeIds comment now names all three layouts.

Pullfrog  | Fix it ➔ | View workflow run | Using deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

@pikann pikann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the contribution! 🚀

@pikann
pikann merged commit ad484c0 into Paca-AI:master Nov 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants