fleet/frontend/pages/hosts/ManageHostsPage/constants.ts
Jacob Shandling a568c28124
UI: Add {on|off}line status tooltips and refactor HostSummary to use StatusCell (#8750)
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-11-22 14:15:17 -08:00

39 lines
888 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 wont 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.",
},
];