fleet/frontend/components/TeamsDropdown
jacobshandling 549e9c87cc
UI - Enable "No team" for Policies (#21885)
## #21468 

- Memoize `app` and `table` context for improved stability
- Update policies page dependencies to reference now stable context
values
- Widespread updates to logic to enable No teams on the Manage polices
page, PolicyPage, and related pages and flows

_Outstanding bugs to address:_
- [x] When navigating from another page with "No team" to Policies, team
is reset to "All teams"
- [x] same after saving or editing a no-team policy_


![ezgif-4-7675c92400](https://github.com/user-attachments/assets/205cf6e4-750e-4f87-9a6b-33b6b1edb7b3)


- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-09-16 12:40:52 -04:00
..
_styles.scss 14415 - Loose ends 2 (#15595) 2023-12-12 11:32:16 -08:00
index.tsx Teams and Software for Homepage (#2567) 2021-10-19 11:13:18 -07:00
TeamsDropdown.stories.tsx add components to storybook (#11500) 2023-05-03 17:51:33 +01:00
TeamsDropdown.tests.tsx Update UI to handle "No team" filters (#10706) 2023-03-31 12:40:14 -05:00
TeamsDropdown.tsx UI - Enable "No team" for Policies (#21885) 2024-09-16 12:40:52 -04:00