From 39c3d24b3ac1b26ca4a27ff44ffb285552bd5216 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev Date: Sun, 25 Jan 2026 16:44:00 +0700 Subject: [PATCH] Fix Info panel - translations, two-step offers flow, icon, add to filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add i18n translations for entities, tabs, and info sections (EN/RU) - Refactor offers tab to two-step flow (products → offers) for Hub/Supplier - Replace entity badge with circular icon in header - Fix "Add to filter" button with name fallback and proper cleanup - Update selectItem() to clear info param when adding to filter --- app/components/catalog/InfoPanel.vue | 106 ++++++++++++++++++--------- app/composables/useCatalogSearch.ts | 3 +- app/pages/catalog/index.vue | 4 +- i18n/locales/en/catalog.json | 17 +++++ i18n/locales/ru/catalog.json | 17 +++++ 5 files changed, 110 insertions(+), 37 deletions(-) diff --git a/app/components/catalog/InfoPanel.vue b/app/components/catalog/InfoPanel.vue index 90068df..5fc238d 100644 --- a/app/components/catalog/InfoPanel.vue +++ b/app/components/catalog/InfoPanel.vue @@ -3,9 +3,12 @@