[tax-ai-chat] Client search select button requires two clicks

Resolved 💬 2 comments Opened Jan 16, 2026 by dmccarty-ali Closed Jan 16, 2026

Description

Typing "find marcus" brings up the search card. Then marcus is a selectable client. However, the select button must be clicked twice before it engages.

Type

Bug | Priority: Normal

Analysis

Root Cause: Likely a Streamlit rerun timing issue - first click triggers state update but page reruns before action completes.

Affected Files:

  • src/workflows/chat_ui.py (search results rendering)
  • src/workflows/chat/chat_client_service.py (client selection)

Suggested Fix: Add st.rerun() after client selection, or use session_state to track pending selection.

Complexity: Low

Session

Ticket: SUP-0002
Session ID: c60fcbf8-2b04-4389-9404-55bc5b8d9d29

---
Submitted via Tax Practice AI Support System

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗