From 0f4a154c8db19c6503f29db48431d7a37b383c73 Mon Sep 17 00:00:00 2001 From: swve Date: Sun, 14 May 2023 16:16:49 +0000 Subject: [PATCH] fix: settings inputs --- .../settings/account/passwords/page.tsx | 37 +++++++++--- .../settings/account/profile/page.tsx | 42 ++++++++++++-- .../settings/organization/general/page.tsx | 58 +++++++++++++++---- front/next.config.js | 3 +- 4 files changed, 115 insertions(+), 25 deletions(-) diff --git a/front/app/_orgs/[orgslug]/settings/account/passwords/page.tsx b/front/app/_orgs/[orgslug]/settings/account/passwords/page.tsx index 9fc62bfe..4bca9638 100644 --- a/front/app/_orgs/[orgslug]/settings/account/passwords/page.tsx +++ b/front/app/_orgs/[orgslug]/settings/account/passwords/page.tsx @@ -21,7 +21,7 @@ function SettingsProfilePasswordsPage() { {auth.isAuthenticated && (
-

Account Password

+

Account Password



{({ isSubmitting }) => ( -
- Old Password
- New password
- - +
+ + + + + + + + + )}
diff --git a/front/app/_orgs/[orgslug]/settings/account/profile/page.tsx b/front/app/_orgs/[orgslug]/settings/account/profile/page.tsx index 40c11323..ea0e297b 100644 --- a/front/app/_orgs/[orgslug]/settings/account/profile/page.tsx +++ b/front/app/_orgs/[orgslug]/settings/account/profile/page.tsx @@ -12,7 +12,7 @@ function SettingsProfilePage() { {auth.isAuthenticated && (
-

Profile Settings

+

Profile Settings



{({ isSubmitting }) => ( -
- Full name
- Email
- Bio
- + )}
diff --git a/front/app/_orgs/[orgslug]/settings/organization/general/page.tsx b/front/app/_orgs/[orgslug]/settings/organization/general/page.tsx index 048f4fc2..63c4b227 100644 --- a/front/app/_orgs/[orgslug]/settings/organization/general/page.tsx +++ b/front/app/_orgs/[orgslug]/settings/organization/general/page.tsx @@ -37,7 +37,7 @@ function SettingsOrganizationGeneral(params: any) { return (
-

Oganization Settings

+

Oganization Settings



{error &&

Failed to load

} {!org ? ( @@ -55,15 +55,53 @@ function SettingsOrganizationGeneral(params: any) { }} > {({ isSubmitting }) => ( -
- Name
- Description
- Slug
- Email
- - +
+ + + + + + + + + + + + + + + )} )} diff --git a/front/next.config.js b/front/next.config.js index 704aab78..0bacc25a 100644 --- a/front/next.config.js +++ b/front/next.config.js @@ -9,8 +9,9 @@ const nextConfig = { reactStrictMode: false, experimental: { appDir : true, + swcFileReading: false, }, - swcMinify: true, + swcMinify: false, compiler: { styledComponents: true, },