mattermost-mobile-upstream/app/components/autocomplete
Nick Misasi 7508a583ba
Add AGENT tag in at-mention autocomplete for AI agents (#9507)
* Add agent tag and autocomplete support for AI agents

Display AGENT tag instead of BOT tag for mattermost-ai plugin bots in
at-mention autocomplete and user items. Uses the server's autocomplete
API to reliably distinguish agents from regular bots.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Harden agent e2e test setup: fail on missing bots, surface real errors

Made-with: Cursor

* Address review feedback: add agent tag tests, fix error handling, include agents in search mode

- Add agent_tag.test.tsx unit test matching existing tag test patterns
- Surface real errors in isAgentsPluginActive and getAgentBots instead of swallowing them
- Include agents section in search-mode autocomplete results

Made-with: Cursor

* Apply suggestion from @nickmisasi

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 09:39:26 -04:00
..
at_mention Add AGENT tag in at-mention autocomplete for AI agents (#9507) 2026-03-26 09:39:26 -04:00
at_mention_group Fix and unify channel and user list items (#7175) 2023-04-19 10:13:14 +02:00
at_mention_item Add AGENT tag in at-mention autocomplete for AI agents (#9507) 2026-03-26 09:39:26 -04:00
channel_mention Add Floating Label Autocomplete Selector (#9119) 2025-10-01 13:31:16 +02:00
emoji_suggestion Add Floating Label Autocomplete Selector (#9119) 2025-10-01 13:31:16 +02:00
slash_suggestion feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
autocomplete_section_header.tsx Fix and unify channel and user list items (#7175) 2023-04-19 10:13:14 +02:00
autocomplete.test.tsx Add several UX fixes to set command screen on playbooks (#9136) 2025-09-19 08:10:05 +03:00
autocomplete.tsx New keyboard library Setup (#9278) 2026-01-13 22:38:35 +05:30
index.ts Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
special_mention_item.tsx Fix and unify channel and user list items (#7175) 2023-04-19 10:13:14 +02:00