Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

feat(frontend): Make Block description searchable on Block list palette (#8839)

Zamil Majdy520b1d794052
diff --git a/autogpt_platform/frontend/src/components/edit/control/BlocksControl.tsx b/autogpt_platform/frontend/src/components/edit/control/BlocksControl.tsx
index a4183de4d5..f916809d59 100644
--- a/autogpt_platform/frontend/src/components/edit/control/BlocksControl.tsx
+++ b/autogpt_platform/frontend/src/components/edit/control/BlocksControl.tsx
@@ -85,6 +85,9 @@ export const BlocksControl: React.FC<BlocksControlProps> = ({
(block: Block) =>
(block.name.toLowerCase().includes(searchQuery.toLowerCase()) ||
beautifyString(block.name)
+ .toLowerCase()
+ .includes(searchQuery.toLowerCase()) ||
+ block.description
.toLowerCase()
.includes(searchQuery.toLowerCase())) &&
(!selectedCategory ||