• 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
Name
Last commit
Last update
..
add-user Loading commit data...
forking Loading commit data...
groups Loading commit data...
img Loading commit data...
importing Loading commit data...
lfs Loading commit data...
merge_requests Loading commit data...
merge_when_build_succeeds Loading commit data...
milestones Loading commit data...
notifications Loading commit data...
releases Loading commit data...
wip_merge_requests Loading commit data...
README.md Loading commit data...
authorization_for_merge_requests.md Loading commit data...
award_emoji.md Loading commit data...
award_emoji.png Loading commit data...
cherry_pick_changes.md Loading commit data...
ci_mr.png Loading commit data...
close_issue_mr.png Loading commit data...
environment_branches.png Loading commit data...
file_finder.md Loading commit data...
forking_workflow.md Loading commit data...
four_stages.png Loading commit data...
git_pull.png Loading commit data...
gitdashflow.png Loading commit data...
github_flow.png Loading commit data...
gitlab_flow.md Loading commit data...
gitlab_flow.png Loading commit data...
good_commit.png Loading commit data...
groups.md Loading commit data...
labels.md Loading commit data...
merge_commits.png Loading commit data...
merge_request.png Loading commit data...
merge_requests.md Loading commit data...
merge_when_build_succeeds.md Loading commit data...
messy_flow.png Loading commit data...
milestones.md Loading commit data...
mr_inline_comments.png Loading commit data...
notifications.md Loading commit data...
production_branch.png Loading commit data...
project_features.md Loading commit data...
protected_branches.md Loading commit data...
rebase.png Loading commit data...
release_branches.png Loading commit data...
releases.md Loading commit data...
remove_checkbox.png Loading commit data...
revert_changes.md Loading commit data...
share_projects_with_other_groups.md Loading commit data...
share_with_group.md Loading commit data...
share_with_group.png Loading commit data...
shortcuts.md Loading commit data...
slash_commands.md Loading commit data...
timezone.md Loading commit data...
todos.md Loading commit data...
web_editor.md Loading commit data...
wip_merge_requests.md Loading commit data...
workflow.md Loading commit data...