From 4a93fdbdb4f28d68adf4535e981b4501a9f327f2 Mon Sep 17 00:00:00 2001 From: Ramesh Kumar Chandra <31303617+rameshkumarchandra@users.noreply.github.com> Date: Mon, 18 Mar 2024 12:50:33 +0530 Subject: [PATCH] [WEB-700] chore: sidebar hamburger refactor (#3960) --- web/components/cycles/cycle-mobile-header.tsx | 2 +- .../cycles/cycles-list-mobile-header.tsx | 52 ++++ web/components/headers/cycle-issues.tsx | 13 +- web/components/headers/cycles.tsx | 50 +-- web/components/headers/global-issues.tsx | 9 +- web/components/headers/module-issues.tsx | 13 +- web/components/headers/modules-list.tsx | 293 ++++++++---------- web/components/headers/page-details.tsx | 4 +- web/components/headers/pages.tsx | 4 +- .../project-archived-issue-details.tsx | 4 +- .../headers/project-archived-issues.tsx | 16 +- .../headers/project-draft-issues.tsx | 5 +- web/components/headers/project-inbox.tsx | 4 +- .../headers/project-issue-details.tsx | 4 +- web/components/headers/project-issues.tsx | 8 +- web/components/headers/project-settings.tsx | 4 +- .../headers/project-view-issues.tsx | 4 +- web/components/headers/project-views.tsx | 4 +- web/components/headers/projects.tsx | 4 +- web/components/headers/user-profile.tsx | 4 +- .../headers/workspace-active-cycles.tsx | 4 +- .../headers/workspace-analytics.tsx | 4 +- .../headers/workspace-dashboard.tsx | 4 +- web/components/headers/workspace-settings.tsx | 2 - .../issues/issues-mobile-header.tsx | 7 +- .../modules/moduels-list-mobile-header.tsx | 40 +++ .../modules/module-mobile-header.tsx | 15 +- web/layouts/app-layout/layout.tsx | 17 +- .../projects/[projectId]/cycles/[cycleId].tsx | 3 +- .../projects/[projectId]/cycles/index.tsx | 3 +- .../projects/[projectId]/issues/index.tsx | 3 +- .../[projectId]/modules/[moduleId].tsx | 3 +- .../projects/[projectId]/modules/index.tsx | 3 +- 33 files changed, 289 insertions(+), 320 deletions(-) create mode 100644 web/components/cycles/cycles-list-mobile-header.tsx create mode 100644 web/components/modules/moduels-list-mobile-header.tsx diff --git a/web/components/cycles/cycle-mobile-header.tsx b/web/components/cycles/cycle-mobile-header.tsx index add78943c..9fbc96df3 100644 --- a/web/components/cycles/cycle-mobile-header.tsx +++ b/web/components/cycles/cycle-mobile-header.tsx @@ -109,7 +109,7 @@ export const CycleMobileHeader = () => { onClose={() => setAnalyticsModal(false)} cycleDetails={cycleDetails ?? undefined} /> -
{moduleDetails?.name && moduleDetails.name}
{issueCount && issueCount > 0 ? (