-
Notifications
You must be signed in to change notification settings - Fork 365
Introducing custom and colored fonticons for CustomButtons #1685
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
Introducing custom and colored fonticons for CustomButtons #1685
Conversation
9f6dc4d to
1f133a1
Compare
|
Unfortunately the |
|
Well, fuchsia But I mean, the course is clear, not all the browsers support input color, so you need to find/write a colorpicker component :). And since you're doing that anyway, it should be trivial to support a null value :). |
|
There is this one, but I'm not sure if it supports a |
|
@skateman I think #4d5258 will be fine. Although #ff00ff is tempting. |
|
@skateman Tested. Looks good. |
4b5f175 to
ccedb2e
Compare
|
This pull request is not mergeable. Please rebase and repush. |
ccedb2e to
147e20f
Compare
|
@skateman can any of the cc issues be fixed? |
|
@dclarizio not really, all of them were previously there and don't really want to do refactoring in a feature PR. |
|
@dclarizio I merged ManageIQ/manageiq-schema#39, so this should probably be merged next |
|
@miq-bot remove_label pending core |
|
This pull request is not mergeable. Please rebase and repush. |
147e20f to
e95b725
Compare
|
Checked commit skateman@e95b725 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 app/views/shared/buttons/_ab_list.html.haml
app/views/shared/buttons/_ab_show.html.haml
|
This introduces initial support for having custom fonticons with custom colors for custom buttons and button sets. For now there is just an input field for the fonticon class and for the CSS color, but the new fonticon picker will come soon and I would like to have something similar for the colors.
The

<input type="color">isn't fully supported by IE and it falls back to a regular text input:There is a migration required to make this green: ManageIQ/manageiq-schema#39
Displaying the colorized icons in the toolbar requires this to be merged: ManageIQ/ui-components#85
There is an issue when editing a custom button that is irrelevant to this PR: #1683
Pivotal story: https://www.pivotaltracker.com/n/projects/1613907