From ebc70feef0d55b8ca033d30f9a853f8ff987c6dd Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:34:54 +0530 Subject: [PATCH] refactor: org settings (#11682) --- apps/web/pages/settings/billing/index.tsx | 2 +- .../web/pages/settings/developer/api-keys.tsx | 6 +- .../pages/settings/my-account/appearance.tsx | 30 +- .../pages/settings/my-account/calendars.tsx | 14 +- .../settings/my-account/conferencing.tsx | 4 +- .../web/pages/settings/my-account/general.tsx | 6 +- .../web/pages/settings/my-account/profile.tsx | 4 +- .../pages/settings/organizations/billing.tsx | 6 +- .../pages/settings/security/impersonation.tsx | 2 +- .../settings/security/two-factor-auth.tsx | 2 +- .../web/pages/settings/teams/[id]/billing.tsx | 6 +- apps/web/public/static/locales/en/common.json | 4 + .../calendars/DestinationCalendarSelector.tsx | 4 +- .../pages/settings/appearance.tsx | 402 ++++++++++++------ .../organizations/pages/settings/general.tsx | 131 +++--- .../organizations/pages/settings/profile.tsx | 385 ++++++++++------- .../ee/teams/pages/team-billing-view.tsx | 2 +- .../settings/SectionBottomActions.tsx | 2 +- .../settings/layouts/SettingsLayout.tsx | 10 +- .../components/WebhookTestDisclosure.tsx | 8 +- .../webhooks/pages/webhook-edit-view.tsx | 1 + .../webhooks/pages/webhook-new-view.tsx | 2 +- .../features/webhooks/pages/webhooks-view.tsx | 8 +- packages/lib/constants.ts | 3 + .../viewer/organizations/update.handler.ts | 2 +- packages/ui/components/form/select/Select.tsx | 2 +- .../components/form/switch/SettingsToggle.tsx | 7 +- 27 files changed, 653 insertions(+), 402 deletions(-) diff --git a/apps/web/pages/settings/billing/index.tsx b/apps/web/pages/settings/billing/index.tsx index acf3b30578..501c405a25 100644 --- a/apps/web/pages/settings/billing/index.tsx +++ b/apps/web/pages/settings/billing/index.tsx @@ -45,7 +45,7 @@ const BillingView = () => { return ( <> -