From 686b56f892cee44bdc8f758e4b131643f125d99f Mon Sep 17 00:00:00 2001 From: Gabriel Hernandez Date: Tue, 4 Feb 2025 15:14:41 +0000 Subject: [PATCH] update UI tooltip for deadline input on the os settings target form (#25980) For #25159 This updates the os settings Target form deadline input tooltip to make it more correct for how the deadline works for hosts. Macos, ios, and iPad all return the same tooltip text now. - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. - [x] Manual QA for all new/changed functionality --- changes/issue-25159-update-deadline-tooltip | 2 ++ .../AppleOSTargetForm/AppleOSTargetForm.tsx | 14 +------------- 2 files changed, 3 insertions(+), 13 deletions(-) create mode 100644 changes/issue-25159-update-deadline-tooltip diff --git a/changes/issue-25159-update-deadline-tooltip b/changes/issue-25159-update-deadline-tooltip new file mode 100644 index 0000000000..086a4a5718 --- /dev/null +++ b/changes/issue-25159-update-deadline-tooltip @@ -0,0 +1,2 @@ +- update the os settings Target form deadline input tooltip to make the it more correct for how the +deadline works for hosts diff --git a/frontend/pages/ManageControlsPage/OSUpdates/components/AppleOSTargetForm/AppleOSTargetForm.tsx b/frontend/pages/ManageControlsPage/OSUpdates/components/AppleOSTargetForm/AppleOSTargetForm.tsx index fdf5343282..58208dd46d 100644 --- a/frontend/pages/ManageControlsPage/OSUpdates/components/AppleOSTargetForm/AppleOSTargetForm.tsx +++ b/frontend/pages/ManageControlsPage/OSUpdates/components/AppleOSTargetForm/AppleOSTargetForm.tsx @@ -181,18 +181,6 @@ const AppleOSTargetForm = ({ ); }; - const getDeadlineTooltip = (platform: ApplePlatform) => { - switch (platform) { - case "darwin": - return "The end user can't dismiss the window once they reach this deadline. Deadline is at 12:00 (Noon) Pacific Standard Time (GMT-8)."; - case "ios": - case "ipados": - return "Deadline is at 12:00 (Noon) Pacific Standard Time (GMT-8)."; - default: - return ""; - } - }; - return (