From d6865d212981b21a4b15d35d8daf00c84c228473 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev Date: Thu, 8 Jan 2026 10:42:59 +0700 Subject: [PATCH] UI improvements: filters, map layout, search bar - Add hubCountries query and country filter for hubs page - Add getAvailableProducts query for offers (only products with active offers) - Add sourceLatitude/sourceLongitude to orders GraphQL - Fix ListMapLayout with position fixed for proper map height - GlobalSearchBar: make fields wider, remove unit selector - Remove status/isVerified filters from suppliers/offers (backend handles this) --- app/components/layout/ListMapLayout.vue | 26 +++++++------ app/components/search/GlobalSearchBar.vue | 39 ++++++------------- app/composables/useCatalogHubs.ts | 30 ++++++++++++-- app/composables/useCatalogOffers.ts | 1 - app/composables/useCatalogProducts.ts | 6 +-- app/composables/useCatalogSuppliers.ts | 19 +-------- app/pages/catalog/hubs/index.vue | 7 +++- .../exchange/GetAvailableProducts.graphql | 9 +++++ .../public/exchange/GetOffers.graphql | 7 ++-- .../exchange/GetSupplierProfiles.graphql | 8 ++-- .../public/geo/GetHubCountries.graphql | 3 ++ .../operations/public/geo/GetNodes.graphql | 6 +-- .../team/orders/GetTeamOrders.graphql | 2 + i18n/locales/en/catalogHubsSection.json | 1 + i18n/locales/ru/catalogHubsSection.json | 1 + 15 files changed, 87 insertions(+), 78 deletions(-) create mode 100644 graphql/operations/public/exchange/GetAvailableProducts.graphql create mode 100644 graphql/operations/public/geo/GetHubCountries.graphql diff --git a/app/components/layout/ListMapLayout.vue b/app/components/layout/ListMapLayout.vue index d323cf7..446ecd9 100644 --- a/app/components/layout/ListMapLayout.vue +++ b/app/components/layout/ListMapLayout.vue @@ -1,23 +1,25 @@