mattermost-mobile/app
Christopher Speller 0c675ec2db
Agents posts on mobile (#9317)
* Agents streaming

* Fix bug and lint

* Add reasoning summaries to mobile agents

* Add tool call approval UI for mobile agents

* Add citations and annotations support for mobile agents

Implements Phase 4 from the agents mobile plan:
- WebSocket event handling for annotations control signal
- CitationsList component displaying sources below agent responses
- Collapsible sources section with source count
- Each citation shows title, domain, and opens URL on tap
- Citations persisted in post.props.annotations
- Touch-optimized UI with 44pt minimum tap targets

* Add stop and regenerate controls for mobile agents

* Add tests

* Fix tool approval buttons not updating after accept/reject

- Remove optimistic WebSocket event approach that didn't work
- Clear component streaming state on ENDED event to force switch to persisted data
- Remove delays in streaming store cleanup (500ms and 100ms)
- POST_EDITED event now properly updates UI for both accept and reject
- Remove debug console.log statements
- Fix ESLint issues (unused vars, nested callbacks, nested ternary)

* Refactor agents code: remove unused client mixin, fix bugs, and simplify logic

* Fixes

* Add CLAUDE.md

* Review feedback.

* Review feedback inline functions

* Learnings

* Address review feedback: StyleSheet.create, parent mount checks, utils

* Move to observables

* Last style fix

* Style tweaks
2025-12-09 03:56:12 -08:00
..
actions Agents posts on mobile (#9317) 2025-12-09 03:56:12 -08:00
client Agents posts on mobile (#9317) 2025-12-09 03:56:12 -08:00
components Agents posts on mobile (#9317) 2025-12-09 03:56:12 -08:00
constants Agents posts on mobile (#9317) 2025-12-09 03:56:12 -08:00
context Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
database Checklist (#9234) 2025-11-12 20:46:59 +01:00
helpers Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
hooks revert: floating banner & low connectivity (#9254) 2025-11-04 07:15:51 -07:00
i18n Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
init Easy Login (#9261) 2025-11-20 12:38:06 +01:00
managers feat(MM-65145): low connectivity manager (#9283) 2025-12-04 10:44:33 -07:00
products Agents posts on mobile (#9317) 2025-12-09 03:56:12 -08:00
queries revert: floating banner & low connectivity (#9254) 2025-11-04 07:15:51 -07:00
screens MM-62240 illustration updates (#9308) 2025-12-05 08:31:59 -05:00
store revert: floating banner & low connectivity (#9254) 2025-11-04 07:15:51 -07:00
utils Agents posts on mobile (#9317) 2025-12-09 03:56:12 -08:00