From df0452ecba7e08677c032ab5634581e4497dc50f Mon Sep 17 00:00:00 2001 From: AKILIMAILI CIZUNGU Innocent <51681130+Innocent-Akim@users.noreply.github.com> Date: Thu, 31 Oct 2024 22:01:09 +0200 Subject: [PATCH 1/5] [Feat]: Implement dynamic date range picker for timesheet filtering (#3213) * feat: Implement dynamic date range picker for timesheet filtering * fix: Resolved * improve: timesheet date filter --- .../timesheet/components/TimesheetFilter.tsx | 66 +++--- .../components/TimesheetFilterDate.tsx | 197 ++++++++++++++++++ .../[locale]/timesheet/components/index.tsx | 1 + 3 files changed, 227 insertions(+), 37 deletions(-) create mode 100644 apps/web/app/[locale]/timesheet/components/TimesheetFilterDate.tsx diff --git a/apps/web/app/[locale]/timesheet/components/TimesheetFilter.tsx b/apps/web/app/[locale]/timesheet/components/TimesheetFilter.tsx index 9249a9036..0430a0aab 100644 --- a/apps/web/app/[locale]/timesheet/components/TimesheetFilter.tsx +++ b/apps/web/app/[locale]/timesheet/components/TimesheetFilter.tsx @@ -1,47 +1,39 @@ import { FilterWithStatus } from './FilterWithStatus'; -import { FilterTaskActionMenu, FrequencySelect } from '.'; +import { FrequencySelect, TimesheetFilterDate } from '.'; import { Button } from 'lib/components'; -import { TimeSheetFilterPopover } from './time-sheet-filter-popover'; -import { Cross2Icon } from '@radix-ui/react-icons'; +import { SettingFilterIcon } from '@/assets/svg'; export function TimesheetFilter() { return ( - <> - -