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

[Bug]: Web-UI chart metric tooltip ordering fixed to alphabetical ascending on Firefox #1024

Closed
dogsbody-josh opened this issue Jun 14, 2024 · 3 comments
Assignees
Labels
bug Something isn't working needs triage

Comments

@dogsbody-josh
Copy link

Bug description

Mouse over tooltips on chart metrics provide a quick pop-up visual indication of dimension values/anomaly rate. In Chromium, Dimensions are ordered by "Value Descending" (largest Value at the top). This provides useful insight into the particular Dimension consuming the largest Value - a service consuming RAM or CPU for example.

On Firefox, the Dimension's in tooltips are ordered by "Dimension Alphabetical Ascending" (fixed Dimension name A-Z). This often provides no useful information as to what Dimension is consuming which Value the most.

Expected behavior

It is expected that the behaviour of chart metric tooltips on Firefox would be the same as that on Chromium

Steps to reproduce

  1. Select any chart - I suggest Applications > Memory and time set to last 15 minutes in order to easily see the issue.
  2. Place your mouse over the graph and observe the tooltip
  3. Dimension ordering is different between Firefox/Chromium

Screenshots

Chromium tooltip example

netdata-chromium-tooltip

Firefox tooltip example

netdata-firefox-tooltip

Error Logs

N/A

Desktop

OS: [e.g. iOS] Tested on Linux and MacOS
Browser [e.g. chrome, safari] Tested on Firefox and Chromium
Browser Version [e.g. 22] Firefox 127.0 / Chromium 126.0.6478.55

Additional context

I believe this is different to #736 as that specifically requests control of the ordering and this bug report describes possibly unintended differences in behaviour between browsers.

@dogsbody-josh dogsbody-josh added bug Something isn't working needs triage labels Jun 14, 2024
@dogsbody
Copy link

This is really doing our head in. We use Firefox as our everyday browser and we are now having to open Chromium just to use Netdata :-(

@novykh novykh self-assigned this Jul 18, 2024
@novykh
Copy link
Contributor

novykh commented Jul 18, 2024

There seems to be an issue with firefox not giving event offset position. From your screenshot it seems like you are always hovering on the anomaly part of the chart - hence Anomaly column in popover is bold. I just released a fix for this, closing it and feel free to re-open in case something doesn't work for you dogsbody.

@novykh novykh closed this as completed Jul 18, 2024
@dogsbody
Copy link

This looks to be working great now. Thank you so much 👍 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

3 participants