UI: Linux setup experience - IT admin updates (#32569)
## PR 1/2 for #32037 - Implements update for the Linux setup experience from the IT admin's point of view. Updates for the end-user ("My device" page) to follow - Works in concert with the new endpoints implemented in https://github.com/fleetdm/fleet/pull/32493 - Splits Controls > Setup experience > Install software into 3 tabbed sections, one for each of macOS, Windows (placeholder state for now, to be implemented in following iteration), and Linux. - Dynamically calls new GET and PUT endpoints and routes data accordingly depending on which platform software for install is being updated for. - Update the software selection modal to display software package versions, including the package type (deb, rpm, or tar) for Linux software packges. - New activity feed item - Update relevant tests  _Note that the lower-right-hand image in this GIF is outdated and will be updated with new content once this entire feature is integrated_ ~- [ ] Changes file added for user-visible changes in `changes/`~ will include in PR 2/2 - [x] Added/updated automated tests - [x] QA'd all new/changed functionality manually - [x] Verified that any relevant UI is disabled when GitOps mode is enabled --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
co-authored by
Jacob Shandling
parent
e0ec8bd5b4
commit
8b09e9d239
@@ -207,3 +207,11 @@ export const isOsSettingsDisplayPlatform = (
|
||||
}
|
||||
return OS_SETTINGS_DISPLAY_PLATFORMS.includes(platform);
|
||||
};
|
||||
|
||||
export const SETUP_EXPERIENCE_PLATFORMS = [
|
||||
"macos",
|
||||
"windows",
|
||||
"linux",
|
||||
] as const;
|
||||
|
||||
export type SetupExperiencePlatform = typeof SETUP_EXPERIENCE_PLATFORMS[number];
|
||||
|
||||
Reference in New Issue
Block a user