Skip to content

Enhance AnalyticsFilterBar and AllTasksAssigneeFilter with Select All… - #962

Merged
chamikaJ merged 2 commits into
developmentfrom
946-improvement-add-select-all-option-to-member-filters-in-all-reports
Nov 20, 2026
Merged

chamikaJ merged 2 commits into
developmentfrom
946-improvement-add-select-all-option-to-member-filters-in-all-reports

Conversation

@DinuniWork

@DinuniWork DinuniWork commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

… functionality

  • Added a test case for the 'Select all' feature in the Members filter of AnalyticsFilterBar.
  • Implemented 'Select all' button in AllTasksAssigneeFilter to select all visible members.
  • Updated TimeLogsFilterPanel to support bulk actions with a new prop.

Summary by CodeRabbit

  • New Features
    • Added “Select all” bulk actions for members in analytics and time-log filters.
    • In all-tasks reports, “Select all” adds visible members to the assignee selection while preserving existing selections. It is unavailable when no members are visible or all visible members are already selected.
    • “Clear all” is unavailable when no assignees are selected.
  • Bug Fixes
    • The “Unassigned” option now appears alongside the member list, not while the list is loading.

… functionality

- Added a test case for the 'Select all' feature in the Members filter of AnalyticsFilterBar.
- Implemented 'Select all' button in AllTasksAssigneeFilter to select all visible members.
- Updated TimeLogsFilterPanel to support bulk actions with a new prop.
@DinuniWork
DinuniWork requested a review from chamikaJ as a code owner November 16, 2026 05:24
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Analytics and time-sheets Members filters now enable bulk actions. The all-tasks assignee filter adds a Select all control for visible members, updates selection without duplicates, and places the Unassigned checkbox with the member list.

Changes: Reporting member selection

Layer / File(s) Summary
Enable member-filter bulk actions
worklenz-frontend/src/components/reporting/analytics/filters/AnalyticsFilterBar.tsx, worklenz-frontend/src/pages/reporting/time-sheets/components/time-logs/TimeLogsFilterPanel.tsx, worklenz-frontend/src/components/reporting/analytics/filters/AnalyticsFilterBar.test.tsx
The analytics and time-sheets Members filters enable bulk actions. An analytics test checks that selecting all passes both member IDs to onMembersChange.
Add visible-member selection to all-tasks reports
worklenz-frontend/src/pages/reporting/all-tasks-reports/components/all-tasks-reports-filters/all-tasks-assignee-filter.tsx
The assignee filter adds visible member IDs to existing selections without duplicates. Select all and Clear all are disabled when their actions are unavailable. The Unassigned checkbox appears with the member list.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Possibly related issues

  • Worklenz/worklenz#946: This PR adds Select all behavior to member filters in Analytics, All Tasks, and Time Sheets, but the issue requests coverage across Reports sections generally.
Merge Risk: Minimal · up to f2999

This change adds Select all controls to the member filters in analytics, time sheets and all-tasks reports. No concrete defect was found, so the merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title says the PR enhances AnalyticsFilterBar and AllTasksAssigneeFilter with Select All functionality. The changeset adds a Select All option to the Members filter in AnalyticsFilterBar with a te…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title says the PR enhances AnalyticsFilterBar and AllTasksAssigneeFilter with Select All functionality. The changeset adds a Select All option to the Members filter in AnalyticsFilterBar with a test, adds a Select All action to AllTasksAssigneeFilter, and enables bulk actions for the Members pill in TimeLogsFilterPanel. The title covers the main change, but it does not mention the TimeLogsFilterPanel change, which is smaller.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 299fd83 and f2999fa.

Files selected for processing: 2

  • worklenz-frontend/src/components/reporting/analytics/filters/AnalyticsFilterBar.test.tsx
  • worklenz-frontend/src/components/reporting/analytics/filters/AnalyticsFilterBar.tsx

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

# Conflicts:
#	worklenz-frontend/src/components/reporting/analytics/filters/AnalyticsFilterBar.test.tsx
@chamikaJ
chamikaJ merged commit 39de7a2 into development Nov 20, 2026
11 checks passed
@chamikaJ
chamikaJ deleted the 946-improvement-add-select-all-option-to-member-filters-in-all-reports branch November 20, 2026 09:21
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