mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
81c732f34d
## Addresses #9597 <img width="1121" alt="Screenshot 2023-03-09 at 2 03 58 PM" src="https://user-images.githubusercontent.com/61553566/224170878-00a1ba60-6477-4c4b-8582-d1711e8b0181.png"> ## Notes The UI for "No teams" filtered state will be implemented in the **Frontend** portion of #10409 ## Checklist - [x] Manual QA - [x] Updated testing inventory or added tests - [x] Change file --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
57 lines
1.1 KiB
TypeScript
57 lines
1.1 KiB
TypeScript
export const LABEL_SLUG_PREFIX = "labels/";
|
||
|
||
export const DEFAULT_SORT_HEADER = "display_name";
|
||
export const DEFAULT_SORT_DIRECTION = "asc";
|
||
export const DEFAULT_PAGE_SIZE = 20;
|
||
|
||
export const HOST_SELECT_STATUSES = [
|
||
{
|
||
disabled: false,
|
||
label: "All hosts",
|
||
value: "",
|
||
helpText: "All hosts added to Fleet.",
|
||
},
|
||
{
|
||
disabled: false,
|
||
label: "Online hosts",
|
||
value: "online",
|
||
helpText: "Hosts that will respond to a live query.",
|
||
},
|
||
{
|
||
disabled: false,
|
||
label: "Offline hosts",
|
||
value: "offline",
|
||
helpText: "Hosts that won’t respond to a live query.",
|
||
},
|
||
{
|
||
disabled: false,
|
||
label: "Missing hosts",
|
||
value: "missing",
|
||
helpText: "Hosts that have been offline for 30 days or more.",
|
||
},
|
||
{
|
||
disabled: false,
|
||
label: "New hosts",
|
||
value: "new",
|
||
helpText: "Hosts added to Fleet in the last 24 hours.",
|
||
},
|
||
];
|
||
|
||
export const MAC_SETTINGS_FILTER_OPTIONS = [
|
||
{
|
||
disabled: false,
|
||
label: "Latest",
|
||
value: "latest",
|
||
},
|
||
{
|
||
disabled: false,
|
||
label: "Pending",
|
||
value: "pending",
|
||
},
|
||
{
|
||
disabled: false,
|
||
label: "Failing",
|
||
value: "failing",
|
||
},
|
||
];
|