Consistent positions and names for the UI buttons

Bug #1647594 reported by Michal Pryc
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Jiri Tomasek

Bug Description

Currently some of the "Save changes" are left to the "Cancel"

(Example is: Base resources configuration, user-environment.yaml Edit Configuration)

Then we get Register Node and "Register" is on the right from the Cancel.

That should be consistent across different UI dialogs (preferably similar to Horizon - right side = accept some option/save/deploy/register and Cancel to the left).

Julie Pichon (jpichon)
affects: tripleo-ui → tripleo
tags: added: low-hanging-fruit ui
tags: added: ux
Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Julie Pichon (jpichon) wrote :
Revision history for this message
Julie Pichon (jpichon) wrote :

I like the idea of being consistent with the button placement, both internally and with Horizon.

Changed in tripleo:
assignee: nobody → RISHABH KUMAR (kris-kr296)
Revision history for this message
Liz Blanchard (lblanchard) wrote :

+1 on this bug and the comments. For the TripleO UI, we are using PatternFly guidelines and here you can see the guideline on button placement within modals:
http://www.patternfly.org/pattern-library/forms-and-controls/forms/

The primary action should be on the right with the Cancel (or secondary) on the left. Both right aligned.

Based on this, the buttons on the Register Nodes modal is correct.

Here are the areas I noticed that need to be fixed:
1) Manage Plans -> Edit Plan / Create Plan (Should really have a title of edit or create plan and a confirmation of Save + Cancel)
2) Edit Configuration -> Overall Settings (Should have title of Edit Configuration and buttons should be in the opposite order so that Save and Close is right most)
3) Edit Configuration -> Parameters (Should have title of Edit Configuration and buttons "Save" and "Cancel")
4) Edit Role (Should have both "Save" and "Cancel" right aligned.)
5) Validations Details (Missing "Close" button in the bottom right.)
6) Tag Nodes into Profiles (Buttons should be swapped and "Confirm" should be "Tag Nodes".)

Revision history for this message
Emilien Macchi (emilienm) wrote :

There are no currently open reviews on this bug, changing the status back to the previous state and unassigning. If there are active reviews related to this bug, please include links in comments.

Changed in tripleo:
assignee: RISHABH KUMAR (kris-kr296) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/539652

Changed in tripleo:
assignee: nobody → Liz Blanchard (lblanchard)
status: Triaged → In Progress
Changed in tripleo:
assignee: Liz Blanchard (lblanchard) → Jiri Tomasek (jtomasek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ui (master)

Reviewed: https://review.openstack.org/539652
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=714ce3edabdfb46f1fe374b64fc35e5cdad49378
Submitter: Zuul
Branch: master

commit 714ce3edabdfb46f1fe374b64fc35e5cdad49378
Author: Liz Blanchard <email address hidden>
Date: Wed Jan 31 14:44:12 2018 -0500

    Make button positions consistent

    This patch is an effort to make sure the button order in forms
    (typically modals) are consistent and following the PatternFly
    recommendations. The following forms buttons have been swapped
    in order so that the buttons are all right aligned at the bottom
    of the modals and the primary action is on the right while the
    secondary actions are on the left:
    - Import Plan Modal
    - Update Plan Modal
    - Deployment Configuration Modal (Overall Settings Tab)
    - Deployment Configuration Modal (Parameters Tab)
    - Role Configuration Modal
    - Manage Roles Modal
    - Delete Deployment Confirmation Modal
    - Delete Nodes Confirmation Modal (uses same code as delete
    deployment)
    - Tag Nodes Modal (Also updated button label to read "Tag Nodes"
    to be consistent terminology with all other buttons)

    Change-Id: Ib28cc4075ae69efe6ab2e73a95521de0a1b579a4
    Closes-Bug: #1647594

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ui 8.3.0

This issue was fixed in the openstack/tripleo-ui 8.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.