feat: Enhance FAQ management and search functionality

- Added a new menu item for searching FAQs directly from the menu, improving user accessibility.
- Implemented batch action options for selected FAQs, allowing users to perform bulk operations such as enabling, disabling, and deleting entries.
- Updated localization strings to support new features and improve user experience across multiple languages.
- Enhanced the handling of FAQ selection changes to dynamically update the UI based on user interactions.
This commit is contained in:
wizardchen
2025-11-23 17:27:30 +08:00
parent 1a3d36f2c1
commit e853605cea
16 changed files with 303 additions and 35 deletions
@@ -67,6 +67,12 @@
:data="toolData as WebFetchResultsData"
/>
<!-- Grep Results Display -->
<GrepResults
v-else-if="displayType === 'grep_results'"
:data="toolData as GrepResultsData"
/>
<!-- Fallback: Display raw output -->
<div v-else class="fallback-output">
<div class="fallback-header">
@@ -93,7 +99,8 @@ import type {
PlanData,
DatabaseQueryData,
WebSearchResultsData,
WebFetchResultsData
WebFetchResultsData,
GrepResultsData
} from '@/types/tool-results';
import SearchResults from './tool-results/SearchResults.vue';
@@ -107,6 +114,7 @@ import PlanDisplay from './tool-results/PlanDisplay.vue';
import DatabaseQuery from './tool-results/DatabaseQuery.vue';
import WebSearchResults from './tool-results/WebSearchResults.vue';
import WebFetchResults from './tool-results/WebFetchResults.vue';
import GrepResults from './tool-results/GrepResults.vue';
interface Props {
displayType?: DisplayType;