From d479781fcef259734d00a5f48fae478ac63f91e7 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 10 Nov 2023 18:30:43 +0530 Subject: [PATCH] style: header consistency (#2750) --- web/components/headers/cycle-issues.tsx | 2 +- web/components/headers/cycles.tsx | 5 ++--- web/components/headers/global-issues.tsx | 4 ++-- web/components/headers/module-issues.tsx | 2 +- web/components/headers/modules-list.tsx | 5 ++--- web/components/headers/page-details.tsx | 2 +- web/components/headers/pages.tsx | 2 +- .../headers/profile-preferences.tsx | 4 +--- .../project-archived-issue-details.tsx | 2 +- .../headers/project-archived-issues.tsx | 2 +- .../headers/project-draft-issues.tsx | 2 +- web/components/headers/project-inbox.tsx | 2 +- .../headers/project-issue-details.tsx | 2 +- web/components/headers/project-issues.tsx | 2 +- web/components/headers/project-settings.tsx | 4 +--- .../headers/project-view-issues.tsx | 2 +- web/components/headers/project-views.tsx | 4 +--- web/components/headers/projects.tsx | 6 ++--- web/components/headers/user-profile.tsx | 4 +--- .../headers/workspace-analytics.tsx | 2 +- .../headers/workspace-dashboard.tsx | 22 ++++++++++++------- web/components/headers/workspace-settings.tsx | 4 +--- 22 files changed, 39 insertions(+), 47 deletions(-) diff --git a/web/components/headers/cycle-issues.tsx b/web/components/headers/cycle-issues.tsx index 163775599..3f177cded 100644 --- a/web/components/headers/cycle-issues.tsx +++ b/web/components/headers/cycle-issues.tsx @@ -113,7 +113,7 @@ export const CycleIssuesHeader: React.FC = observer(() => { onClose={() => setAnalyticsModal(false)} cycleDetails={cycleDetails ?? undefined} /> -
+
{ const { currentProjectDetails } = projectStore; return ( -
+
@@ -51,6 +49,7 @@ export const CyclesHeader: FC = observer(() => {
diff --git a/web/components/headers/module-issues.tsx b/web/components/headers/module-issues.tsx index 8e1c20da3..cea8093bf 100644 --- a/web/components/headers/module-issues.tsx +++ b/web/components/headers/module-issues.tsx @@ -112,7 +112,7 @@ export const ModuleIssuesHeader: React.FC = observer(() => { onClose={() => setAnalyticsModal(false)} moduleDetails={moduleDetails ?? undefined} /> -
+
{ const { storedValue: modulesView, setValue: setModulesView } = useLocalStorage("modules_view", "grid"); return ( -
+
@@ -76,6 +74,7 @@ export const ModulesListHeader: React.FC = observer(() => {
diff --git a/web/components/headers/user-profile.tsx b/web/components/headers/user-profile.tsx index 70a3f40f5..1883e631f 100644 --- a/web/components/headers/user-profile.tsx +++ b/web/components/headers/user-profile.tsx @@ -17,9 +17,7 @@ export const UserProfileHeader: FC = observer((props) => { const { workspaceSlug } = router.query; return ( -
+
diff --git a/web/components/headers/workspace-analytics.tsx b/web/components/headers/workspace-analytics.tsx index ea1cde066..e25fc6d5b 100644 --- a/web/components/headers/workspace-analytics.tsx +++ b/web/components/headers/workspace-analytics.tsx @@ -9,7 +9,7 @@ export const WorkspaceAnalyticsHeader = () => { return ( <>
diff --git a/web/components/headers/workspace-dashboard.tsx b/web/components/headers/workspace-dashboard.tsx index 73d9dacab..76bd6bc30 100644 --- a/web/components/headers/workspace-dashboard.tsx +++ b/web/components/headers/workspace-dashboard.tsx @@ -7,6 +7,7 @@ import githubBlackImage from "/public/logos/github-black.png"; import githubWhiteImage from "/public/logos/github-white.png"; // components import { ProductUpdatesModal } from "components/common"; +import { Breadcrumbs } from "@plane/ui"; export const WorkspaceDashboardHeader = () => { const [isProductUpdatesModalOpen, setIsProductUpdatesModalOpen] = useState(false); @@ -16,25 +17,30 @@ export const WorkspaceDashboardHeader = () => { return ( <> -