fleet/frontend/router/page_titles.ts
Gabriel Hernandez fa252e4977
Update controls tabs to show mdm disabled UI state per tab (#13794)
relates to #9831

Update Controls page to individually show the mdm disabled UI state per
tab. Before this was done across the entire control page:


![image](https://github.com/fleetdm/fleet/assets/1153709/67a88cf4-c489-46aa-a802-58c4ef61ac5a)


Also, refactors the code to be less specific to mac OS.


- [x] Manual QA for all new/changed functionality
2023-09-11 12:52:24 +01:00

52 lines
1.7 KiB
TypeScript

// Note: Dynamic page titles are constructed for host, software, query, and policy details on their respective *DetailsPage.tsx file
// Note: Order matters for use of array.find() (specific subpaths must be listed before their parent path)
export default [
{ path: "/dashboard", title: "Dashboard | Fleet for osquery" },
{ path: "/hosts/manage", title: "Manage hosts | Fleet for osquery" },
{
path: "/controls/os-updates",
title: "Manage OS updates | Fleet for osquery",
},
{
path: "/controls/os-settings",
title: "Manage OS settings | Fleet for osquery",
},
{
path: "/controls/setup-experience",
title: "Manage setup experience | Fleet for osquery",
},
{ path: "/software/manage", title: "Manage software | Fleet for osquery" },
{ path: "/queries/manage", title: "Manage queries | Fleet for osquery" },
{ path: "/queries/new", title: "New query | Fleet for osquery" },
{ path: "/policies/manage", title: "Manage policies | Fleet for osquery" },
{ path: "/policies/new", title: "New policy | Fleet for osquery" },
{
path: "/settings/organization",
title: "Manage organization settings | Fleet for osquery",
},
{
path: "/settings/integrations",
title: "Manage integration settings | Fleet for osquery",
},
{
path: "/settings/users",
title: "Manage user settings | Fleet for osquery",
},
{
path: "/settings/teams/members",
title: "Manage team members | Fleet for osquery",
},
{
path: "/settings/teams/options",
title: "Manage team options | Fleet for osquery",
},
{
path: "/settings/teams",
title: "Manage team settings | Fleet for osquery",
},
{
path: "/profile",
title: "Manage my account | Fleet for osquery",
},
];