(翻译)撤消(Undo)

来源:互联网 发布:mysql分页的大概逻辑 编辑:程序博客网 时间:2024/04/29 23:02
问题概述
用户输入错误内容后,想将内容恢复到输入前。
示例
(翻译)撤销(Undo) - gc_2299 - gc_2299的博客
 
用途
  • 用于让用户有更多的信心和意愿来使用应用系统的功能[1];
  • 丢失数据后造成的损失越严重,就越应该提供撤消功能;
  • 只要有一丝造成工作损失的可能性,应用程序中就应该提供撤消功能[2];
  • 撤消操作中不要使用警告[3]。
解决方案
应用程序允许用户便捷地撤回他们自己做的操作。
说明
没有完美无瑕的用户,他们也会犯错误。
应用系统提供可靠地探索和操作功能,让用户用着放心,即使出错也只造成短暂的影响[4]。多级撤消功能能够便捷地帮助用户逐步探索、熟悉工作步骤。丢失数据后造成的损失越严重,就越应该提供撤消功能。
讨论
使用本模式的一大附带效果是,让用户有更多的信心和意愿去尝试应用系统中新的、不同的模块或功能。通过反复试验,用户能够更快地学习、掌握应用系统的功能。

原文地址:http://ui-patterns.com/patterns/undo

[1]原文:Use when you want to provide users with more confidence and willingness to play around;
[2]原文:Whenever there is an opportunity to lose work, the program should allow undo actions.
[3]原文:Never use a warning when you mean undo.
[4]原文:Promote safe exploration and playfulness by providing confidence that mistakes aren’t permanent.
阅读全文
0 0