Replaces the “Add Policies” picker with a modal table (search, pagination, multi-select). Adds filters: policy type, platform, last synced, ignored, has versions; “Select all” applies to the current filtered results. Improves identifiers shown (short external id), and fixes has-versions filtering behavior. Backup set items table: groups row actions (View policy / Remove) into an action group. Adds bulk action to remove multiple backup items at once. Updates/adds tests covering the picker table bulk add and backup items bulk remove. Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local> Reviewed-on: #21
25 lines
1.0 KiB
Markdown
25 lines
1.0 KiB
Markdown
# Tasks: Policy Picker UX (015)
|
|
|
|
**Branch**: `015-policy-picker-ux` | **Date**: 2026-01-02
|
|
**Input**: [spec.md](./spec.md), [plan.md](./plan.md)
|
|
|
|
## Phase 1: Setup
|
|
- [X] T001 Create spec/plan/tasks and checklist.
|
|
|
|
## Phase 2: Core
|
|
- [X] T002 Update “Add Policies” picker option labels to include type/platform/short external id.
|
|
- [X] T006 Replace picker with a modal table (multi-select).
|
|
- [X] T007 Add filters: policy type, platform, last synced, ignored, has versions.
|
|
- [X] T008 Implement “select all” for filtered results (via Filament table selection).
|
|
- [X] T012 Group row actions (View/Remove) in backup items table.
|
|
- [X] T013 Add bulk remove action for backup items.
|
|
|
|
## Phase 3: Tests + Verification
|
|
- [X] T003 Add test coverage for policy picker option labels.
|
|
- [X] T004 Run targeted tests.
|
|
- [X] T005 Run Pint (`./vendor/bin/pint --dirty`).
|
|
- [X] T009 Update/add tests for table picker bulk add.
|
|
- [X] T010 Run targeted tests.
|
|
- [X] T011 Run Pint (`./vendor/bin/pint --dirty`).
|
|
- [X] T014 Add test coverage for bulk remove.
|