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

Display colored fonticons before custom buttons #851

Merged
merged 1 commit into from
Jul 27, 2017

Conversation

skateman
Copy link
Member

Pivotal story in the OPS UI: https://www.pivotaltracker.com/story/show/147779325
Depends on: ManageIQ/manageiq-schema#39
Some icons might be not displayed becauseof this: #850

screenshot from 2017-07-22 11-43-45

@skateman skateman requested a review from chriskacerguis as a code owner July 22, 2017 09:51
@miq-bot miq-bot added the wip label Jul 22, 2017
@AllenBW AllenBW added this to the Sprint 65 Ending Jul 24, 2017 milestone Jul 22, 2017
@AllenBW AllenBW self-assigned this Jul 22, 2017
@AllenBW AllenBW requested review from chalettu and AllenBW July 22, 2017 11:48
@serenamarie125
Copy link

@chriskacerguis i think should should have a ux/review tag on it along with a UX review?

@chriskacerguis
Copy link
Contributor

@serenamarie125 /agree :)

@chriskacerguis
Copy link
Contributor

@serenamarie125 I've added the label, but it looks like this is still WIP.

@skateman
Copy link
Member Author

@chriskacerguis I market it as WIP because of #850

@chriskacerguis
Copy link
Contributor

@skateman ahhh...thanks for clarifying.

@serenamarie125
Copy link

@chriskacerguis understood, but having visibility to what's being worked on is helpful, thank you!

@chriskacerguis
Copy link
Contributor

@serenamarie125 makes sense to me :)

Copy link
Member

@AllenBW AllenBW left a comment

Choose a reason for hiding this comment

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

Would like a screen shot of this and a justification for using   BUT that aside, hooooraaaayyyy!!!! 🎆

@@ -4,6 +4,7 @@
ng-click="vm.invokeCustomAction(button)"
uib-tooltip="{{button.description}}"
tooltip-placement="top">
<i ng-class="button.options.button_icon" ng-style="{color: button.options.button_color }"></i>&nbsp;
Copy link
Member

Choose a reason for hiding this comment

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

Skeptical about use of &nbsp; why is this necessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

@AllenBW I can add some padding-right instead

Copy link
Member

Choose a reason for hiding this comment

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

yes please!! @skateman 🙇

Copy link
Contributor

Choose a reason for hiding this comment

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

So has the API been updated to send the icons in the custom button API response?

Copy link
Contributor

@chalettu chalettu left a comment

Choose a reason for hiding this comment

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

Changes look good!

@skateman skateman force-pushed the custom-button-icons-colors branch from 0ec980f to 33a10e1 Compare July 24, 2017 14:59
AllenBW
AllenBW previously approved these changes Jul 24, 2017
chriskacerguis
chriskacerguis previously approved these changes Jul 25, 2017
@skateman skateman changed the title [WIP] Display colored fonticons before custom buttons Display colored fonticons before custom buttons Jul 27, 2017
@skateman skateman dismissed stale reviews from chriskacerguis and AllenBW via 3a85b15 July 27, 2017 15:49
@skateman skateman force-pushed the custom-button-icons-colors branch from 33a10e1 to 3a85b15 Compare July 27, 2017 15:49
@miq-bot miq-bot removed the wip label Jul 27, 2017
@miq-bot
Copy link
Member

miq-bot commented Jul 27, 2017

Checked commit skateman@3a85b15 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
0 files checked, 0 offenses detected
Everything looks fine. 🏆

@skateman
Copy link
Member Author

Rebased, ready to merge!

@chriskacerguis
Copy link
Contributor

@serenamarie125 ready for review :)

@serenamarie125
Copy link

What am i supposed to be reviewing here :) I haven't seen any icon picker, is that it? I see one image with a green star, but 👀 unsure

@skateman
Copy link
Member Author

@serenamarie125 that's the thing 😉 we're just displaying the icons in the SUI and the picker will be used in the OPS UI only.

@chriskacerguis
Copy link
Contributor

chriskacerguis commented Jul 27, 2017

@serenamarie125 echoing the same thing that @skateman said, since this is just the SUI...it is just showing the icons...not picking them. I think that the image is showing what the button with an icon / color will look like in the SUI.

Copy link

@serenamarie125 serenamarie125 left a comment

Choose a reason for hiding this comment

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

ahah, i see! When it said before, i was thinking i was seeing a group of icons. Sorry, misunderstood what this PR is about. Yes, I approve!

I can see a colored fonticon within the custom button. 👏 👍

@chriskacerguis chriskacerguis merged commit c05ab9f into ManageIQ:master Jul 27, 2017
@skateman skateman deleted the custom-button-icons-colors branch July 27, 2017 22:51
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