From 6e487639474851f4321d03db6c43145c8e9a9375 Mon Sep 17 00:00:00 2001 From: Pau Costa Date: Sat, 28 Mar 2026 18:14:51 +0100 Subject: [PATCH] Add filtering for past and upcoming bookings in "My Bookings" page - Enhance UI to separate upcoming and past bookings with collapsible sections. - Add new i18n keys for handling booking filters (`en.json`, `es-ES.json`). - Update booking component logic to filter reservations based on time. - Introduce "Show/Hide Past Bookings" toggle for improved user experience. --- .idea/workspace.xml | 21 ++- apps/web/src/lib/i18n/locales/en.json | 6 +- apps/web/src/lib/i18n/locales/es-ES.json | 6 +- .../routes/dashboard/my-bookings/+page.svelte | 168 +++++++++++++----- 4 files changed, 145 insertions(+), 56 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f2538d6..28b394f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,8 +4,10 @@