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

Better color selector? #264

Closed
mgedmin opened this issue Nov 6, 2015 · 4 comments
Closed

Better color selector? #264

mgedmin opened this issue Nov 6, 2015 · 4 comments
Labels
Enhancement Front-end Front-end component related (Web UI, CLI)
Milestone

Comments

@mgedmin
Copy link

mgedmin commented Nov 6, 2015

I've defined a graph for showing swap usage:
ekrano nuotrauka is 2015-11-06 15-54-41

The default colors do not work very well for this. I'd like to change the swap.cached to something else.

Here's what I have to do:

  • click the edit icon (nice)
  • click the edit template icon (nice, although I didn't notice it at first)
  • click Next
  • click on the little contrast symbol next to swap.cached
  • click the color selector (Chrome renders it like this):

ekrano nuotrauka is 2015-11-06 15-57-26

  • click the weird-looking box-with-a-smaller-box (it's actually <input type="color">)
  • pick a color in the modal color selection dialog (implemented by Chrome):
    ekrano nuotrauka is 2015-11-06 15-58-19

What makes me sad:

  • the pre-selected color is white instead of what actually gets used in the current graph
  • the color selector is based on RGB and not HSV (but you can't do anything about it, short of not using <input type="color">)
  • there are no presets

E.g. if I wanted to swap the colors, I'd have to take a screenshot, open it in an image editor, discover the RGB values used for the default colors, then enter them.

@mgedmin
Copy link
Author

mgedmin commented Nov 6, 2015

Swapping the colors is also a bit unpleasant, even after I figure out the RGB values.

@vbatoufflet
Copy link
Member

Hi Marius,

We are working on a new UI version.

The new color picker present in it won't use the builtin <input type="color"…> element and will be fully integrated to the UI.

I guess we can think of a way to save some predefined colors and/or a list of the n last picked colors.

@vbatoufflet vbatoufflet added Enhancement Front-end Front-end component related (Web UI, CLI) New UI labels Nov 7, 2015
@mgedmin
Copy link
Author

mgedmin commented Nov 7, 2015

AFAIU currently the default colors get picked by HighCharts, is that right? Having the color picker list these (or maybe just the first 10-20, if there are many), plus an option for a custom color, would be nice.

@falzm falzm added New UI and removed New UI labels Nov 14, 2015
@falzm falzm modified the milestone: New UI Nov 14, 2015
@falzm falzm removed the New UI label Nov 14, 2015
@vbatoufflet vbatoufflet modified the milestone: New UI Aug 8, 2016
@vbatoufflet vbatoufflet added this to the 0.4.0 milestone Mar 15, 2017
@vbatoufflet
Copy link
Member

Addressed in 0.4-alpha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Front-end Front-end component related (Web UI, CLI)
Projects
None yet
Development

No branches or pull requests

3 participants