Fix Info panel - translations, two-step offers flow, icon, add to filter
All checks were successful
Build Docker Image / build (push) Successful in 3m36s

- 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
This commit is contained in:
Ruslan Bakiev
2026-01-25 16:44:00 +07:00
parent 908d63062c
commit 39c3d24b3a
5 changed files with 110 additions and 37 deletions

View File

@@ -1,5 +1,10 @@
{
"catalog": {
"entities": {
"hub": "Хаб",
"supplier": "Поставщик",
"offer": "Оффер"
},
"filters": {
"product": "Товар",
"supplier": "Поставщик",
@@ -41,6 +46,18 @@
"offers": "Офферы",
"map": "Карта"
},
"tabs": {
"products": "Товары",
"offers": "Офферы",
"suppliers": "Поставщики",
"hubs": "Хабы",
"product": "Товар",
"supplier": "Поставщик"
},
"info": {
"selectProductFirst": "Сначала выберите товар",
"addToFilter": "Добавить в фильтр"
},
"modes": {
"explore": "Исследовать",
"quote": "Найти офферы"