Add label dropdown to slack incident declare modal
What does this MR do and why?
This MR adds support to assign labels to an incident when creating using the slack slash command.
Adds support to search among project labels for a selected project.
Labels can be searched using keywords in the dropdown, and suggestions appear as per the matching of the search term. (Check the video for more details)
Screenshots or screen recordings
How to set up and validate locally
- Follow the steps mentioned in https://gitlab.com/gitlab-org/manage/integrations/team/-/blob/main/integrations/slack.md to setup slack dev env.
- Open the incident modal using
/dev-gitlab incident declare
- Check the label input box, search for a label, make sure the search term matches to an existing label, if not, nothing will appear in the suggestions.
- Select multiple labels.
- Submit the modal and see the incident that was created. It should be assigned those selected labels.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #374969 (closed)
Edited by Rajendra Kadam