Skip to content
Snippets Groups Projects
Commit 65349c22 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Make slash commands contextual


- Return only slash commands that make sense for the current noteable
- Allow slash commands decription to be dynamic

Other improvements:

- Add permission checks in slash commands definition
- Use IssuesFinder and MergeRequestsFinder
- Use next if instead of a unless block, and use splat operator instead of flatten

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 23db6449
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment