mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-16 16:11:34 +00:00
- Client methods for the plugin's custom prompts endpoints: list, pins, set pin, and server-side render (channel_id + bot_username context) - Ephemeral per-server custom prompts store (D14 - no schema change), cleared on per-server logout, with a useCustomPrompts hook - Agent projection now carries dmChannelID so surfaces can detect agent DM channels (isAgentDMChannel util) - Pills surface: pinned prompts render as tappable pills on the agent chat intro; tapping renders the prompt server-side, posts it into the agent DM, and routes into the new conversation thread - Composer surface: 'Custom prompts' entry in the AI actions sheet (both edit and generation modes) opens an in-sheet prompt list; selecting renders with the channel + selected agent context into the draft, prepending the agent @mention outside agent DMs (web parity with custom_prompts_dropdown) - channelId threaded through quick actions to the AI actions sheet - No authoring/management on mobile; prompt visibility (own + shared) enforced server-side Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| draft_input.test.tsx | ||
| draft_input.tsx | ||
| header.tsx | ||
| index.ts | ||