Skip to content

Commit 490fbfc

Browse files
committed
refactor(android): move gateway-backed session search into the pinned sidebar
The sidebar header and search field no longer scroll away: they sit above the scrolling sections, and the search field is always visible instead of hidden behind a toggle. Queries now run through the shared session-browser search state (debounced gateway search with offline fallback) instead of a local filter over cached rows, and matching threads replace the section list while a query is active. The in-chat bottom-sheet picker is removed: the compact switcher's All button navigates straight to the Sessions screen again, and the sidebar owns in-context session search. The shared rememberSessionBrowserSearchState extraction from the Sessions screen is kept and gains the sidebar as its second consumer.
1 parent 26f87a5 commit 490fbfc

7 files changed

Lines changed: 160 additions & 559 deletions

File tree

‎apps/.i18n/native-source.json‎

Lines changed: 5 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/android/app/src/main/java/ai/openclaw/app/ui/ShellScreen.kt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ fun ShellScreen(
279279
onSelectDestination = selectSidebarDestination,
280280
drawerContent = {
281281
OpenClawSidebar(
282+
viewModel = viewModel,
282283
agents = gatewayAgents,
283284
selectedAgentId = chatSessionOwnerAgentId ?: gatewayDefaultAgentId,
284285
sessions = chatSessions,

0 commit comments

Comments
 (0)