From e68a7a9ed592d8ac71313c897088bfa0ae7e00d7 Mon Sep 17 00:00:00 2001 From: padreug Date: Sat, 27 Sep 2025 09:51:00 +0200 Subject: [PATCH] refactor: simplify LoadingErrorState and enhance MarketSearchBar functionality - Removed unnecessary imports and streamlined the LoadingErrorState component by eliminating redundant props. - Improved keyboard handling in MarketSearchBar to support basic Escape key functionality and enhanced keyboard shortcuts. - Updated MerchantStore and MarketPage components to utilize the revised LoadingErrorState and MarketSearchBar, ensuring consistent loading/error handling and search capabilities. - Enhanced StallView to provide better category filtering and product search experience. These changes improve code clarity and maintainability while enhancing user interaction across the market module. --- .../market/components/LoadingErrorState.vue | 5 +- .../market/components/MarketSearchBar.vue | 24 +++- .../market/components/MerchantStore.vue | 132 ++++++++++-------- src/modules/market/views/MarketPage.vue | 9 +- src/modules/market/views/StallView.vue | 20 ++- 5 files changed, 109 insertions(+), 81 deletions(-) diff --git a/src/modules/market/components/LoadingErrorState.vue b/src/modules/market/components/LoadingErrorState.vue index 8652e8f..06d160a 100644 --- a/src/modules/market/components/LoadingErrorState.vue +++ b/src/modules/market/components/LoadingErrorState.vue @@ -65,7 +65,6 @@