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": "Hub",
"supplier": "Supplier",
"offer": "Offer"
},
"filters": {
"product": "Product",
"supplier": "Supplier",
@@ -41,6 +46,18 @@
"offers": "Offers",
"map": "Map"
},
"tabs": {
"products": "Products",
"offers": "Offers",
"suppliers": "Suppliers",
"hubs": "Hubs",
"product": "Product",
"supplier": "Supplier"
},
"info": {
"selectProductFirst": "Select a product first",
"addToFilter": "Add to filter"
},
"modes": {
"explore": "Explore",
"quote": "Get Quote"