Update tooltip for mac minimum target OS version label (#22157)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
This commit is contained in:
Gabriel Hernandez 2024-09-18 21:53:30 +01:00 committed by GitHub
parent 90959dbc9f
commit 36ea5ccd76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 11 deletions

View file

@ -0,0 +1 @@
- update the macos target minimum version tooltip

View file

@ -178,16 +178,18 @@ const AppleOSTargetForm = ({
}
};
const getMinimumVersionTooltip = (platform: ApplePlatform) => {
switch (platform) {
case "darwin":
return "The end user sees the window until their macOS is at or above this version.";
case "ios":
case "ipados":
return "If the end user's host is below the minimum version, they see a notification in their Notification Center after the deadline. They cant continue until the OS update is installed.";
default:
return "";
}
const getMinimumVersionTooltip = () => {
return (
<>
If an already enrolled host is below the minimum version,
<br /> the host is updated to exactly the minimum version if it&apos;s
<br /> available from Apple.
<br />
<br /> If a new or wiped host is below the minimum version and
<br /> automatically enrolls (ADE), the host is updated to Apple&apos;s
<br /> lastest version during Setup Assistant.
</>
);
};
const getDeadlineTooltip = (platform: ApplePlatform) => {
@ -206,7 +208,7 @@ const AppleOSTargetForm = ({
<form className={baseClass} onSubmit={handleSubmit}>
<InputField
label="Minimum version"
tooltip={getMinimumVersionTooltip(applePlatform)}
tooltip={getMinimumVersionTooltip()}
helpText="Version number only (e.g., “13.0.1” not “Ventura 13” or “13.0.1 (22A400)”)"
placeholder={getMinimumVersionPlaceholder(applePlatform)}
value={minOsVersion}