change requests, tool-registry

This commit is contained in:
EthanHealy01 2025-08-18 17:47:27 +01:00
parent ce76271c09
commit 9b05b5be0d
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ const ToolPicker = ({ selectedToolKey, onSelect, filteredTools, isSearching = fa
<Box ref={allToolsRef} w="100%"> <Box ref={allToolsRef} w="100%">
<Stack p="sm" gap="xs"> <Stack p="sm" gap="xs">
{allSection?.subcategories.map(sc => {allSection?.subcategories.map(sc =>
renderToolButtons(sc, selectedToolKey, onSelect, allSection?.subcategories.length === 1) renderToolButtons(sc, selectedToolKey, onSelect, true)
)} )}
</Stack> </Stack>
</Box> </Box>

View File

@ -34,7 +34,7 @@ export type ToolRegistryEntry = {
icon: React.ReactNode; icon: React.ReactNode;
name: string; name: string;
component: React.ComponentType<any> | null; component: React.ComponentType<any> | null;
view: string; view: 'sign' | 'security' | 'format' | 'extract' | 'view' | 'merge' | 'pageEditor' | 'convert' | 'redact' | 'split' | 'convert' | 'remove' | 'compress' | 'external';
description: string; description: string;
category: ToolCategory; category: ToolCategory;
subcategory: ToolSubcategory; subcategory: ToolSubcategory;