• 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>
Last commit
Last update
dsl_spec.rb Loading commit data...
extractor_spec.rb Loading commit data...