mattermost-mobile/app/screens
Christopher Speller 6000e69886
Agents "RHS" view (#9318)
* Add agents RHS functionality for mobile

Implements a dedicated agents interface accessible from the home screen, featuring:
- Agent chat screen with bot selector and message input
- Thread list screen showing all agent conversations
- Remote actions for fetching bots and threads from plugin API
- Navigation between chat, threads, and individual conversations
- Integration with plus menu for easy access

Follows similar pattern to playbooks with modal screens and navigation helpers.

* Fix icon name for agents menu item

Change robot-happy-outline to robot-happy to resolve PropType validation error.

* Add agents button to sidebar and fix agent chat issues

- Add AgentsButton component to channel list sidebar below Drafts
- Fix thread navigation to use fetchAndSwitchToThread instead of switchToChannelById
- Replace custom TextInput with PostDraft component in agent_chat
- Fix icon name from message-reply-text-outline to reply-outline
- Add missing i18n translations for agents UI

* Implement automatic navigation to thread after sending agent message

* Implement bot selector bottom sheet with avatars. Replace click-and-cycle behavior with a proper bottom sheet menu showing all available agents with their profile pictures. Add bot avatar display to the dropdown button for better visual identification.

* Top bar design modifications.

* Add intro graphic and text

* Fix autocomplete not working

* Tweak styles and icons.

* Remove unused

* Add version/enabled check

* Remove excessive agent button

* Style fixes

* Use non-blocking then() for onPostCreated callback in send message hook

* Add unit tests for agents product components and actions

* Review feedback, offline support

* I18n

* Tests

* Address PR review feedback: deletion handling, UI fixes, schema docs

* Remove unnecessary deleteNotPresent flag from agents handlers

* Fix agents archived channel, empty data guard, and stale relative time

* Add smoke test for AgentChat and extend ToolCard test coverage

* Fix test quality issues: remove useless tests, strengthen assertions

* Address PR review: remove barrel file, add version comment

* Mock reanimated in CitationsList test to fix CI failure

* Fix CitationsList tests after always-mounted animation change

* Address PR review: typography, Pressable, FormattedText, schema bump, and cleanup

* Apply CLAUDE.md patterns across agents codebase: Pressable, typography, FormattedText, logDebug

* Fix schema test to expect version 19
2026-03-16 09:48:32 -07:00
..
apps_form Add DialogRouter for Interactive Dialog to Apps Form migration (#9114) 2026-01-26 08:57:56 -07:00
attachment_options New keyboard library Setup (#9278) 2026-01-13 22:38:35 +05:30
bottom_sheet feat: AI rewrite (#9280) 2026-02-16 16:48:57 +01:00
browse_channels Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
channel Reduce channel banner height to 26px (#9520) 2026-02-18 13:43:01 -05:00
channel_add_members [MM-66375] Allow managing own membership on a channel (#9301) 2025-12-03 17:20:20 +01:00
channel_bookmark Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
channel_files Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
channel_info Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
channel_notification_preferences Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
channel_settings [MM-67253] Add support for DMs and GMs for autotranslations (#9505) 2026-02-16 16:32:02 +01:00
code Biometric prompt, Jailbreak / Root detection and screenshot prevention (#8645) 2025-03-13 14:07:41 -04:00
component_library Add onPress on full chip (#9134) 2025-09-22 12:07:49 +02:00
convert_gm_to_channel Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
create_direct_message [MM-66375] Allow managing own membership on a channel (#9301) 2025-12-03 17:20:20 +01:00
create_or_edit_channel Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
custom_status Add set due date functionality to playbooks (#9091) 2025-09-12 16:37:56 +02:00
custom_status_clear_after Add set due date functionality to playbooks (#9091) 2025-09-12 16:37:56 +02:00
dialog_router Add DialogRouter for Interactive Dialog to Apps Form migration (#9114) 2026-01-26 08:57:56 -07:00
draft_scheduled_post_options Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
edit_post Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
edit_profile Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
edit_server fix: do not ping the server on edit if the preauth secret didn't change (#9368) 2026-01-12 17:45:12 +01:00
emoji_picker Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
find_channels Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
forgot_password MM-62240 illustration updates (#9308) 2025-12-05 08:31:59 -05:00
gallery Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
global_drafts Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
global_threads Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00
home Agents "RHS" view (#9318) 2026-03-16 09:48:32 -07:00
in_app_notification Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
integration_selector Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
interactive_dialog Improve markdown code (#9164) 2025-11-04 10:05:56 +01:00
invite [MM-66923] Fix scroll and private channel icon on invite user (#9363) 2026-01-07 08:13:59 +02:00
join_team Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
latex Add error boundary to latex code (#8822) 2025-05-06 09:48:36 +02:00
login Update the value for login type (#9329) 2025-12-12 16:26:22 +01:00
manage_channel_members Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
mfa MM-62240 illustration updates (#9308) 2025-12-05 08:31:59 -05:00
onboarding Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
overlay Biometric prompt, Jailbreak / Root detection and screenshot prevention (#8645) 2025-03-13 14:07:41 -04:00
pdf_viewer Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
permalink Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00
pinned_messages Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
post_options [MM-67456] Allow OptionItem labels to wrap to two lines (#9504) 2026-02-24 18:17:04 +01:00
post_priority_picker Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
reactions Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
report_a_problem feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
reschedule_draft Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
review_app Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
scheduled_post_options Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
select_team Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
server Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
settings Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
share_feedback Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
show_translation Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00
snack_bar Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
sso MM-66813 - enhance sso callback metadata (#9422) 2026-02-16 11:05:31 -05:00
table [MM-66839] (#9365) 2026-01-19 17:40:45 +01:00
terms_of_service Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
thread Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
thread_options Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
user_profile Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
background.tsx MM-62240 illustration updates (#9308) 2025-12-05 08:31:59 -05:00
index.test.tsx Add playbooks edit command functionality (#9084) 2025-09-08 14:29:15 +02:00
index.tsx feat: AI rewrite (#9280) 2026-02-16 16:48:57 +01:00
navigation.test.ts New keyboard library Setup (#9278) 2026-01-13 22:38:35 +05:30
navigation.ts [MM-66591] Channel Summaries with Agents (#9405) 2026-02-13 07:00:43 -05:00