Skip to content

Commit bed5e95

Browse files
authored
fix(selectors): enable search on all picker and selector subBlocks (#4269)
1 parent f7ab399 commit bed5e95

18 files changed

Lines changed: 0 additions & 31 deletions

apps/sim/blocks/blocks/airtable.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export const AirtableBlock: BlockConfig<AirtableResponse> = {
6262
canonicalParamId: 'baseId',
6363
serviceId: 'airtable',
6464
selectorKey: 'airtable.bases',
65-
selectorAllowSearch: false,
6665
placeholder: 'Select Airtable base',
6766
dependsOn: ['credential'],
6867
mode: 'basic',
@@ -86,7 +85,6 @@ export const AirtableBlock: BlockConfig<AirtableResponse> = {
8685
canonicalParamId: 'tableId',
8786
serviceId: 'airtable',
8887
selectorKey: 'airtable.tables',
89-
selectorAllowSearch: false,
9088
placeholder: 'Select Airtable table',
9189
dependsOn: ['credential', 'baseSelector'],
9290
mode: 'basic',

apps/sim/blocks/blocks/asana.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export const AsanaBlock: BlockConfig<AsanaResponse> = {
5858
canonicalParamId: 'workspace',
5959
serviceId: 'asana',
6060
selectorKey: 'asana.workspaces',
61-
selectorAllowSearch: false,
6261
placeholder: 'Select Asana workspace',
6362
dependsOn: ['credential'],
6463
mode: 'basic',
@@ -110,7 +109,6 @@ export const AsanaBlock: BlockConfig<AsanaResponse> = {
110109
canonicalParamId: 'getTasks_workspace',
111110
serviceId: 'asana',
112111
selectorKey: 'asana.workspaces',
113-
selectorAllowSearch: false,
114112
placeholder: 'Select Asana workspace',
115113
dependsOn: ['credential'],
116114
mode: 'basic',

apps/sim/blocks/blocks/attio.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export const AttioBlock: BlockConfig<AttioResponse> = {
9696
canonicalParamId: 'objectType',
9797
serviceId: 'attio',
9898
selectorKey: 'attio.objects',
99-
selectorAllowSearch: false,
10099
placeholder: 'Select object type',
101100
dependsOn: ['credential'],
102101
mode: 'basic',
@@ -570,7 +569,6 @@ Return ONLY the JSON array. No explanations, no markdown, no extra text.
570569
canonicalParamId: 'listIdOrSlug',
571570
serviceId: 'attio',
572571
selectorKey: 'attio.lists',
573-
selectorAllowSearch: false,
574572
placeholder: 'Select Attio list',
575573
dependsOn: ['credential'],
576574
mode: 'basic',

apps/sim/blocks/blocks/calcom.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export const CalComBlock: BlockConfig<ToolResponse> = {
7474
canonicalParamId: 'eventTypeId',
7575
serviceId: 'calcom',
7676
selectorKey: 'calcom.eventTypes',
77-
selectorAllowSearch: false,
7877
placeholder: 'Select event type',
7978
dependsOn: ['credential'],
8079
mode: 'basic',
@@ -289,7 +288,6 @@ Return ONLY the IANA timezone string - no explanations or quotes.`,
289288
canonicalParamId: 'eventTypeIdParam',
290289
serviceId: 'calcom',
291290
selectorKey: 'calcom.eventTypes',
292-
selectorAllowSearch: false,
293291
placeholder: 'Select event type',
294292
dependsOn: ['credential'],
295293
mode: 'basic',
@@ -414,7 +412,6 @@ Return ONLY the IANA timezone string - no explanations or quotes.`,
414412
canonicalParamId: 'eventTypeScheduleId',
415413
serviceId: 'calcom',
416414
selectorKey: 'calcom.schedules',
417-
selectorAllowSearch: false,
418415
placeholder: 'Select schedule',
419416
dependsOn: ['credential'],
420417
mode: 'basic',
@@ -455,7 +452,6 @@ Return ONLY the IANA timezone string - no explanations or quotes.`,
455452
canonicalParamId: 'scheduleId',
456453
serviceId: 'calcom',
457454
selectorKey: 'calcom.schedules',
458-
selectorAllowSearch: false,
459455
placeholder: 'Select schedule',
460456
dependsOn: ['credential'],
461457
mode: 'basic',

apps/sim/blocks/blocks/confluence.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ export const ConfluenceV2Block: BlockConfig<ConfluenceResponse> = {
589589
canonicalParamId: 'spaceId',
590590
serviceId: 'confluence',
591591
selectorKey: 'confluence.spaces',
592-
selectorAllowSearch: false,
593592
placeholder: 'Select Confluence space',
594593
dependsOn: ['credential', 'domain'],
595594
mode: 'basic',

apps/sim/blocks/blocks/google_bigquery.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ Return ONLY the SQL query - no explanations, no quotes, no extra text.`,
118118
canonicalParamId: 'datasetId',
119119
serviceId: 'google-bigquery',
120120
selectorKey: 'bigquery.datasets',
121-
selectorAllowSearch: false,
122121
placeholder: 'Select BigQuery dataset',
123122
dependsOn: ['credential', 'projectId'],
124123
mode: 'basic',
@@ -143,7 +142,6 @@ Return ONLY the SQL query - no explanations, no quotes, no extra text.`,
143142
canonicalParamId: 'tableId',
144143
serviceId: 'google-bigquery',
145144
selectorKey: 'bigquery.tables',
146-
selectorAllowSearch: false,
147145
placeholder: 'Select BigQuery table',
148146
dependsOn: ['credential', 'projectId', 'datasetSelector'],
149147
mode: 'basic',

apps/sim/blocks/blocks/google_calendar.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export const GoogleCalendarBlock: BlockConfig<GoogleCalendarResponse> = {
6868
canonicalParamId: 'calendarId',
6969
serviceId: 'google-calendar',
7070
selectorKey: 'google.calendar',
71-
selectorAllowSearch: false,
7271
requiredScopes: getScopesForService('google-calendar'),
7372
placeholder: 'Select calendar',
7473
dependsOn: ['credential'],
@@ -334,7 +333,6 @@ Return ONLY the timestamp string - no explanations, no quotes, no extra text.`,
334333
canonicalParamId: 'destinationCalendarId',
335334
serviceId: 'google-calendar',
336335
selectorKey: 'google.calendar',
337-
selectorAllowSearch: false,
338336
requiredScopes: getScopesForService('google-calendar'),
339337
placeholder: 'Select destination calendar',
340338
dependsOn: ['credential'],

apps/sim/blocks/blocks/google_sheets.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ export const GoogleSheetsV2Block: BlockConfig<GoogleSheetsV2Response> = {
387387
canonicalParamId: 'sheetName',
388388
serviceId: 'google-sheets',
389389
selectorKey: 'google.sheets',
390-
selectorAllowSearch: false,
391390
placeholder: 'Select a sheet',
392391
required: true,
393392
dependsOn: { all: ['credential'], any: ['spreadsheetId', 'manualSpreadsheetId'] },

apps/sim/blocks/blocks/google_tasks.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ export const GoogleTasksBlock: BlockConfig<GoogleTasksResponse> = {
6464
canonicalParamId: 'taskListId',
6565
serviceId: 'google-tasks',
6666
selectorKey: 'google.tasks.lists',
67-
selectorAllowSearch: false,
6867
placeholder: 'Select task list',
6968
dependsOn: ['credential'],
7069
mode: 'basic',

apps/sim/blocks/blocks/jira_service_management.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ export const JiraServiceManagementBlock: BlockConfig<JsmResponse> = {
9595
canonicalParamId: 'serviceDeskId',
9696
serviceId: 'jira',
9797
selectorKey: 'jsm.serviceDesks',
98-
selectorAllowSearch: false,
9998
placeholder: 'Select service desk',
10099
dependsOn: ['credential', 'domain'],
101100
mode: 'basic',
@@ -169,7 +168,6 @@ export const JiraServiceManagementBlock: BlockConfig<JsmResponse> = {
169168
canonicalParamId: 'requestTypeId',
170169
serviceId: 'jira',
171170
selectorKey: 'jsm.requestTypes',
172-
selectorAllowSearch: false,
173171
placeholder: 'Select request type',
174172
dependsOn: ['credential', 'domain', 'serviceDeskSelector'],
175173
mode: 'basic',

0 commit comments

Comments
 (0)