Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easily digestible UI tips for developers [closed]

What are some key UI design tips that every developer should know?

While there are a number of UI resources for developers (for example, Joel Spolsky's User Interface Design for Programmers), I'm interested in more of a bullet list that can be communicated in 1 to 2 pages.

I'm interested in more tactical, day-to-day UI tips, as opposed to overarching UI design goals that would be covered in a UI design meeting (presumably attended by at least one person with a good UI sense). A collection of these tips might cover about 80% of the cases that an everyday programmer would come across.

like image 274
David Koelle Avatar asked Nov 12 '08 18:11

David Koelle


4 Answers

  • use a standard menubar (amateur GUI designers seem to like to chart their own course here for some reason). Make sure the first items are File, Edit and View, and the last one is Help
  • don't worry about color themes or skins; stick to a standard look that is consistent with your platform
  • use the default system font
  • use menu accelerators that are consistent with your platform
  • stick to the tried and true layout with a menubar on top, a status bar on the bottom, and if required, a navigation pane on the left
  • never do a system-wide grab
  • If you have a choice, make all windows resizable.
  • use groups of radiobuttons for "choose exactly one". Always make sure one of them is selected by default. If you want the user to be able to not choose any, add another radiobutton for "no choice"
  • use groups of checkbuttons for "choose zero or more"
  • constrain input if necessary (ie: simply ignore non-digits in a numeric input field) rather than waiting for a user to enter data, submit, then throw up a dialog saying "hey, letters aren't allowed!". If they aren't allowed, don't accept them in the first place.
  • be liberal in what you accept as input. For goodness sake, don't throw a fit for a SSN field if they leave out the hyphens, or put then in when you don't want them. The computer is smart, let it figure out that xxxxxxxxx and xxx xx xxxx and xxx-xx-xxxx are all valid social security numbers.
  • always allow spaces in long fields such as serial numbers and whatnot. Data quality goes way up if a user is allowed to group numbers in sets of three or four. If your data model can't handle the spaces you can remove them before saving the data.
  • Avoid pop-up dialogs like the plague. Never display one unless you absolutely must. If you decide you must, stop and rethink your design before continuing. There are times when they are necessary, but those times are considerably less frequent than you might imagine.
  • pay attention to keyboard traversal. Most toolkits make an attempt to get it right, but always double-check. A use should be able to use the tab key to traverse the widgets in a logical manner.

All of these rules can, of course, be broken. But only break it if you are breaking it for a justifiable reason.

Remember, the software is there to aid the user, it should be doing what they want, rather than making them do what it wants.

like image 81
Bryan Oakley Avatar answered Dec 04 '22 14:12

Bryan Oakley


When you are about to perform an action that will change or delete information, don't ask 'are you sure' - users will learn to click the button as part of the action. Try to allow for an 'Undo' in the system design.

like image 39
Alister Bulman Avatar answered Dec 04 '22 13:12

Alister Bulman


Make the default choice the one most users would be happy with.

like image 32
PotatoEngineer Avatar answered Dec 04 '22 15:12

PotatoEngineer


Always give your user a "way out" from wherever they are that does not require the use of the back button.

The best example:

If an error occurs, give them a link back to where they were (or at least to where they can start over).

like image 22
Jeffrey Harrington Avatar answered Dec 04 '22 13:12

Jeffrey Harrington