mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
For #[26070](https://github.com/fleetdm/fleet/issues/26070) This adds the UI for enabling a manual agent install for a bootstrap package. This includes: **The new form option for enabling manual agent install of a bootstrap package**  **disabling adding install software and run script options when user has enabled manual agent install**   **improvements to the setup experience content styling. I've created a `SetupExperienceContentContainer` component to centralise the styles for the content of these sub sections.** **updates to the preview sections copy and replacing the gifs with videos** - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. - [ ] Added/updated automated tests - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
51 lines
1.3 KiB
TypeScript
51 lines
1.3 KiB
TypeScript
import PATHS from "router/paths";
|
|
|
|
import { ISideNavItem } from "pages/admin/components/SideNav/SideNav";
|
|
|
|
import EndUserAuthentication from "./cards/EndUserAuthentication/EndUserAuthentication";
|
|
import BootstrapPackage from "./cards/BootstrapPackage";
|
|
import SetupAssistant from "./cards/SetupAssistant";
|
|
import InstallSoftware from "./cards/InstallSoftware";
|
|
import RunScript from "./cards/RunScript";
|
|
|
|
interface ISetupExperienceCardProps {
|
|
currentTeamId?: number;
|
|
}
|
|
|
|
// TODO: types
|
|
const SETUP_EXPERIENCE_NAV_ITEMS: ISideNavItem<
|
|
ISetupExperienceCardProps | any
|
|
>[] = [
|
|
{
|
|
title: "1. End user authentication",
|
|
urlSection: "end-user-auth",
|
|
path: PATHS.CONTROLS_END_USER_AUTHENTICATION,
|
|
Card: EndUserAuthentication,
|
|
},
|
|
{
|
|
title: "2. Bootstrap package",
|
|
urlSection: "bootstrap-package",
|
|
path: PATHS.CONTROLS_BOOTSTRAP_PACKAGE,
|
|
Card: BootstrapPackage,
|
|
},
|
|
{
|
|
title: "3. Install software",
|
|
urlSection: "install-software",
|
|
path: PATHS.CONTROLS_INSTALL_SOFTWARE,
|
|
Card: InstallSoftware,
|
|
},
|
|
{
|
|
title: "4. Run script",
|
|
urlSection: "run-script",
|
|
path: PATHS.CONTROLS_RUN_SCRIPT,
|
|
Card: RunScript,
|
|
},
|
|
{
|
|
title: "5. Setup assistant",
|
|
urlSection: "setup-assistant",
|
|
path: PATHS.CONTROLS_SETUP_ASSITANT,
|
|
Card: SetupAssistant,
|
|
},
|
|
];
|
|
|
|
export default SETUP_EXPERIENCE_NAV_ITEMS;
|