Skip to content

Show error when quick action is not available

What does this MR do?

Show an error message when using a quick action that is unavailable in the current context.

Note that this currently applies to command-only notes only. For now, that's the only situation where we show these quick action messages.

This is a continuation from !27425 (closed)

Screenshots (strongly suggested)

When trying to /reopen an already open issue:

Screen_Shot_2021-03-26_at_6.48.00_PM

With multiple commands:

Screen_Shot_2021-03-26_at_6.48.42_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #323497

Edited by Dmytro Zaporozhets (DZ)

Merge request reports