问题描述
在我的特定情况下,我有一个评论表单,只有在用户登录并加入特定主题后才能使用.然后,他们可以对该主题发表评论.
In my particular situation, I have a comment form than cannot be used until the user has logged in and joined a specific topic. Then, they can comment on that topic.
在您看来,我应该完全隐藏评论表单,还是禁用它并提示用户完成必要的要求.
In your opinion, should I hide the comment form completely, or disable it and prompt the user to complete the necessary requirements.
推荐答案
禁用它们可以使用户无需费力地寻找她以前知道存在的功能.所以一般来说,完全隐藏一些东西只会让人感到沮丧.还记得 Office 2000 到 2003 中动态填充的菜单吗?然后你就明白我的意思了(参见 Jensen Harris 的 博客文章 在 该主题).
Disabling them saves the user from effortlessly looking for functionality she knew to exist before. So in general, hiding something completely from view just generates frustration. Remember the dynamically populated menus in Office 2000 to 2003? Then you know what I mean (cf. Jensen Harris' blog posts on that topic).
我建议你应该禁用它们,并明确它们在什么状态下可用以及如何实现.
I suggest you should disable them and make it clear in what states they are available and how to achieve that.
但是,在某些情况下,例如我们现在正在开发的应用程序,功能是否存在更多地取决于用户的权限,而不是程序的当前状态.在这种情况下,隐藏不应访问的内容会很有帮助,因为用户永远不会到达他们可以使用控件的地步.仅仅是因为他们缺乏特权.例如,查看 Stack Overflow 的审核工具,一旦您的代表次数超过 10k,就可以使用这些工具,但之前从未显示过,甚至没有被禁用.
In some cases, however, such as the application we are developing right now, functionality being there or not depends more on the user's permissions than on the current state of the program. In such cases it can be helpful to just hide things that shouldn't be accessible since users never get to the point where they could use the controls. Simply because they're lacking privileges. See for example Stack Overflow's moderation tools which are accessible once you get above 10k rep but are never shown before, not even as disabled.
这篇关于在用户界面中,“变灰"是否更好?或隐藏不可用的功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!