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

Discover pane date histogram turns a different color after a specific series of clicks #4817

Closed
tbragin opened this issue Sep 1, 2015 · 3 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience PR sent v4.2.0

Comments

@tbragin
Copy link
Contributor

tbragin commented Sep 1, 2015

I honestly thought this was a Halloween easter egg:
kibana_color_error

My repro steps:

  • Start on Discover (histogram is the default green color)
  • Go to Settings, Server Status
  • Back button back to Settings
  • Visualize (with a vis open)
  • Discover (histogram is some other color - in my case blood-red)
@tbragin tbragin added bug Fixes for quality problems that affect the customer experience v4.2.0 labels Sep 1, 2015
@spalger
Copy link
Contributor

spalger commented Sep 1, 2015

So this happens because colors are cached based on load order and anytime a visualization that doesn't show the count is loaded first, then the standard count-green is assigned to something else.

As long as we are using auto generated colors this is goin to be a problem, so maybe we could expose a config object that always binds certain values to certain colors.

Maybe we could start with { "count" : "greenish", "ERR" : "failred" }

@tbragin
Copy link
Contributor Author

tbragin commented Sep 1, 2015

Note that I don't get this bug if I just go to Visualize and back to Discover. The only way I've been able to replicate it is to take the journey through Settings / Server Status / and Back.

@rashidkpc
Copy link
Contributor

++ to adding an advanced config option for mapping certain labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience PR sent v4.2.0
Projects
None yet
Development

No branches or pull requests

4 participants