From 07539e23441809cbe9931cdd9a2f44d745941583 Mon Sep 17 00:00:00 2001 From: Afiq Date: Thu, 7 Aug 2025 19:07:56 +0800 Subject: [PATCH] Enhance FormBuilderComponents with Search and Filter Functionality - Updated FormBuilderComponents.vue to introduce an enhanced search bar with filtering options for components, improving user experience in locating specific items. - Added a filter dropdown to allow users to filter components by category, with clear options for selection and removal of filters. - Implemented recently used components section to provide quick access to frequently utilized items, enhancing workflow efficiency. - Enhanced search functionality to highlight matching components and provide feedback when no results are found, ensuring better usability. - Updated styles for improved visual consistency and responsiveness across different screen sizes. - Modified settings.local.json to include ESLint command in the allowed commands list for better development practices. --- .claude/settings.local.json | 5 +- components/FormBuilderComponents.vue | 726 +++++++++++++++++++++++++-- 2 files changed, 678 insertions(+), 53 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index c8b6d3d..f734005 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -4,8 +4,9 @@ "Bash(mkdir:*)", "Bash(yarn dev:*)", "Bash(yarn lint:*)", - "Bash(yarn build:*)" + "Bash(yarn build:*)", + "Bash(npx eslint:*)" ], "deny": [] } -} +} \ No newline at end of file diff --git a/components/FormBuilderComponents.vue b/components/FormBuilderComponents.vue index 37f9b0f..f3a7cb2 100644 --- a/components/FormBuilderComponents.vue +++ b/components/FormBuilderComponents.vue @@ -1,30 +1,112 @@