• Rémy Coutable's avatar
    Make slash commands contextual · 65349c22
    Rémy Coutable authored
    - 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: 's avatarRémy Coutable <remy@rymai.me>
commands_only_reply.eml 1.91 KB