Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restyle Button Edit Screen #1939

Merged
merged 1 commit into from
Aug 18, 2017
Merged

Restyle Button Edit Screen #1939

merged 1 commit into from
Aug 18, 2017

Conversation

epwinchell
Copy link
Contributor

@epwinchell epwinchell commented Aug 16, 2017

This PR is a first pass at cleaning up the styling of the Button Edit Screen. It standardizes all items into the form-horizontal layout and relabels items for clarity.

Follow-up to: #1792

Before
screen shot 2017-08-16 at 1 18 03 pm
screen shot 2017-08-16 at 1 18 10 pm

After
screen shot 2017-08-17 at 12 21 00 pm
screen shot 2017-08-17 at 12 21 10 pm

@epwinchell
Copy link
Contributor Author

@miq-bot add_label wip, formatting/styling, technical debt, fine/no

@epwinchell
Copy link
Contributor Author

cc/ @dclarizio @martinpovolny

@epwinchell epwinchell changed the title Restyle Button Edit Screen [WIP]Restyle Button Edit Screen Aug 16, 2017
@dclarizio dclarizio self-assigned this Aug 16, 2017
@dclarizio dclarizio requested a review from lgalis August 16, 2017 20:45
Copy link
Contributor

@lgalis lgalis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - verified in the UI.

@martinpovolny
Copy link
Member

This is sooo much better than before! Cool!

One thing that I really don't like (on the old and on the new version) is the edit button. I am not sure what patterns we have but I think that it is very unclear that you have to click on it to edit the expression. Can we have a normal button with text + image? Would it be ok according to PF?

Thanks!

@epwinchell
Copy link
Contributor Author

epwinchell commented Aug 17, 2017

@martinpovolny said:

One thing that I really don't like (on the old and on the new version) is the edit button. I am not sure what patterns we have but I think that it is very unclear that you have to click on it to edit the expression. Can we have a normal button with text + image? Would it be ok according to PF?

screen shot 2017-08-17 at 11 31 17 am

screen shot 2017-08-17 at 11 34 52 am

@miq-bot
Copy link
Member

miq-bot commented Aug 17, 2017

Checked commit https://github.com/epwinchell/manageiq-ui-classic/commit/37d7ad56564f763b974693e4b6196de56cb2bdbf with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
6 files checked, 2 offenses detected

app/views/layouts/_custom_button_expression.html.haml

  • ⚠️ - Line 10 - The = symbol should have one space separating it from code
  • ⚠️ - Line 17 - Missing curly braces around a hash parameter.

@epwinchell
Copy link
Contributor Author

@miq-bot rm_label wip

@miq-bot miq-bot changed the title [WIP]Restyle Button Edit Screen Restyle Button Edit Screen Aug 17, 2017
@miq-bot miq-bot removed the wip label Aug 17, 2017
@h-kataria h-kataria added this to the Sprint 67 Ending Aug 21, 2017 milestone Aug 18, 2017
@h-kataria h-kataria merged commit 1929a7f into ManageIQ:master Aug 18, 2017
@epwinchell epwinchell deleted the button_edit_cleanup branch October 25, 2017 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants