From 7cf00f092955dedbb3e191b493e3652b6dc8ae76 Mon Sep 17 00:00:00 2001 From: AKILIMAILI CIZUNGU Innocent <51681130+Innocent-Akim@users.noreply.github.com> Date: Sun, 8 Dec 2024 19:29:41 +0200 Subject: [PATCH] [Feat]: Added Bulk Deletion Functionality For Time Entries (#3402) * feat: added bulk deletion functionality for time entries * fix: coderabbitai --- .../[memberId]/components/EditTaskModal.tsx | 2 +- .../hooks/features/useTimelogFilterOptions.ts | 7 +- apps/web/app/hooks/features/useTimesheet.ts | 8 +- .../components/alert-dialog-confirmation.tsx | 72 +++++++++++++++ .../calendar/table-time-sheet.tsx | 92 +++++++++++++------ 5 files changed, 147 insertions(+), 34 deletions(-) diff --git a/apps/web/app/[locale]/timesheet/[memberId]/components/EditTaskModal.tsx b/apps/web/app/[locale]/timesheet/[memberId]/components/EditTaskModal.tsx index 10a66b369..2bb6083bf 100644 --- a/apps/web/app/[locale]/timesheet/[memberId]/components/EditTaskModal.tsx +++ b/apps/web/app/[locale]/timesheet/[memberId]/components/EditTaskModal.tsx @@ -131,7 +131,7 @@ export function EditTaskModal({ isOpen, closeModal, dataTimesheet }: IEditTaskMo isOpen={isOpen} showCloseIcon title={'Edit Task'} - className="bg-light--theme-light dark:bg-dark--theme-light p-5 rounded-xl w-full md:min-w-[32rem] justify-start h-[auto]" + className="bg-light--theme-light dark:bg-dark--theme-light p-5 rounded-xl w-full md:w-40 md:min-w-[32rem] justify-start h-[auto]" titleClass="font-bold flex justify-start w-full">