From ebad7f0cdf2e80a29cfe96fc8305693dfcfc8f4f Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Thu, 22 Feb 2024 20:20:30 +0530 Subject: [PATCH] [WEB-515] fix: spreadsheet layout overflow (#3758) * fix: spreadsheet column sort by dropdown overlapping fix * fix: spreadsheet issue title column sticky fix * fix: issues header z index fix --- web/components/headers/cycle-issues.tsx | 11 +++++--- web/components/headers/global-issues.tsx | 2 +- web/components/headers/module-issues.tsx | 27 +++++++++++++++---- web/components/headers/project-issues.tsx | 2 +- .../headers/project-view-issues.tsx | 2 +- .../spreadsheet/columns/header-column.tsx | 20 +++++++------- .../spreadsheet/spreadsheet-header.tsx | 4 +-- 7 files changed, 45 insertions(+), 23 deletions(-) diff --git a/web/components/headers/cycle-issues.tsx b/web/components/headers/cycle-issues.tsx index 05030c500..0a36c133b 100644 --- a/web/components/headers/cycle-issues.tsx +++ b/web/components/headers/cycle-issues.tsx @@ -149,7 +149,7 @@ export const CycleIssuesHeader: React.FC = observer(() => { onClose={() => setAnalyticsModal(false)} cycleDetails={cycleDetails ?? undefined} /> -
+
@@ -175,7 +175,12 @@ export const CycleIssuesHeader: React.FC = observer(() => { } /> - ... + + ... + } /> @@ -282,5 +287,3 @@ export const CycleIssuesHeader: React.FC = observer(() => { ); }); - - diff --git a/web/components/headers/global-issues.tsx b/web/components/headers/global-issues.tsx index cca1a972b..3c40cbbff 100644 --- a/web/components/headers/global-issues.tsx +++ b/web/components/headers/global-issues.tsx @@ -107,7 +107,7 @@ export const GlobalIssuesHeader: React.FC = observer((props) => { return ( <> setCreateViewModal(false)} /> -
+
diff --git a/web/components/headers/module-issues.tsx b/web/components/headers/module-issues.tsx index d51c0f432..f722b506f 100644 --- a/web/components/headers/module-issues.tsx +++ b/web/components/headers/module-issues.tsx @@ -152,7 +152,7 @@ export const ModuleIssuesHeader: React.FC = observer(() => { onClose={() => setAnalyticsModal(false)} moduleDetails={moduleDetails ?? undefined} /> -
+
@@ -178,7 +178,12 @@ export const ModuleIssuesHeader: React.FC = observer(() => { } /> - ... + + ... + } /> @@ -249,7 +254,12 @@ export const ModuleIssuesHeader: React.FC = observer(() => { {canUserCreateIssue && ( <> -
diff --git a/web/components/headers/project-issues.tsx b/web/components/headers/project-issues.tsx index 033196758..43030c5c2 100644 --- a/web/components/headers/project-issues.tsx +++ b/web/components/headers/project-issues.tsx @@ -109,7 +109,7 @@ export const ProjectIssuesHeader: React.FC = observer(() => { onClose={() => setAnalyticsModal(false)} projectDetails={currentProjectDetails ?? undefined} /> -
+
diff --git a/web/components/headers/project-view-issues.tsx b/web/components/headers/project-view-issues.tsx index 56cd54f0b..175534a79 100644 --- a/web/components/headers/project-view-issues.tsx +++ b/web/components/headers/project-view-issues.tsx @@ -108,7 +108,7 @@ export const ProjectViewIssuesHeader: React.FC = observer(() => { currentProjectRole && [EUserProjectRoles.ADMIN, EUserProjectRoles.MEMBER].includes(currentProjectRole); return ( -
+
diff --git a/web/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx b/web/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx index b7f432385..ac06525df 100644 --- a/web/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx +++ b/web/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx @@ -65,15 +65,16 @@ export const HeaderColumn = (props: Props) => {
} onMenuClose={onClose} - placement="bottom-end" + placement="bottom-start" closeOnSelect > handleOrderBy(propertyDetails.ascendingOrderKey, property)}>
@@ -87,10 +88,11 @@ export const HeaderColumn = (props: Props) => { handleOrderBy(propertyDetails.descendingOrderKey, property)}>
diff --git a/web/components/issues/issue-layouts/spreadsheet/spreadsheet-header.tsx b/web/components/issues/issue-layouts/spreadsheet/spreadsheet-header.tsx index 64d1ec0e1..8a4461cb5 100644 --- a/web/components/issues/issue-layouts/spreadsheet/spreadsheet-header.tsx +++ b/web/components/issues/issue-layouts/spreadsheet/spreadsheet-header.tsx @@ -19,10 +19,10 @@ export const SpreadsheetHeader = (props: Props) => { const { displayProperties, displayFilters, handleDisplayFilterUpdate, isEstimateEnabled } = props; return ( - +