From e0f28e519983e11ee79eeea54506a17b0778f264 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Mon, 19 Dec 2022 23:52:01 +0530 Subject: [PATCH] style: settings page redesigned --- .../common/board-view/single-issue.tsx | 2 +- ....tsx => confirm-project-member-remove.tsx} | 0 ....tsx => send-project-invitation-modal.tsx} | 0 .../components/project/settings/control.tsx | 58 +- .../components/project/settings/general.tsx | 103 +- .../project/settings/labels/index.tsx | 20 +- .../project/settings/labels/single-label.tsx | 4 +- .../components/project/settings/members.tsx | 261 ++ .../components/project/settings/states.tsx | 152 +- apps/app/layouts/navbar/main-siderbar.tsx | 20 +- .../pages/projects/[projectId]/members.tsx | 17 +- .../pages/projects/[projectId]/settings.tsx | 31 +- apps/app/ui/Button/index.tsx | 4 +- apps/app/ui/Input/index.tsx | 10 +- apps/app/ui/Input/types.d.ts | 2 + apps/app/ui/Select/index.tsx | 6 +- apps/app/ui/Select/types.d.ts | 8 +- apps/app/ui/custom-listbox/index.tsx | 4 +- apps/app/ui/emoji-icon-picker/emojis.json | 2178 ++++++++--------- apps/app/ui/emoji-icon-picker/index.tsx | 2 +- 20 files changed, 1582 insertions(+), 1300 deletions(-) rename apps/app/components/project/{ConfirmProjectMemberRemove.tsx => confirm-project-member-remove.tsx} (100%) rename apps/app/components/project/{SendProjectInvitationModal.tsx => send-project-invitation-modal.tsx} (100%) create mode 100644 apps/app/components/project/settings/members.tsx diff --git a/apps/app/components/common/board-view/single-issue.tsx b/apps/app/components/common/board-view/single-issue.tsx index 598eaad1e..5ce4ff0c0 100644 --- a/apps/app/components/common/board-view/single-issue.tsx +++ b/apps/app/components/common/board-view/single-issue.tsx @@ -56,7 +56,7 @@ const SingleIssue: React.FC = ({ >
{handleDeleteIssue && ( -
+
diff --git a/apps/app/components/project/settings/general.tsx b/apps/app/components/project/settings/general.tsx index d310f71f9..0330ef9d6 100644 --- a/apps/app/components/project/settings/general.tsx +++ b/apps/app/components/project/settings/general.tsx @@ -45,68 +45,70 @@ const GeneralSettings: React.FC = ({ return ( <> -
+
-

General

-

+

General

+

This information will be displayed to every member of the project.

-
-
-
- +
+
+

Icon & Name

+

Select an icon and a name for the project.

+
( )} /> +
-
- +

Description

+

Give a description to the project.

+