From d1087820f6d5e3c75e13ba49d2281c408f3e8c69 Mon Sep 17 00:00:00 2001 From: guru_sainath Date: Thu, 29 Feb 2024 17:18:03 +0530 Subject: [PATCH] [web-599] ui: kanban layout UI consistency enhancement for grouped display filters (#3841) * ui: UI inconsistancy in kanban layout when we grouped and sub grouped display filters. * ui: width update in the kanban block --- .../issue-layouts/kanban/base-kanban-root.tsx | 44 ++++++++++--------- .../issues/issue-layouts/kanban/block.tsx | 2 +- .../issues/issue-layouts/kanban/default.tsx | 4 +- .../issue-layouts/kanban/kanban-group.tsx | 4 +- .../issues/issue-layouts/kanban/swimlanes.tsx | 4 +- 5 files changed, 29 insertions(+), 29 deletions(-) diff --git a/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx b/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx index 0d7a984b1..7bdaf282d 100644 --- a/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -291,27 +291,29 @@ export const BaseKanBanRoot: React.FC = observer((props: IBas - +
+ +
diff --git a/web/components/issues/issue-layouts/kanban/block.tsx b/web/components/issues/issue-layouts/kanban/block.tsx index 8446e7328..be27f7706 100644 --- a/web/components/issues/issue-layouts/kanban/block.tsx +++ b/web/components/issues/issue-layouts/kanban/block.tsx @@ -141,7 +141,7 @@ export const KanbanIssueBlock: React.FC = memo((props) => { >
= observer((props) => { const isGroupByCreatedBy = group_by === "created_by"; return ( -
+
{groupList && groupList.length > 0 && groupList.map((_list: IGroupByColumn) => { const groupByVisibilityToggle = visibilityGroupBy(_list); return ( -
+
{sub_group_by === null && (
{ {(provided: any, snapshot: any) => (
diff --git a/web/components/issues/issue-layouts/kanban/swimlanes.tsx b/web/components/issues/issue-layouts/kanban/swimlanes.tsx index 7b57752f2..44715cf62 100644 --- a/web/components/issues/issue-layouts/kanban/swimlanes.tsx +++ b/web/components/issues/issue-layouts/kanban/swimlanes.tsx @@ -38,11 +38,11 @@ const SubGroupSwimlaneHeader: React.FC = ({ kanbanFilters, handleKanbanFilters, }) => ( -
+
{list && list.length > 0 && list.map((_list: IGroupByColumn) => ( -
+