mattermost-mobile-upstream/test
Matty Code 73e0745139 Fix agent chat new-chat button, thread counts, and live agent list updates
- The threads list's new-chat button previously just navigated back into
  the still-mounted conversation, so after a first message the user was
  stuck in it; it now signals the agent chat to reset its conversation
  root while keeping the selected agent
- Thread history rows hard-switch to the plugin 2.x turn_count field
  ('N messages'); every row previously read '0 replies' because the 2.0
  DTO renamed the count and dropped the preview, whose dead render branch
  is removed along with the unsupported pre-2.0 id fallback
- Handle the plugin's bots_invalidate websocket broadcast and refresh the
  agent list on reconnect, so agents added or removed server-side update
  the cached bots and the composer AI gate without an app restart

Device-verified: + button opens a fresh conversation with the same agent
selected; history rows show real counts; an agent created server-side
appeared in the selector within seconds and disappeared on deletion,
both without relaunching.

Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com>
2026-08-07 09:22:09 -04:00
..
intl-test-helper.tsx Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
mock_api_client.ts
mock_helpers.ts Fix testing for checklists (#9332) 2025-12-17 17:38:44 +01:00
setup.ts replace react-native-incall-manager with @mattermost/calls-native for audio management (#9973) 2026-08-06 07:38:54 +08:00
test_helper.ts Fix agent chat new-chat button, thread counts, and live agent list updates 2026-08-07 09:22:09 -04:00
timer_helpers.ts [MM-62925] introduce websocket client-side ping (#8633) 2025-03-11 11:48:09 -04:00