Apple Business rename: Copy tweak and URL change (#44829)
- Add redirect for old /abm URL <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Updates** * Updated Apple Business Manager integration URL paths for consistency. * Refined UI messaging and guide text in the Apple Business Manager setup flow. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
kiloconnect[bot]
parent
55d63e9100
commit
17513add18
@@ -16,7 +16,7 @@ const AppleBMRenewalMessage = ({ expired }: IAppleBMRenewalMessageProps) => {
|
||||
color="yellow"
|
||||
cta={
|
||||
<CustomLink
|
||||
url="/settings/integrations/mdm/abm"
|
||||
url="/settings/integrations/mdm/ab"
|
||||
text="Renew AB"
|
||||
className={`${baseClass}`}
|
||||
variant="banner-link"
|
||||
|
||||
+1
-1
@@ -156,7 +156,7 @@ const AppleBusinessManagerPage = ({ router }: { router: InjectedRouter }) => {
|
||||
return (
|
||||
<EmptyState
|
||||
header="Turn on Apple MDM"
|
||||
info="To add your ABM and enable automatic enrollment for macOS, iOS, and iPadOS hosts, first turn on Apple MDM."
|
||||
info="To add your AB and enable automatic enrollment for macOS, iOS, and iPadOS hosts, first turn on Apple MDM."
|
||||
primaryButton={
|
||||
<Button onClick={() => router.push(PATHS.ADMIN_INTEGRATIONS_MDM)}>
|
||||
Turn on
|
||||
|
||||
+1
-2
@@ -53,8 +53,7 @@ const AddAbmModal = ({ onCancel, onAdded }: IAddAbmModalProps) => {
|
||||
return (
|
||||
<Modal className={baseClass} title="Add AB" onExit={onCancel} width="large">
|
||||
<p>
|
||||
Follow the step-by-step guide to connect Fleet to Apple Business
|
||||
Manager.{" "}
|
||||
Follow the step-by-step guide to connect Fleet to Apple Business.{" "}
|
||||
<CustomLink
|
||||
url="https://fleetdm.com/learn-more-about/setup-abm"
|
||||
text="Learn how"
|
||||
|
||||
@@ -229,10 +229,12 @@ const routes = (
|
||||
{/* This redirect is used to handle old apple automatic enrollments page */}
|
||||
<Redirect
|
||||
from="integrations/automatic-enrollment/apple"
|
||||
to="integrations/mdm/abm"
|
||||
to="integrations/mdm/ab"
|
||||
/>
|
||||
{/* Redirect old /abm URL to /ab */}
|
||||
<Redirect from="integrations/mdm/abm" to="integrations/mdm/ab" />
|
||||
<Route
|
||||
path="integrations/mdm/abm"
|
||||
path="integrations/mdm/ab"
|
||||
component={AppleBusinessManagerPage}
|
||||
/>
|
||||
<Route
|
||||
|
||||
@@ -58,7 +58,7 @@ export default {
|
||||
ADMIN_INTEGRATIONS_MDM_APPLE: `${INTEGRATIONS_PREFIX}/mdm/apple`,
|
||||
ADMIN_INTEGRATIONS_MDM_WINDOWS: `${INTEGRATIONS_PREFIX}/mdm/windows`,
|
||||
ADMIN_INTEGRATIONS_MDM_ANDROID: `${INTEGRATIONS_PREFIX}/mdm/android`,
|
||||
ADMIN_INTEGRATIONS_APPLE_BUSINESS_MANAGER: `${INTEGRATIONS_PREFIX}/mdm/abm`,
|
||||
ADMIN_INTEGRATIONS_APPLE_BUSINESS_MANAGER: `${INTEGRATIONS_PREFIX}/mdm/ab`,
|
||||
ADMIN_INTEGRATIONS_AUTOMATIC_ENROLLMENT_WINDOWS: `${INTEGRATIONS_PREFIX}/automatic-enrollment/windows`,
|
||||
ADMIN_INTEGRATIONS_SCEP: `${INTEGRATIONS_PREFIX}/mdm/scep`,
|
||||
ADMIN_INTEGRATIONS_CALENDARS: `${INTEGRATIONS_PREFIX}/calendars`,
|
||||
|
||||
Reference in New Issue
Block a user