Mattermost-server: Allow plugins trigger interactive dialogs even without clicking an interactive button/menu or using a slash command

Created on 21 May 2019  路  2Comments  路  Source: mattermost/mattermost-server

If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.


Notes: Jira ticket

Currently, the OpenDialogRequest to trigger an interactive dialog requires a TriggerId, which is generated when the dialog is opened via an interactive button, menu or a slash command.

When a plugin triggers an interactive dialog outside of these three user actions, the TriggerId does not get generated and as a result, the dialog doesn't open.

This prevents certain use cases for plugins, such as when a user triggers a dialog via Main Menu item described here.

Proposed change: Allow plugins to trigger interactive dialogs even when the TriggerId is empty.

AreIntegrations Easy Help Wanted PR Exists TecGo

Most helpful comment

If/when this is up for grabs I'd be interested. (unless this is for someone else, that is ok. :)

All 2 comments

If/when this is up for grabs I'd be interested. (unless this is for someone else, that is ok. :)

Surely, go ahead @scottleedavis. Glad, you are looking into this!

Was this page helpful?
0 / 5 - 0 ratings