Fleet UI: Move Fleet Desktop help text to section description (#23518)

This commit is contained in:
RachelElysia 2024-11-04 21:17:12 -05:00 committed by GitHub
parent bb7b14754f
commit 441661db2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,6 +71,18 @@ const FleetDesktop = ({
<div className={`${baseClass}__section`}>
<SectionHeader title="Fleet Desktop" />
<form onSubmit={onFormSubmit} autoComplete="off">
<p className={`${baseClass}__section-description`}>
When an end user clicks Transparency in the Fleet Desktop menu, by
default they are taken to{" "}
<CustomLink
url="https://fleetdm.com/transparency"
text="https://fleetdm.com/transparency"
newTab
multiline
/>{" "}
. You can override the URL to take them to a resource of your
choice.
</p>
<InputField
label="Custom transparency URL"
onChange={onInputChange}
@ -80,20 +92,6 @@ const FleetDesktop = ({
onBlur={validateForm}
error={formErrors.transparency_url}
placeholder="https://fleetdm.com/transparency"
helpText={
<>
When an end user clicks Transparency in the Fleet Desktop
menu, by default they are taken to{" "}
<CustomLink
url="https://fleetdm.com/transparency"
text="https://fleetdm.com/transparency"
newTab
multiline
/>{" "}
. You can override the URL to take them to a resource of your
choice.
</>
}
/>
<Button
type="submit"