From c5ff83db40d25d45889b8733bf6a72a79eee7c90 Mon Sep 17 00:00:00 2001 From: Innocent-akim Date: Sat, 30 Nov 2024 10:26:52 +0200 Subject: [PATCH 1/6] Fix: handle timesheet update with precise time ranges and billing information --- .../[memberId]/components/AddTaskModal.tsx | 64 ++++++--- .../[memberId]/components/EditTaskModal.tsx | 121 ++++++++++++------ .../[locale]/timesheet/[memberId]/page.tsx | 2 +- .../hooks/features/useTimelogFilterOptions.ts | 10 +- apps/web/app/interfaces/timer/ITimerLog.ts | 12 +- apps/web/lib/components/combobox/index.tsx | 5 +- .../manual-time/manage-member-component.tsx | 7 +- 7 files changed, 148 insertions(+), 73 deletions(-) diff --git a/apps/web/app/[locale]/timesheet/[memberId]/components/AddTaskModal.tsx b/apps/web/app/[locale]/timesheet/[memberId]/components/AddTaskModal.tsx index 3a13f5688..2f38dda15 100644 --- a/apps/web/app/[locale]/timesheet/[memberId]/components/AddTaskModal.tsx +++ b/apps/web/app/[locale]/timesheet/[memberId]/components/AddTaskModal.tsx @@ -60,9 +60,9 @@ export function AddTaskModal({ closeModal, isOpen }: IAddTaskModalProps) { closeModal={closeModal} title={'+ Add Time Entry'} showCloseIcon - className="bg-light--theme-light dark:bg-dark--theme-light p-5 rounded-xl w-full md:w-40 md:min-w-[30rem] justify-start h-[auto] overflow-y-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"> -
+