From f7a76c9e9b8723386c8038f474a0b4b3e7f12b2c Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 15 Mar 2026 21:46:48 +0100 Subject: [PATCH] feat(frontend) : add date filter component to time-tracking page Reusable DateFilter component using @vuepic/vue-datepicker with day/week toggle. Selecting a day switches to day view, selecting a week navigates the calendar to that week. Includes "Aujourd'hui" and "Cette semaine" quick shortcuts. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/components/ui/DateFilter.vue | 147 ++++++++++++++++++-------- frontend/i18n/locales/fr.json | 4 +- frontend/pages/time-tracking.vue | 36 +++---- 3 files changed, 117 insertions(+), 70 deletions(-) diff --git a/frontend/components/ui/DateFilter.vue b/frontend/components/ui/DateFilter.vue index c416202..404f5d6 100644 --- a/frontend/components/ui/DateFilter.vue +++ b/frontend/components/ui/DateFilter.vue @@ -1,41 +1,57 @@