From ee0e3e2e252b6ee91e364c0e4840f074cd8bd2b0 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:47:40 +0530 Subject: [PATCH 1/8] chore: active cycle issue transfer validation (#3560) * fix: completed cycle list layout validation * fix: completed cycle kanban layout validation * fix: completed cycle spreadsheet layout validation * fix: date dropdown disabled fix * chore: quick action validation added for list, kanban and spreadsheet layout * fix: calendar layout validation added --- web/components/dropdowns/date.tsx | 1 + .../calendar/base-calendar-root.tsx | 13 +- .../issue-layouts/calendar/calendar.tsx | 16 ++- .../issue-layouts/calendar/day-tile.tsx | 7 +- .../issue-layouts/calendar/issue-blocks.tsx | 5 +- .../calendar/roots/cycle-root.tsx | 7 +- .../issue-layouts/calendar/week-days.tsx | 3 + .../issue-layouts/kanban/base-kanban-root.tsx | 5 +- .../issue-layouts/kanban/roots/cycle-root.tsx | 10 +- .../issue-layouts/list/base-list-root.tsx | 4 + .../issues/issue-layouts/list/default.tsx | 9 +- .../issue-layouts/list/list-view-types.d.ts | 1 + .../issue-layouts/list/roots/cycle-root.tsx | 9 +- .../quick-action-dropdowns/all-issue.tsx | 68 ++++++----- .../quick-action-dropdowns/archived-issue.tsx | 35 ++++-- .../quick-action-dropdowns/cycle-issue.tsx | 112 +++++++++++------- .../quick-action-dropdowns/module-issue.tsx | 110 ++++++++++------- .../quick-action-dropdowns/project-issue.tsx | 4 +- .../spreadsheet/base-spreadsheet-root.tsx | 14 ++- .../spreadsheet/roots/cycle-root.tsx | 10 +- 20 files changed, 288 insertions(+), 155 deletions(-) diff --git a/web/components/dropdowns/date.tsx b/web/components/dropdowns/date.tsx index 1dba6f780..3cd9ca16a 100644 --- a/web/components/dropdowns/date.tsx +++ b/web/components/dropdowns/date.tsx @@ -105,6 +105,7 @@ export const DateDropdown: React.FC = (props) => { tabIndex={tabIndex} className={cn("h-full", className)} onKeyDown={handleKeyDown} + disabled={disabled} >