* Add UI Guidelines to SDK docs * Add UI Guidelines to SDK docs * Fixing build errors * optimize PNGs * add UI guidelines landing page placeholder * IJ SDK Docs <-> UI guidelines crosslinks updated * split_button.md: remove reference to removed setting * use <ui-path> * use MD instead of <note> * use %gh-ic% links * drop_down.md: fix <control> * code samples: fix most obvious issues * remove obsolete `_defaults.md` * ijs.tree: UI cleanup * Delete "under construction" pages * Fix headers * Add link-summary * Remove invalid links * Delete unused files * Remove ''@2x' from image file names * Use Markdown syntax for some images and tables * Rename non-unique files to unique * Remove alpha in images where content is unreadable * align quotation marks * Controls: cleanup/fixes, add code links, edit * tooltip.md: fix HTML * misc fixes * typography.md: fix table contents * typography.md: fix table header * UI guidelines landing page + TOC fixes * remove unused icons_list.md * Normalize image paths * validation_errors.md: Fix broken tab * "correct"/"incorrect" labels styling * Resize images to 50% * button.topic: fixes * grammar, spelling, minor edits * remove ' ' * fix 99px * cleanup * UI_kit.md: minor * Fix "MRK058: Large image in paragraph rendered as a block element by default." * button.topic: Add img[alt] * mnemonics.md: Update "Contact Us" link to the IJSDK YouTrack * split_button.md: Use ui-path * UI landing: add feedback snippet * Improve code snippets formatting and naming * Fix code samples * Fix code samples * Add Kotlin variants for code samples * Add icons_list.md * crosslinks * Change external link to https://intellij-icons.jetbrains.design/ * icons list -> https://intellij-icons.jetbrains.design * Hide info about reducing split button to simple action button (now it is available through the registry only) * reformat * icons_style.md: Images in new line --------- Co-authored-by: marianna.kononenko <marianna.kononenko@jetbrains.com> Co-authored-by: Yann Cébron <yann.cebron@jetbrains.com>
3.3 KiB
Context Help
Choosing a proper component for context help.
Use context help to briefly explain how a functionality works if it is not clear from the UI and the application behavior. Provide a full description of the functionality in product web help.
There are three ways to show context help:
- in a help tooltip
- as inline help text
- in an empty state
This article explains when to use the first two. For when to use the empty state, see the topic.
Inline text or a tooltip
Use inline help text in settings dialogs:
- Settings are rarely changed. Users may forget what a setting does when they use it the next time, so it makes sense to provide additional information straight away.
- Settings dialogs are usually not constrained in space. In most cases, it is possible to fit in a help text.
Use a help tooltip if:
-
A dialog is often used. The more often a person uses an interface, the more likely they are to remember what each option does.
{width=573 style=block} A refactoring dialog is used more often than a settings dialog. A help tooltip is less distracting than an inline help text.
-
There is no space for an inline text.
-
The control that needs explanation is an icon or does not have a label.
When to use context help
Explain complex behavior that a short action or a setting name cannot convey clearly.
Explain IDE-specific entities.
Provide input format requirements and examples.
Suggest alternative ways.
Warn about possible problems.
Explain limitations.
Provide quick navigation to related settings.
When not to use
Do not use context help to explain how the user interface works. If you need to explain that, consider redesigning the UI.
Incorrect
Do not explain common actions and entities. Show a regular tooltip with an action name and shortcut in this case.
Incorrect | Correct |
---|---|
![]() |
![]() |
Do not explain each option. Too many help icons or too much inline text make a dialog cluttered and harder to navigate visually. If all options need to be explained, consider rewriting the labels to make them clearer.
Incorrect
How to use
See Inline help text and Tooltip.