From 0aa6a2ca16c976e8825a3743e21fdabb2ae3ae2a Mon Sep 17 00:00:00 2001 From: Gabriel Hernandez Date: Mon, 13 Oct 2025 12:18:28 +0100 Subject: [PATCH] update activities for installing software via ios/ipad (#34027) **Related issue:** Resolves #33703 quick change to UI to support ios and ipad setup experience install software activity --- .../GlobalActivityItem/GlobalActivityItem.tsx | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/frontend/pages/DashboardPage/cards/ActivityFeed/GlobalActivityItem/GlobalActivityItem.tsx b/frontend/pages/DashboardPage/cards/ActivityFeed/GlobalActivityItem/GlobalActivityItem.tsx index 307df022d6..0b2ce1826e 100644 --- a/frontend/pages/DashboardPage/cards/ActivityFeed/GlobalActivityItem/GlobalActivityItem.tsx +++ b/frontend/pages/DashboardPage/cards/ActivityFeed/GlobalActivityItem/GlobalActivityItem.tsx @@ -1537,12 +1537,26 @@ const TAGGED_TEMPLATES = { }, editedSetupExperienceSoftware: (activity: IActivity) => { const { platform, team_name, team_id } = activity.details || {}; + + let platformText = ""; + switch (platform) { + case "darwin": + platformText = "macOS"; + break; + case "ios": + platformText = "iOS"; + break; + case "ipados": + platformText = "iPadOS"; + break; + default: + platformText = capitalize(platform); + } + return ( <> {" "} - edited setup experience software for{" "} - {platform === "darwin" ? "macOS" : capitalize(platform)} hosts that - enroll to{" "} + edited setup experience software for {platformText} hosts that enroll to{" "} {team_id === API_NO_TEAM_ID ? ( "no team" ) : (