Skip to content

Commit

Permalink
Update tooltip for mac minimum target OS version label (#22157)
Browse files Browse the repository at this point in the history
Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
  • Loading branch information
3 people committed Sep 18, 2024
1 parent 56a4bd3 commit f7a628c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
1 change: 1 addition & 0 deletions changes/21976-update-macos-target-version-tooltip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- update the macos target minimum version tooltip
Original file line number Diff line number Diff line change
Expand Up @@ -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 can’t 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) => {
Expand All @@ -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}
Expand Down

0 comments on commit f7a628c

Please sign in to comment.