You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: allow selecting which policies to download when clicking download all
* feat(policies): allow filtering download-all by policyIds
* feat(policies): parse policyIds query param on download-all endpoint
* fix(policies): use typed mockAuthContext in controller spec
* feat(policies): add policy download picker sheet
* feat(policies): open download picker sheet from Download All button
* chore(policies): import icons from design-system re-export
* fix(policies): reset picker selection on reopen and accept array policyIds
Addresses cubic review on PR #2672:
- PolicyDownloadSheet: reset selection to current policy IDs whenever the
sheet opens or the policies prop changes, so reopens and upstream data
refreshes don't leave stale or deleted IDs selected.
- Controller: accept repeated-key array form (?policyIds=a&policyIds=b)
in addition to comma-separated, and flatten both into a single deduped
string[].
---------
Co-authored-by: Mariano <marfuen98@gmail.com>
0 commit comments