fleet/frontend/pages/queries/ManageQueriesPage
Jacob Shandling 095bf63580
UI – Queries page updates pt.2 (#12820)
## Addresses #12636 – follow-up work to PRs #12713 & #12784 

- Fix alignment of the Platforms dropdown
<img width="1256" alt="Screenshot 2023-07-17 at 7 37 56 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/5f162a99-6840-474f-9679-3115782329cf">

- Hide redundant table headers for inherited queries table
<img width="1255" alt="Screenshot 2023-07-17 at 7 39 35 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/8ef91588-4e5a-4203-a2fc-ae24ab0493db">

- Update SaveQueryModal name field's error state copy (note - [awaiting
product
decision](https://github.com/fleetdm/fleet/issues/12646#issuecomment-1639159107)
on further updates to the UI here - likely for separate ticket):

- Avoid redundant processing by moving it outside of useQuery's `select`
option.

- Leverage query key design to cache global queries for inherited table

- [x] Manual QA

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-07-18 10:49:51 -07:00
..
components UI – Queries page updates pt.2 (#12820) 2023-07-18 10:49:51 -07:00
_styles.scss UI – Queries page updates pt.2 (#12820) 2023-07-18 10:49:51 -07:00
index.tsx Refactor manage queries page (#1526) 2021-08-03 15:09:01 -05:00
ManageQueriesPage.tsx UI – Queries page updates pt.2 (#12820) 2023-07-18 10:49:51 -07:00