diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-03-10 06:24:06 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-03-10 06:24:06 +0000 |
commit | 25a7a09c0eed88651f9a4602dfcbb9aa4909472b (patch) | |
tree | a2e46108dfab364af5a2c6eb6081640d4e1a5817 | |
parent | 5b82f47f26f8470f1415d4af82fee35a65e2b21f (diff) | |
parent | 235e225ca7d5884e507fe8eabc7b48a33675ed91 (diff) | |
download | gitlab-ce-25a7a09c0eed88651f9a4602dfcbb9aa4909472b.tar.gz |
Merge branch 'docs/ux-copy-confirmation-dialogs' into 'master'
Add confirmation dialogs guidelines in UX copy
See merge request !9833
-rw-r--r-- | doc/development/ux_guide/copy.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/development/ux_guide/copy.md b/doc/development/ux_guide/copy.md index ead79ba6a10..794c8eb6bfe 100644 --- a/doc/development/ux_guide/copy.md +++ b/doc/development/ux_guide/copy.md @@ -167,6 +167,15 @@ A **comment** is a written piece of text that users of GitLab can create. Commen #### Discussion
A **discussion** is a group of 1 or more comments. A discussion can include subdiscussions. Some discussions have the special capability of being able to be **resolved**. Both the comments in the discussion and the discussion itself can be resolved.
+## Confirmation dialogs
+
+- Destruction buttons should be clear and always say what they are destroying.
+ E.g., `Delete page` instead of just `Delete`.
+- If the copy describes another action the user can take instead of the
+ destructive one, provide a way for them to do that as a secondary button.
+- Avoid the word `cancel` or `canceled` in the descriptive copy. It can be
+ confusing when you then see the `Cancel` button.
+
---
Portions of this page are modifications based on work created and shared by the [Android Open Source Project][android project] and used according to terms described in the [Creative Commons 2.5 Attribution License][creative commons].
|