Skip to content

Commit

Permalink
docs: add a description of confirmation prompts introduced in v3.10.0 (
Browse files Browse the repository at this point in the history
  • Loading branch information
blyoa authored Oct 6, 2024
1 parent 3088b93 commit ba4d86d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
10 changes: 8 additions & 2 deletions docs/content/getting-started/keybindings/selected-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,13 @@ to close the issue.
---
variant: warning
---
When you use this command, the dashboard closes the issue immediately and
**Prior to v3.10.0:** When you use this command, the dashboard closes the issue immediately and
without prompting for confirmation. Only use this command when you're sure you
want to close the issue.
**Since v3.10.0:** When you use this command, the dashboard displays a confirmation prompt and
closes the issue only after you approve the action.
This command doesn't support closing the issue with a comment. If you want to
add a comment that explains why you're closing the issue, use the
[comment](#c---comment-on-issue) command before or after you use this one.
Expand All @@ -75,7 +78,10 @@ command to reopen the issue.
---
variant: warning
---
When you use this command, the dashboard reopens the issue immediately and
**Prior to v3.10.0:** When you use this command, the dashboard reopens the issue immediately and
without prompting for confirmation. Only use this command when you're sure you
want to reopen the closed issue.
**Since v3.10.0:** When you use this command, the dashboard displays a confirmation prompt and
reopens the issue only after you approve the action.
```
15 changes: 12 additions & 3 deletions docs/content/getting-started/keybindings/selected-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,12 @@ merge the PR.
---
variant: danger
---
When you use this command, the dashboard merges the PR immediately and without
**Prior to v3.10.0:** When you use this command, the dashboard merges the PR immediately and without
prompting for confirmation. Only use this command when you're sure you want to
merge the PR.
**Since v3.10.0:** When you use this command, the dashboard displays a confirmation prompt and
merges the PR only after you approve the action.
```

## `w` - Mark PR as Ready for Review { #mark-pr-as-ready-for-review}
Expand All @@ -106,10 +109,13 @@ close the PR.
---
variant: warning
---
When you use this command, the dashboard closes the PR immediately and without
**Prior to v3.10.0:** When you use this command, the dashboard closes the PR immediately and without
prompting for confirmation. Only use this command when you're sure you want to
close the PR.
**Since v3.10.0:** When you use this command, the dashboard displays a confirmation prompt and
closes the PR only after you approve the action.
This command doesn't support closing the PR with a comment. If you want to add
a comment that explains why you're closing the PR, use the
[comment](#c---comment-on-pr) command before or after you use this one.
Expand All @@ -124,7 +130,10 @@ command to reopen the PR.
---
variant: warning
---
When you use this command, the dashboard reopens the PR immediately and without
**Prior to v3.10.0:** When you use this command, the dashboard reopens the PR immediately and without
prompting for confirmation. Only use this command when you're sure you want to
reopen the closed PR.
**Since v3.10.0:** When you use this command, the dashboard displays a confirmation prompt and
reopens the PR only after you approve the action.
```

0 comments on commit ba4d86d

Please sign in to comment.