From 57541eecb1e0272056ae2b0ac7d56dcc584efd47 Mon Sep 17 00:00:00 2001 From: CodeCompilerConduct <1376397133guoli@gmail.com> Date: Wed, 19 Jun 2024 13:31:24 +0930 Subject: [PATCH] Update research-message-and-feedback.en-US.md (#49490) Signed-off-by: CodeCompilerConduct <1376397133guoli@gmail.com> --- .../research-message-and-feedback.en-US.md | 141 +++++++++++++++++- 1 file changed, 140 insertions(+), 1 deletion(-) diff --git a/docs/spec/research-message-and-feedback.en-US.md b/docs/spec/research-message-and-feedback.en-US.md index b91c5d75f2..36b150b81f 100644 --- a/docs/spec/research-message-and-feedback.en-US.md +++ b/docs/spec/research-message-and-feedback.en-US.md @@ -6,4 +6,143 @@ title: Message and Feedback skip: true --- -设计模式 - 探索 - 全局规则 - 消息与反馈 +Used to provide feedback to the user on the results of their actions or to convey messages when necessary. + +## Design Goals + +Ensure that users receive feedback or messages that match the context and urgency of their actions under different scenarios, achieving reasonable and effective communication. + +## Feedback Methods + +When designing, consider the task the user is attempting to complete and the method of attention required. The feedback methods are listed below: + +
+ +
+ +## When to Use + +
+ +
+ +### Success + +#### Stay in Place + + + + + +**Modal Dialog** + +Notify users of important success results without interrupting their workflow. + +#### + + + + + +**Global Message** + +Display a brief success message without interrupting the user’s ongoing task. + +#### Redirect + + + + + +**Inline Text & Illustration** + +- Notify users of success at the end of a long-form process; +- Provide detailed supplementary information (e.g., configuration details). + +#### + + + + + +**Global Message** + +Display a brief success message without interrupting the user’s ongoing task. + +### Failure + +#### Stay in Place + + + + + +**Modal Dialog** + +Alert users to important actions outside the current workflow (e.g., safety warnings). + +#### + + + + + +**Alert** + +Inform users of critical errors that require immediate attention. + +#### + + + + + +**Form Validation** + +- User input does not meet field or form requirements; +- User skipped required fields; +- System detects errors in form data. + +#### + + + + + +**Notification** + +- Inform users of important issues or failure statuses that require immediate decisions; +- Feedback on backend process failures & alerts. + +#### Redirect + + + + + +**Inline Text & Illustration** + +- Notify users of failure at the end of a long-form process due to third-party causes (e.g., application engine creation failure); +- Provide detailed failure information. + +### Background Operations + + + + + +**Notification** + +- Inform users of important issues or failure statuses that require immediate decisions; +- Feedback on backend process results. + +#### + + + + + +**Notification Center** + +Notify users of related activity information (e.g., items that need user approval or the progress of user-submitted approvals). +