Skip to content

Commit d4d8244

Browse files
committed
fix(platform): wire Search blocks and Add to skills to their sentence-case labels
The command list's Search blocks row matched the old 'Search Blocks' label, so clicking it did nothing and the Toolbar tab never opened. The app-level skill editor still offered 'Add to Skills' while the workspace one says Add to skills.
1 parent 4d8d951 commit d4d8244

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/sim/app/(product)/_components/workspace/workflows/command-list/command-list.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function CommandList() {
6262
* Mirrors the behavior of the corresponding global keyboard shortcuts:
6363
* - New Agent: add an agent block to the canvas
6464
* - Logs: navigate to workspace logs
65-
* - Search Blocks: focus the toolbar's block search
65+
* - Search blocks: focus the toolbar's block search
6666
*
6767
* @param label - Command label that was clicked.
6868
*/
@@ -78,7 +78,7 @@ export function CommandList() {
7878
router.push(hrefFor(workspacePath(workspaceId, 'logs')))
7979
return
8080
}
81-
case 'Search Blocks': {
81+
case 'Search blocks': {
8282
invokeGlobalCommand('focus-toolbar-search')
8383
return
8484
}

‎apps/sim/app/(product)/o/[organizationId]/integrations/_components/integration-capabilities/integration-capabilities.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function IntegrationCapabilities({
7272
instructions: skill.content,
7373
source: { providerId, name: skill.name },
7474
}}
75-
createLabel='Add to Skills'
75+
createLabel='Add to skills'
7676
deleteLabel='Remove from Skills'
7777
onSave={onSave}
7878
onClose={() => setSkill(null)}

0 commit comments

Comments
 (0)