mattermost-plugin-ai
mattermost-plugin-ai copied to clipboard
🐛 bug: prompt buttons populate the Thread input instead of AI RHS input
Description
Prompt buttons populate the wrong input when open the AI RHS from the Threads view context.
Steps to reproduce
- Open the global Threads view and select a thread
- Click the AI copilot button in the right apps bar to open that AI Copilot RHS
- Click 'Brainstorm ideas' button
Observed
The thread's reply input is populated
Expected
The AI RHS input should be populated with the prompt instead.