Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(desktop-ui): align search copy and e2e assertions with merged collapse + reduced scope

Diego Zacariasb677165c6e56
diff --git a/desktop-app/test/e2e-playwright/responsive-layout-producer-backed.spec.ts b/desktop-app/test/e2e-playwright/responsive-layout-producer-backed.spec.ts
index c7e891287..00d8e7660 100644
--- a/desktop-app/test/e2e-playwright/responsive-layout-producer-backed.spec.ts
+++ b/desktop-app/test/e2e-playwright/responsive-layout-producer-backed.spec.ts
@@ -159,17 +159,17 @@ test('Desktop app tray layout is exercised with producer-backed notification and
const tray = page.getByRole('dialog', { name: 'Notifications and approvals' })
const search = page.getByRole('textbox', { name: 'Search' })
await expect(search).toHaveAttribute('placeholder', 'Search workspace...')
- await expect(search).toHaveAttribute(
- 'title',
- 'Search teams, contexts, members, agents or connectors...'
- )
+ await expect(search).toHaveAttribute('title', 'Search agents, connectors, plugins or apps...')
const [trayBox, searchBox] = await Promise.all([bounds(tray), bounds(search)])
expect(searchBox.width).toBeLessThanOrEqual(trayBox.width)
await page.getByTestId('notification-bell').click()
await resizeDesktop(app!, 901)
const at901 = await bounds(search)
- expect(at901.width).toBeGreaterThanOrEqual(160)
+ // Idle above the 900px full-width breakpoint the search collapses to the
+ // 40px magnifier square (it expands only on focus / open results), so the
+ // bell click above must leave it collapsed rather than at its old min width.
+ expect(Math.round(at901.width)).toBe(40)
await resizeDesktop(app!, 900)
const [mobileSearch, mobileHeader] = await Promise.all([
diff --git a/desktop-app/ui/src/components/AppHeader/index.tsx b/desktop-app/ui/src/components/AppHeader/index.tsx
index 1ccf58fef..a4c312118 100644
--- a/desktop-app/ui/src/components/AppHeader/index.tsx
+++ b/desktop-app/ui/src/components/AppHeader/index.tsx
@@ -486,9 +486,7 @@ export const AppHeader = React.memo(function AppHeader({
</div>
{teamDirectoryLoading && !teamDirectoryHydrated && (
- <p className="search-results-loading">
- Loading members and agents from your other teams...
- </p>
+ <p className="search-results-loading">Loading agents from your other teams...</p>
)}
{pluginsAppsLoading && !searchPlugins.length && !searchApps.length && (