diff --git a/CHANGELOG.md b/CHANGELOG.md index ea80d6c5e..6d4227da4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Maintained the sidebar scroll position when navigating between chats instead of resetting to the top. [#1411](https://github.com/sourcebot-dev/sourcebot/pull/1411) - Upgraded `nodemailer` to `^9.0.1`. [#1356](https://github.com/sourcebot-dev/sourcebot/pull/1356) - Upgraded `@opentelemetry/core` to `^2.8.0`. [#1413](https://github.com/sourcebot-dev/sourcebot/pull/1413) +- [EE] Fixed connector setup dialogs to add scrolling when connector setup content goes out of view. ## [5.0.4] - 2026-06-18 diff --git a/packages/web/src/app/(app)/settings/workspaceAskAgent/workspaceAskAgentPage.tsx b/packages/web/src/app/(app)/settings/workspaceAskAgent/workspaceAskAgentPage.tsx index f71ed904b..4105134f8 100644 --- a/packages/web/src/app/(app)/settings/workspaceAskAgent/workspaceAskAgentPage.tsx +++ b/packages/web/src/app/(app)/settings/workspaceAskAgent/workspaceAskAgentPage.tsx @@ -68,6 +68,9 @@ type PendingConnectorServer = { discoveredOAuthScopes: string[]; }; +const scrollableConnectorDialogContentClassName = "flex max-h-[calc(100dvh-2rem)] flex-col overflow-hidden"; +const scrollableConnectorDialogBodyClassName = "min-h-0 overflow-y-auto py-4 pr-1"; + interface OAuthScopesInputProps { discoveredOAuthScopes: string[]; selectedOAuthScopes: string[]; @@ -146,7 +149,7 @@ function OAuthScopesInput({ placeholder="Search scopes" className="h-9" /> -
+
{filteredOAuthScopes.length > 0 ? ( filteredOAuthScopes.map((scope) => (
- - + + Add Connector Add a workspace-approved connector that members can use with Ask Sourcebot. -
+
- +