Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tooltip for mac minimum target OS version label #22157

Merged
merged 4 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading