From b3428c29055c146210109ea85cf221e35373fb80 Mon Sep 17 00:00:00 2001 From: padreug Date: Sat, 27 Sep 2025 18:44:02 +0200 Subject: [PATCH] refactor: (4) enhance MarketSearchBar with internal query handling and debouncing - Introduced an internal query state to improve UI responsiveness during search input. - Implemented a debounced search function to optimize performance and reduce unnecessary emissions. - Updated conditions for displaying keyboard hints and clear button based on the new internal query. - Ensured both internal and actual search queries are cleared appropriately. These changes enhance the user experience by providing immediate feedback while typing and optimizing search operations. --- .../market/components/MarketSearchBar.vue | 44 +++++++++++++------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/src/modules/market/components/MarketSearchBar.vue b/src/modules/market/components/MarketSearchBar.vue index f1ccea6..1f5a564 100644 --- a/src/modules/market/components/MarketSearchBar.vue +++ b/src/modules/market/components/MarketSearchBar.vue @@ -8,7 +8,7 @@
-
+
⌘ K