openclaw/ui
Tyler Yust 6372242da7
fix(ui): improve chat session dropdown and refresh behavior (#3682)
* refactor(ui): enhance loadSessions function to accept overrides for session loading parameters

- Updated loadSessions to include optional parameters for activeMinutes, limit, includeGlobal, and includeUnknown.
- Modified refreshChat to use the new activeMinutes parameter when loading sessions.
- Removed duplicate applySettingsFromUrl call in handleConnected function.

* feat(ui): implement session refresh functionality after chat

- Added `refreshSessionsAfterChat` property to `ChatHost` and `GatewayHost` types.
- Introduced `isChatResetCommand` function to identify chat reset commands.
- Updated `handleSendChat` to set `refreshSessions` based on chat reset commands.
- Modified `handleGatewayEventUnsafe` to load sessions when chat is finalized and `refreshSessionsAfterChat` is true.
- Enhanced `refreshChat` to load sessions with `activeMinutes` set to 0 for immediate refresh.
2026-01-28 23:24:46 -08:00
..
public feat(ui): add favicon.ico from Mac app icon (#305) 2026-01-06 10:41:19 -06:00
src fix(ui): improve chat session dropdown and refresh behavior (#3682) 2026-01-28 23:24:46 -08:00
index.html refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
package.json refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
tsconfig.json fix(control-ui): serve dashboard at root 2025-12-19 05:11:08 +00:00
vite.config.ts fix(ui): default to relative paths for control UI assets 2026-01-09 15:32:55 +01:00
vitest.config.ts chore: update deps and add control ui routing tests 2025-12-30 14:30:46 +01:00