mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
333674b051
## Addresses second major part of #15011 (item 3) – Host query report _Note for reviewers: The most important files here are:_ - HostQueryReport.tsx - HQRTable.tsx - HQRTableConfig.tsx _The rest are associated API services, interfaces, helpers, routes, styles, and miscellanious code improvements I made along the way._ ____________ ### See linked issue for enumeration of feature-related tasks <img width="1230" alt="Screenshot 2023-12-08 at 4 23 50 PM" src="https://github.com/fleetdm/fleet/assets/61553566/4ae4b41b-9209-4afa-ae50-8844d01ff8fd"> <img width="1230" alt="collecting" src="https://github.com/fleetdm/fleet/assets/61553566/061ac2bc-899f-4b29-91ba-36ebecf5ce58"> <img width="1230" alt="Screenshot 2023-12-08 at 4 24 39 PM" src="https://github.com/fleetdm/fleet/assets/61553566/f8b25e01-fe3b-47e6-b980-eba9538b1a01"> <img width="1230" alt="Screenshot 2023-12-08 at 4 25 01 PM" src="https://github.com/fleetdm/fleet/assets/61553566/46360274-8500-494c-8fb7-3a1d45347ce0"> Re-routes to host details > queries if: - query reports are globally disabled: https://github.com/fleetdm/fleet/assets/61553566/ac67da8c-57bc-4d9b-96be-daf3b198e704 - query has `Discard data` enabled: https://github.com/fleetdm/fleet/assets/61553566/b797dd24-9893-4360-bf40-b80298848864 - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
61 lines
1.9 KiB
TypeScript
61 lines
1.9 KiB
TypeScript
// Note: Dynamic page titles are constructed for host, software, query, and policy details on their respective *DetailsPage.tsx file
|
|
|
|
import { DOCUMENT_TITLE_SUFFIX } from "utilities/constants";
|
|
|
|
// Note: Order matters for use of array.find() (specific subpaths must be listed before their parent path)
|
|
export default [
|
|
{ path: "/dashboard", title: `Dashboard | ${DOCUMENT_TITLE_SUFFIX}` },
|
|
{ path: "/hosts/manage", title: `Manage hosts | ${DOCUMENT_TITLE_SUFFIX}` },
|
|
{
|
|
path: "/controls/os-updates",
|
|
title: `Manage OS updates | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: "/controls/os-settings",
|
|
title: `Manage OS settings | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: "/controls/setup-experience",
|
|
title: `Manage setup experience | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: `/software/manage", title: "Manage software | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: `/queries/manage", title: "Manage queries | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{ path: `/queries/new", title: "New query | ${DOCUMENT_TITLE_SUFFIX}` },
|
|
{
|
|
path: `/policies/manage", title: "Manage policies | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{ path: `/policies/new", title: "New policy | ${DOCUMENT_TITLE_SUFFIX}` },
|
|
{
|
|
path: "/settings/organization",
|
|
title: `Manage organization settings | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: "/settings/integrations",
|
|
title: `Manage integration settings | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: "/settings/users",
|
|
title: `Manage user settings | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: "/settings/teams/members",
|
|
title: `Manage team members | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: "/settings/teams/options",
|
|
title: `Manage team options | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: "/settings/teams",
|
|
title: `Manage team settings | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
{
|
|
path: "/profile",
|
|
title: `Manage my account | ${DOCUMENT_TITLE_SUFFIX}`,
|
|
},
|
|
];
|