mattermost-plugin-gitlab icon indicating copy to clipboard operation
mattermost-plugin-gitlab copied to clipboard

Select types of events to subscribe to in a dialog box

Open aaronrothschild opened this issue 5 years ago • 2 comments

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. 2020-09-30_12-27-10

aaronrothschild avatar Oct 02 '20 17:10 aaronrothschild

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!

haardikdharma10 avatar Oct 04 '20 21:10 haardikdharma10

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 subscribe command 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

aaronrothschild avatar Oct 05 '20 23:10 aaronrothschild

Closing due to inactivity. The issue can be reopened with more interest from our community.

wiersgallak avatar Jun 14 '23 01:06 wiersgallak