From 5d331477efac49e27801d49c774c32fc20bf3d2b Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 15 Sep 2023 19:30:53 +0530 Subject: [PATCH] chore: settings bug fixes and ui improvement (#2198) * fix: settings bug fixes and ui improvement * chore: setting sidebar scroll fix & code refactor --- web/components/exporter/guide.tsx | 4 +- web/components/integration/guide.tsx | 4 +- web/components/project/member-select.tsx | 14 ++++- web/components/project/settings-sidebar.tsx | 6 +-- .../[workspaceSlug]/me/profile/activity.tsx | 8 +-- .../[workspaceSlug]/me/profile/index.tsx | 6 +-- .../me/profile/preferences.tsx | 6 +-- .../[projectId]/settings/automations.tsx | 6 +-- .../[projectId]/settings/estimates.tsx | 6 +-- .../[projectId]/settings/features.tsx | 6 +-- .../projects/[projectId]/settings/index.tsx | 28 +++++----- .../[projectId]/settings/integrations.tsx | 54 ++++++++++--------- .../projects/[projectId]/settings/labels.tsx | 6 +-- .../projects/[projectId]/settings/members.tsx | 6 +-- .../projects/[projectId]/settings/states.tsx | 6 +-- .../[workspaceSlug]/settings/billing.tsx | 6 +-- .../[workspaceSlug]/settings/exports.tsx | 6 +-- .../[workspaceSlug]/settings/imports.tsx | 9 ++-- web/pages/[workspaceSlug]/settings/index.tsx | 6 +-- .../[workspaceSlug]/settings/integrations.tsx | 10 ++-- .../[workspaceSlug]/settings/members.tsx | 6 +-- 21 files changed, 108 insertions(+), 101 deletions(-) diff --git a/web/components/exporter/guide.tsx b/web/components/exporter/guide.tsx index 45fc50270..2643a07cf 100644 --- a/web/components/exporter/guide.tsx +++ b/web/components/exporter/guide.tsx @@ -147,7 +147,9 @@ const IntegrationGuide = () => { ) : ( -
No previous export available.
++ No previous export available. +
) ) : (+
No previous imports available.
) diff --git a/web/components/project/member-select.tsx b/web/components/project/member-select.tsx index 5a1ec5cb1..64baa945d 100644 --- a/web/components/project/member-select.tsx +++ b/web/components/project/member-select.tsx @@ -8,6 +8,8 @@ import useSWR from "swr"; import projectService from "services/project.service"; // ui import { Avatar, CustomSearchSelect } from "components/ui"; +// icon +import { Ban } from "lucide-react"; // fetch-keys import { PROJECT_MEMBERS } from "constants/fetch-keys"; @@ -49,7 +51,10 @@ export const MemberSelect: React.FC