fleet/frontend/context
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
..
app.tsx UI - Enable "No team" for Policies (#21885) 2024-09-16 12:40:52 -04:00
notification.tsx Queued scripts feature (#16300) 2024-01-29 11:37:54 -03:00
policy.tsx Frontend: [hour/s old bug] Ensure type null option for lastEditedQueryId (#14055) 2023-09-21 14:51:13 -04:00
query.tsx UI - Merge inherited and and team-scope queries tables (#18596) 2024-05-07 15:44:41 -04:00
routing.tsx Auth Redux Removal (#4924) 2022-04-07 09:08:00 -07:00
table.tsx UI - Enable "No team" for Policies (#21885) 2024-09-16 12:40:52 -04:00