From 0efc4eddfd1c849dfc7c4cc86dded0e5f05507e0 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev Date: Mon, 26 Jan 2026 14:36:42 +0700 Subject: [PATCH] Simplify catalog UI - remove chips, add drawer for list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove product/hub chips from QuoteForm.vue (duplicate of toggle) - Add drawer state to useCatalogSearch.ts (isDrawerOpen, selectDrawerItem, applyDrawerFilter) - Convert SelectionPanel to drawer with header, scrollable content, and footer - Add "Список" button to CatalogPage.vue to open drawer - Add "Применить фильтр" button in drawer footer - Add slide animations for drawer (left on desktop, up on mobile) - Update translations: catalog.list, catalog.applyFilter --- app/components/catalog/QuoteForm.vue | 58 ------- app/components/catalog/SelectionPanel.vue | 183 ++++++++++++---------- app/components/page/CatalogPage.vue | 103 ++++++++---- app/composables/useCatalogSearch.ts | 51 ++++++ app/pages/catalog/index.vue | 2 - i18n/locales/ru/catalog.json | 4 +- 6 files changed, 233 insertions(+), 168 deletions(-) diff --git a/app/components/catalog/QuoteForm.vue b/app/components/catalog/QuoteForm.vue index 37c4222..283843e 100644 --- a/app/components/catalog/QuoteForm.vue +++ b/app/components/catalog/QuoteForm.vue @@ -2,64 +2,6 @@

{{ $t('catalog.quote.title') }}

- -
- - - -
- - -
- - - -
-
- + + + +
- -