From ec5dfdcecae1849b02a8674cec48a0a4ef4b9223 Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Fri, 30 Jun 2023 12:32:03 +0800 Subject: [PATCH] more layout updates --- .../interfaces/Integrations/ProjectLinker.tsx | 2 +- .../IntegrationSettings/Integration.tsx | 13 -- .../Organization/OAuthApps/OAuthApps.tsx | 173 +++++++++--------- .../Organization/TeamSettings/MembersView.tsx | 2 +- .../TeamSettings/TeamSettings.tsx | 19 +- studio/components/layouts/Scaffold.tsx | 31 +++- studio/components/ui/AlertError.tsx | 4 +- 7 files changed, 133 insertions(+), 111 deletions(-) diff --git a/studio/components/interfaces/Integrations/ProjectLinker.tsx b/studio/components/interfaces/Integrations/ProjectLinker.tsx index 900efeb8a6c..898e42223e7 100644 --- a/studio/components/interfaces/Integrations/ProjectLinker.tsx +++ b/studio/components/interfaces/Integrations/ProjectLinker.tsx @@ -210,7 +210,7 @@ const ProjectLinker = ({ { return ` diff --git a/studio/components/interfaces/Organization/IntegrationSettings/Integration.tsx b/studio/components/interfaces/Organization/IntegrationSettings/Integration.tsx index 84a8d2bdee5..f67e692fefc 100644 --- a/studio/components/interfaces/Organization/IntegrationSettings/Integration.tsx +++ b/studio/components/interfaces/Organization/IntegrationSettings/Integration.tsx @@ -109,19 +109,6 @@ Repository connections for ${title?.toLowerCase()} size="large" overlay={ <> - - - - } - > -
Refresh Enviroment Variables
-
- Reapply env vars in vercel. -
-
- } onSelect={() => diff --git a/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx b/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx index 416679f43e1..79919216744 100644 --- a/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx +++ b/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx @@ -13,6 +13,7 @@ import PublishAppModal from './PublishAppSidePanel' import { AuthorizedApp, useAuthorizedAppsQuery } from 'data/oauth/authorized-apps-query' import AuthorizedAppRow from './AuthorizedAppRow' import RevokeAppModal from './RevokeAppModal' +import { ScaffoldContainerLegacy } from 'components/layouts/Scaffold' // [Joshen] Note on nav UX // Kang Ming mentioned that it might be better to split Published Apps and Authorized Apps into 2 separate tabs @@ -51,7 +52,7 @@ const OAuthApps = () => { return ( <> -
+
@@ -65,95 +66,93 @@ const OAuthApps = () => {
-
- {isLoadingPublishedApps && ( -
- - - + {isLoadingPublishedApps && ( +
+ + + +
+ )} + + {isErrorPublishedApps && ( + + )} + + {createdApp !== undefined && ( + +
+
- )} - - {isErrorPublishedApps && ( - - )} - - {createdApp !== undefined && ( - -
-