• 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>
    65349c22
This project manages its dependencies using Bundler. Learn more
Gemfile 8.44 KB