• 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: default avatarRémy Coutable <remy@rymai.me>
    65349c22
slash_commands.md 1.7 KB