feat(catalog): two-level offers navigation + map auto-centering
All checks were successful
Build Docker Image / build (push) Successful in 3m45s

- Add fitBounds to CatalogMap for auto-centering on all points
- Add productUuid filter to useCatalogOffers composable
- Create useCatalogProducts composable for products list
- Update offers/index.vue: show products first, then offers by product
- Update offers/map.vue: same two-level navigation
- Add translations for new UI elements

Navigation flow:
/catalog/offers → product selection → offers for that product

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ruslan Bakiev
2026-01-07 15:09:14 +07:00
parent ee2374f92a
commit ce30652252
7 changed files with 241 additions and 15 deletions

View File

@@ -1,7 +1,8 @@
{
"catalogOffersSection": {
"header": {
"title": "Offers"
"title": "Offers",
"select_product": "Select product"
},
"actions": {
"view_all": "View all"
@@ -11,7 +12,8 @@
"active": "Active"
},
"empty": {
"no_offers": "No active offers"
"no_offers": "No active offers",
"no_products": "No products available"
}
}
}

View File

@@ -1,7 +1,8 @@
{
"catalogOffersSection": {
"header": {
"title": "Предложения"
"title": "Предложения",
"select_product": "Выберите товар"
},
"actions": {
"view_all": "Смотреть все"
@@ -11,7 +12,8 @@
"active": "Активные"
},
"empty": {
"no_offers": "Нет активных предложений"
"no_offers": "Нет активных предложений",
"no_products": "Нет доступных товаров"
}
}
}