-
Notifications
You must be signed in to change notification settings - Fork 1.1k
HIG: Dialogs
Yin Zhang edited this page Aug 15, 2014
·
30 revisions
Modal dialogs in Cockpit should have consistent behavior. These are the Human Interface Guidelines for dialogs.
Dialogs should be implemented as Patternfly modals.
This section is incomplete...
- Disable affirmative button when dialog has invalid contents or the content is empty.
- Support enter key for input fields and primary buttons in the dialog.
- The primary button is the button used for finishing the function of the dialog.
- If there is only one input field, pressing enter key behaves the same as clicking the primary button.
- If there are more than one input field, pressing enter key moves the focus from the previous input field to the next one,
- ...
This section is incomplete...