summaryrefslogtreecommitdiff
path: root/doc/workflow
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-08-10 17:51:01 +0200
committerRémy Coutable <remy@rymai.me>2016-08-13 00:06:12 +0200
commit65349c22129fcdf2ae0c7103094bbf50ae73db61 (patch)
tree5e2f6c4926a979d2a20665e4ce3e3453ee82ccb0 /doc/workflow
parent23db6449542498636c145e83c71a4a466eb62746 (diff)
downloadgitlab-ce-65349c22129fcdf2ae0c7103094bbf50ae73db61.tar.gz
Make slash commands contextual
- 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: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc/workflow')
-rw-r--r--doc/workflow/slash_commands.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/workflow/slash_commands.md b/doc/workflow/slash_commands.md
index 46f291561d7..c4edbeddd40 100644
--- a/doc/workflow/slash_commands.md
+++ b/doc/workflow/slash_commands.md
@@ -25,5 +25,5 @@ do.
| `/done` | None | Mark todo as done |
| `/subscribe` | None | Subscribe |
| `/unsubscribe` | None | Unsubscribe |
-| `/due_date <YYYY-MM-DD> | <N days>` | `/due` | Set a due date |
+| `/due_date a date in natural language` | `/due` | Set due date |
| `/clear_due_date` | None | Remove due date |