Skip to content

Commit c2ec9e4

Browse files
committed
doc
1 parent e33cd71 commit c2ec9e4

File tree

1 file changed

+26
-12
lines changed

1 file changed

+26
-12
lines changed

docs/messages-guidelines.md

+26-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11

22
# Error and Warning Message Guidelines
33

4-
- These guidelines ensure that messages are user-friendly, clear, and helpful while maintaining a professional tone. 🚀
5-
- Originated from [guidelines](https://wiki.speag.com/projects/SuperMash/wiki/Concepts/GUI) by @eofli and refined with ChatGPT
4+
These guidelines ensure that messages are user-friendly, clear, and helpful while maintaining a professional tone. 🚀
5+
6+
Some details:
7+
8+
- Originated from [guidelines](https://wiki.speag.com/projects/SuperMash/wiki/Concepts/GUI) by @eofli and refined iterating with AI
69
- Here’s the fully expanded and rewritten list of **error and warning message guidelines**, each with:
710
- A **guideline**
811
- A **rationale**
912
- A ❌ **bad example**
1013
- A ✅ **good example**
1114
- A **reference**
15+
- This list is intended to be short enough to be read and understood for humans as well as complete so that it can be used as context for automatic correction of error/warning messages
1216

1317
---
1418

15-
### **1. Be Clear and Concise**
19+
## 1. Be Clear and Concise
20+
1621
- **Guideline:** Use straightforward language to describe the issue without unnecessary words.
1722
- **Rationale:** Users can quickly understand the problem and take corrective action when messages are simple and to the point.
1823
-**Bad Example:**
@@ -23,7 +28,8 @@
2328

2429
---
2530

26-
### **2. Provide Specific and Actionable Information**
31+
## 2. Provide Specific and Actionable Information
32+
2733
- **Guideline:** Clearly state what went wrong and how the user can fix it.
2834
- **Rationale:** Specific guidance helps users resolve issues efficiently, reducing frustration.
2935
-**Bad Example:**
@@ -34,7 +40,8 @@
3440

3541
---
3642

37-
### **3. Avoid Technical Jargon**
43+
## 3. Avoid Technical Jargon
44+
3845
- **Guideline:** Use plain language instead of technical terms or codes.
3946
- **Rationale:** Non-technical users may not understand complex terminology, hindering their ability to resolve the issue.
4047
-**Bad Example:**
@@ -45,7 +52,8 @@
4552

4653
---
4754

48-
### **4. Use a Polite and Non-Blaming Tone**
55+
## 4. Use a Polite and Non-Blaming Tone
56+
4957
- **Guideline:** Frame messages in a way that doesn't place blame on the user.
5058
- **Rationale:** A respectful tone maintains a positive user experience and encourages users to continue using the application.
5159
-**Bad Example:**
@@ -56,7 +64,8 @@
5664

5765
---
5866

59-
### **5. Avoid Negative Words and Phrases**
67+
## 5. Avoid Negative Words and Phrases
68+
6069
- **Guideline:** Steer clear of words like "error," "failed," "invalid," or "illegal."
6170
- **Rationale:** Positive language reduces user anxiety and creates a more supportive experience.
6271
-**Bad Example:**
@@ -67,7 +76,8 @@
6776

6877
---
6978

70-
### **6. Place Messages Appropriately**
79+
## 6. Place Messages Appropriately
80+
7181
- **Guideline:** Display error messages near the relevant input field or in a clear, noticeable location.
7282
- **Rationale:** Proper placement ensures users notice the message and understand where the issue occurred.
7383
-**Bad Example:**
@@ -78,7 +88,8 @@
7888

7989
---
8090

81-
### **7. Use Inline Validation When Possible**
91+
## 7. Use Inline Validation When Possible
92+
8293
- **Guideline:** Provide real-time feedback as users interact with input fields.
8394
- **Rationale:** Inline validation allows users to correct errors immediately, enhancing the flow and efficiency of the interaction.
8495
-**Bad Example:**
@@ -89,7 +100,8 @@
89100

90101
---
91102

92-
### **8. Avoid Using All-Caps and Excessive Punctuation**
103+
## 8. Avoid Using All-Caps and Excessive Punctuation
104+
93105
- **Guideline:** Refrain from writing messages in all capital letters or using multiple exclamation marks.
94106
- **Rationale:** All-caps and excessive punctuation can be perceived as shouting, which may frustrate users.
95107
-**Bad Example:**
@@ -100,7 +112,8 @@
100112

101113
---
102114

103-
### **9. Use Humor Sparingly**
115+
## 9. Use Humor Sparingly
116+
104117
- **Guideline:** Incorporate light-hearted language only when appropriate and aligned with the application's tone.
105118
- **Rationale:** While humor can ease tension, it may not be suitable for all users or situations and can sometimes be misinterpreted.
106119
-**Bad Example:**
@@ -111,7 +124,8 @@
111124

112125
---
113126

114-
### **10. Offer Alternative Solutions or Support**
127+
## 10. Offer Alternative Solutions or Support
128+
115129
- **Guideline:** If the user cannot resolve the issue independently, provide a way to contact support or access help resources.
116130
- **Rationale:** Offering support options ensures users don't feel stranded and can seek help to resolve their issues.
117131
-**Bad Example:**

0 commit comments

Comments
 (0)