From 2b103cfaeafc92deab1477b4e2d8ecc921a1c5c3 Mon Sep 17 00:00:00 2001 From: Padreug Date: Thu, 4 Jun 2026 22:00:02 +0200 Subject: [PATCH] feat(activities): reclaim vertical space above the feed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Past events no longer gets its own row — it folds into the existing collapsible (renamed "Filters") alongside Categories, so the feed gains that row by default. The Filters trigger badge counts past- events being on plus any selected categories, so users still see at a glance when hidden toggles are active. The standalone "Filters active / Clear all" notice is gone too; Clear all sits inline beside the trigger only when something's active. Header is tightened (text-xl) and inter-row margins drop from mb-4 to mb-3 across the date strip + temporal pills. --- src/i18n/locales/en.ts | 2 + src/i18n/locales/es.ts | 2 + src/i18n/locales/fr.ts | 2 + src/i18n/types.ts | 2 + src/modules/events/views/EventsPage.vue | 105 +++++++++++++----------- 5 files changed, 67 insertions(+), 46 deletions(-) diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts index 7adc7fe..bea78ff 100644 --- a/src/i18n/locales/en.ts +++ b/src/i18n/locales/en.ts @@ -69,6 +69,8 @@ const messages: LocaleMessages = { hosting: 'Hosting', pastEvents: 'Past events', past: 'Past', + filters: 'Filters', + clearAll: 'Clear all', }, categories: { concert: 'Concert', diff --git a/src/i18n/locales/es.ts b/src/i18n/locales/es.ts index 555ecc3..edc5d82 100644 --- a/src/i18n/locales/es.ts +++ b/src/i18n/locales/es.ts @@ -69,6 +69,8 @@ const messages: LocaleMessages = { hosting: 'Organizo', pastEvents: 'Eventos pasados', past: 'Pasado', + filters: 'Filtros', + clearAll: 'Limpiar todo', }, categories: { concert: 'Concierto', diff --git a/src/i18n/locales/fr.ts b/src/i18n/locales/fr.ts index fad6af0..543f715 100644 --- a/src/i18n/locales/fr.ts +++ b/src/i18n/locales/fr.ts @@ -69,6 +69,8 @@ const messages: LocaleMessages = { hosting: 'J\'organise', pastEvents: 'Événements passés', past: 'Passé', + filters: 'Filtres', + clearAll: 'Tout effacer', }, categories: { concert: 'Concert', diff --git a/src/i18n/types.ts b/src/i18n/types.ts index 895f971..3aebdf0 100644 --- a/src/i18n/types.ts +++ b/src/i18n/types.ts @@ -70,6 +70,8 @@ export interface LocaleMessages { hosting: string pastEvents: string past: string + filters: string + clearAll: string } categories: Record detail: { diff --git a/src/modules/events/views/EventsPage.vue b/src/modules/events/views/EventsPage.vue index edd50bb..b343ed5 100644 --- a/src/modules/events/views/EventsPage.vue +++ b/src/modules/events/views/EventsPage.vue @@ -1,5 +1,5 @@