mattermost-plugin-gitlab
mattermost-plugin-gitlab copied to clipboard
Select types of events to subscribe to in a dialog box
Right now, the user needs to specify a comma separated list of issue event types that will trigger a notification. This ticket is to Allow a user to select the types of events to show up in the channel from a dialog box instead of typing a string of comma sep text.

Hey @aaronrothschild, I'd like to fix this. Any starting steps you would like to suggest? Also, if you can roughly guide me about the flow of changes, that'd be great!
Hey @haardikdharmain10 thanks for your interest! This is an annoying UX construct right now :)
I will defer to @hanzei or @iomodo for more developer details, but I think what we probably want to do is:
- Make the
/gitlab subscribecommand exectuable and would then open up an "Interactive Dialog Box" (Docs)[https://docs.mattermost.com/developer/interactive-dialogs.html] - The dialog box would then offer a place to enter the
owner/repo_name - then a series of "checkbox" interactive components to allow the user to select the types of events to track from the list
- The user would click a "Save Subscription" button on the interactive modal to create that new subscription
- The comma delimited list of event_types to track would be saved into the plugin as a new subscription
Closing due to inactivity. The issue can be reopened with more interest from our community.