openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Primary Actions Not Emphasized

Open boghyon opened this issue 8 years ago • 1 comments

According to the Fiori Design Guideline as well as many other UX guidelines, the primary action on the screen should be emphasized.

Always use an emphasized button for the the standard action. Emphasizing the main action in the dialog toolbar helps users to focus on the most likely choice. This saves users time and gives new users a sense of orientation. dialog_with_emphasized_button

Also worth watching: How to Communicate Primary Actions (by Luke Wroblewski)

URL (minimal example if possible)

Controls with main / primary action but not yet emphasized:

  • [x] sap.m.TablePersoDialog → Fixed by https://github.com/SAP/openui5/commit/ba37f722d7b7ce6bbd5dc9182b6b13692a033f57
  • [x] sap.m.SelectDialog (multi select) → Fixed by https://github.com/SAP/openui5/commit/cb939392ab15479a201d6f40bd8483e572e6397a and https://github.com/SAP/openui5/commit/1f421b03d9302c53c5335171fda2b97014086a08
  • [x] sap.m.TableSelectDialog (multi select) → Fixed by https://github.com/SAP/openui5/commit/cb939392ab15479a201d6f40bd8483e572e6397a and https://github.com/SAP/openui5/commit/1f421b03d9302c53c5335171fda2b97014086a08
  • [x] sap.m.DateTimePicker → Fixed by https://github.com/SAP/openui5/commit/b3d36b04ec1162cac66e2c98f4afd7413a5ea601
  • [x] sap.m.TimePicker → Fixed by https://github.com/SAP/openui5/commit/b3d36b04ec1162cac66e2c98f4afd7413a5ea601
  • [x] sap.ui.comp.variants.VariantManagement → Fixed as of SAPUI5 1.63.0
  • [x] sap.ui.unified.ColorPickerPopover → Fixed by https://github.com/SAP/openui5/commit/dd07f841760a21d712584410bc0a0175bc25ed9a, closes https://github.com/SAP/openui5/pull/2642
  • [x] Various sap.m.MessageBox dialogs if applicable → Fixed by https://github.com/SAP/openui5/commit/8b2d9f781823a03431fc60e1925dc0f73cfe364e and https://github.com/SAP/openui5/commit/3de1f89f297443a479ec16c4bf66de7b074ce447
  • [x] sap.m.UploadCollection (Deprecated) → Fixed by https://github.com/SAP/openui5/commit/b2feb2d303f6317d878a484d534976d59f0c9bf6
  • [x] sap.m.ColorPalette → Fixed by https://github.com/SAP/openui5/commit/5e14685815add955682f29994413fd25bf905725

What is the expected result?

Main action buttons such as OK or Submit are emphasized like in the ValueHelpDialog or ViewSettingsDialog for example.

boghyon avatar Oct 19 '18 13:10 boghyon

Hello @boghyon ,

Thank you for sharing your enhancement proposal. I've created an internal incident 1880659270. The status of the issue will be updated here in GitHub.

Regards, Georgi

ghristanov avatar Oct 26 '18 10:10 ghristanov