mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
## Addresses #21855 and all of its subtasks **Frontend:** - Update list queries API call to include pagination and filter-related query params, including new `platform` param for filtering queries by platforms they've been set to target - Convert all filtering, sorting, and pagination functionality of the Manage queries page from client-side to server-side - Remove unneeded variable declarations / logic - Various typing and naming improvements **Server:** - Add new `platform` `ListQueryOption` - Update service and datastore level list queries logic to handle filtering queries by targeted platform - Update service and datastore level list queries logic to include `meta` and `count` fields in addition to filtered/paginated queries - [x] Changes file added for user-visible changes in `changes/`, ` - [x] Added/updated tests - [x] update DB, integration - [x] add integration (pagination) - [x] add integration (platform filter) - [x] add DB (pagination) - [x] add DB (platform filter) - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
5 lines
379 B
Text
5 lines
379 B
Text
- Fleshed out server response from `queries` endpoint to include `count` and `meta` pagination information.
|
|
- Updated UI queries page to filter, sort, paginate, etc. via query params in call to server.
|
|
- Updated platform filtering on queries page to refer to targeted platforms instead of compatible
|
|
platforms
|
|
- Updated queries API to support above targeted platform filtering
|