From 462b3aaf9eea7b757f3aeb90bac23cbdccb69912 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Mar 2026 03:07:46 +0000 Subject: [PATCH 2/5] feat: show filtered ROM count below the filter button in gallery AppBar Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com> --- .../components/Gallery/AppBar/common/FilterBtn.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Gallery/AppBar/common/FilterBtn.vue b/frontend/src/components/Gallery/AppBar/common/FilterBtn.vue index 95047e516..bf87ece9d 100644 --- a/frontend/src/components/Gallery/AppBar/common/FilterBtn.vue +++ b/frontend/src/components/Gallery/AppBar/common/FilterBtn.vue @@ -2,10 +2,13 @@ import { storeToRefs } from "pinia"; import { useI18n } from "vue-i18n"; import storeGalleryFilter from "@/stores/galleryFilter"; +import storeRoms from "@/stores/roms"; const { t } = useI18n(); const galleryFilterStore = storeGalleryFilter(); +const romsStore = storeRoms(); const { activeFilterDrawer } = storeToRefs(galleryFilterStore); +const { fetchTotalRoms } = storeToRefs(romsStore); From 5a2fb7a3954f5381d07ad40ea68c655b6681df2a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Mar 2026 03:20:58 +0000 Subject: [PATCH 3/5] feat: move ROM count to filter drawer and AppBar chip, remove from button Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com> --- frontend/src/components/Gallery/AppBar/Base.vue | 14 ++++++++++++++ .../components/Gallery/AppBar/common/FilterBtn.vue | 13 +++---------- .../Gallery/AppBar/common/FilterDrawer/Base.vue | 9 ++++++++- frontend/src/locales/en_US/gallery.json | 3 ++- 4 files changed, 27 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/Gallery/AppBar/Base.vue b/frontend/src/components/Gallery/AppBar/Base.vue index 67ac4b3df..9dd29db5a 100644 --- a/frontend/src/components/Gallery/AppBar/Base.vue +++ b/frontend/src/components/Gallery/AppBar/Base.vue @@ -1,4 +1,6 @@