fix: correct 4 webapp bugs from issue #3748

DE
5mo ago
+11-8

Fixes 4 bugs identified in issue #3748:

  1. LogsListPresenter: Inverted ClickHouse guard - removed the CLICKHOUSE error block so ClickHouse queries proceed correctly.

  2. ReplayRunDialog: Missing replayDataFetcher.data dependency in useEffect.

  3. AIFilterInput: Changed fetcher state check from loading to idle.

  4. AgentView: Added useEffect to reset refs when sessionId changes.


Summary by cubic

Fixes four webapp bugs to restore ClickHouse log queries, stabilize the replay dialog, clear the AI filter input correctly, and prevent stale agent messages when switching sessions. Addresses issue #3748.

  • Bug Fixes
    • LogsListPresenter: removed inverted CLICKHOUSE guard so ClickHouse log queries run.
    • ReplayRunDialog: added replayDataFetcher.data to useEffect deps to refresh queues reliably.
    • AIFilterInput: clear input when fetcher state is idle (not loading).
    • AgentView: reset message refs on sessionId change to stop stale data from carrying over.