From bf346d52123cd8df67f30cded3f546493af4f2ed Mon Sep 17 00:00:00 2001 From: Lucas Manuel Rodriguez Date: Fri, 3 Jul 2026 11:33:12 -0300 Subject: [PATCH] Google Workspace settings: page description instead of instructions card (#48651) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Settings-page adjustments to the Google Workspace integration (per [product feedback](https://github.com/fleetdm/fleet/issues/42915#issuecomment-4867743312)): 1. Removed the wrapper card (`InfoBanner`) around the instructions — replaced it with `PageDescription` (`variant="right-panel"`), so the text styling matches the "Connect Fleet to your IdP…" description in the sibling IdP section. 2. Updated the copy to: > Configure these settings to populate IdP host vitals from Google Workspace. When Google Workspace is connected, Fleet ignores SCIM provisioning from other IdPs (e.g Okta, Entra ID). Also updated a stale SCSS comment that referenced the removed `InfoBanner` (the `box-sizing: border-box` fix on the form card stays — it's needed regardless of the banner). **Related issue:** #42915 ## Testing - [x] Added/updated automated tests - [x] QA'd all new/changed functionality manually ## Summary by CodeRabbit * **Refactor** * Updated the Google Workspace settings page to show connection and configuration guidance in a cleaner description block. * Preserved all existing form fields, validation, and submission behavior. --- .../GoogleWorkspaceSection.tsx | 17 +++++++++++------ .../GoogleWorkspaceSection/_styles.scss | 7 +++---- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/frontend/pages/admin/IntegrationsPage/cards/IdentityProviders/components/GoogleWorkspaceSection/GoogleWorkspaceSection.tsx b/frontend/pages/admin/IntegrationsPage/cards/IdentityProviders/components/GoogleWorkspaceSection/GoogleWorkspaceSection.tsx index dff8f203ad..aff873e0d7 100644 --- a/frontend/pages/admin/IntegrationsPage/cards/IdentityProviders/components/GoogleWorkspaceSection/GoogleWorkspaceSection.tsx +++ b/frontend/pages/admin/IntegrationsPage/cards/IdentityProviders/components/GoogleWorkspaceSection/GoogleWorkspaceSection.tsx @@ -10,7 +10,7 @@ import { notify } from "components/ToastNotification"; import InputField from "components/forms/fields/InputField"; import Button from "components/buttons/Button"; import Card from "components/Card"; -import InfoBanner from "components/InfoBanner"; +import PageDescription from "components/PageDescription"; import GitOpsModeTooltipWrapper from "components/GitOpsModeTooltipWrapper"; import SettingsSection from "pages/admin/components/SettingsSection"; @@ -185,11 +185,16 @@ const GoogleWorkspaceSection = ({ return ( - - Connecting Google Workspace populates IdP host vitals directly from your - directory. While Google Workspace is connected, SCIM provisioning (Okta, - Entra ID, etc.) is ignored — configure one or the other, not both. - + + Configure these settings to populate IdP host vitals from Google + Workspace. When Google Workspace is connected, Fleet ignores SCIM + provisioning from other IdPs (e.g Okta, Entra ID). + + } + variant="right-panel" + />