Skip to content

Commit b094735

Browse files
committed
fix(search): describe connection availability accurately
1 parent 5cda510 commit b094735

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎apps/sim/app/workspace/[workspaceId]/home/components/knowledge-search-results/knowledge-search-results.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,7 @@ function LiveSearchResults({
154154
{!isFetching && data?.live && accounts.length === 0 && (
155155
<div className='flex items-center gap-2 px-2 py-2'>
156156
<p role='status' className='text-[var(--text-muted)] text-caption'>
157-
{filters.source
158-
? 'You haven’t connected this app.'
159-
: 'Connect your apps to search them.'}
157+
No connected apps are available for this search.
160158
</p>
161159
<ChipLink
162160
variant='border'

‎apps/sim/scripts/test-organization-search-e2e.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ try {
447447
assert.equal(body.query, 'Launch notes')
448448
// The seeded member has connected no account, so nothing was searched.
449449
await expect(
450-
page.getByText('Connect your apps to search them.', { exact: true })
450+
page.getByText('No connected apps are available for this search.', { exact: true })
451451
).toBeVisible()
452452
await expect(page.getByText('Search found no results.', { exact: true })).toHaveCount(0)
453453
await expect(page.getByRole('link', { name: 'Connect apps' })).toHaveAttribute(

0 commit comments

Comments
 (0)