Fleet UI: Schedule page ChromeOS update (#11961)

This commit is contained in:
RachelElysia 2023-05-30 09:44:27 -04:00 committed by GitHub
parent 2aa3ee6f92
commit e9498d44ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View file

@ -233,6 +233,15 @@ const ScheduleEditorModal = ({
width="large"
>
<form className={`${baseClass}__form`}>
<p className={`${baseClass}__platform-compatibility`}>
Scheduled queries can currently be run on macOS, Windows, and Linux
hosts. Interested in collecting data from your Chromebooks?{" "}
<CustomLink
url="https://www.fleetdm.com/contact"
text="Let us know"
newTab
/>
</p>
{!editQuery && (
<Dropdown
searchable

View file

@ -1,4 +1,8 @@
.schedule-editor-modal {
&__platform-compatibility {
margin-bottom: $pad-large;
}
&__sandbox-info {
margin-top: $pad-medium;

View file

@ -184,9 +184,9 @@ interface IPlatformDropdownOptions {
}
export const PLATFORM_DROPDOWN_OPTIONS: IPlatformDropdownOptions[] = [
{ label: "All", value: "all", path: paths.DASHBOARD },
{ label: "macOS", value: "darwin", path: paths.DASHBOARD_MAC },
{ label: "Windows", value: "windows", path: paths.DASHBOARD_WINDOWS },
{ label: "Linux", value: "linux", path: paths.DASHBOARD_LINUX },
{ label: "macOS", value: "darwin", path: paths.DASHBOARD_MAC },
];
export const PLATFORM_NAME_TO_LABEL_NAME = {