Skip to content

Conversation

@PythonGermany
Copy link
Contributor

@PythonGermany PythonGermany commented Dec 12, 2025

Summary

Fixes #1440

In addition it also fixes various other issues regarding the endpoint card tooltip. See checklist.

Checklist

  • ISSUE: Tooltip persistence not enabled when clicking between the results
  • ISSUE: Empty tooltip is shown for a short amount of time before tooltip is hidden
    • Found the cause -> Because the transition has a time configured. If I disable the transition the artifact is gone, but then location changes between results are also instant
  • ISSUE: Close persistent tooltip when clicking on result with no data
  • TODO: Set cursor to always to pointer when hovering over history bar
    • Only makes sense once enabling persistence always works
    • With the exception of hovering over results that have no data
  • TODO: Test how it behaves with suites (haven't used that feature so far)
  • ISSUE: Edge cases possible leading to outdated tooltip (especially relevant when using pinned tooltip)
    • TODO: Handle for pinned tooltips
    • TODO: Handle for unpinned tooltip
  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • (n/a) Updated documentation in README.md, if applicable.

@PythonGermany PythonGermany changed the title Fix endpoint card result issues Fix endpoint card result tooltip issues Dec 12, 2025
@PythonGermany
Copy link
Contributor Author

PythonGermany commented Dec 12, 2025

The updated UI behavior:

Screen.Recording.2025-12-12.135821.mp4

@PythonGermany PythonGermany changed the title Fix endpoint card result tooltip issues fix(ui:): Resolve endpoint card result tooltip issues Dec 12, 2025
@PythonGermany
Copy link
Contributor Author

image It's possible for the tooltip to be outdated by pinning the tooltip for one result and then waiting for the site to refresh. Which might already happen after 10s. Once outdated clicking on the updated result will update the tooltip inplace.

To solve this one option would be to always hide the tooltip when the results are updated, however this would lead to other possible issues, e.g tooltip disappears without user input just after opening it.

Updating the location of the tootip might be more complicated since I would need to figure out which one of the updated results is the previously selected one, if it still exists, since it might also have moved out of scope of the displayed results.

So updating the content of the tooltip might be the best way to move forward.

@PythonGermany
Copy link
Contributor Author

PythonGermany commented Dec 16, 2025

I cannot get to a working solution for the two oustanding issues:

  • Still no persistent tooltip enabled when clicking beween results
  • Tooltip opens before it is has the full data loaded and correct position set due to transition duration

@PythonGermany PythonGermany force-pushed the prevent-tooltip-flicker branch from 93e000f to 33bb604 Compare December 18, 2025 19:43
@PythonGermany PythonGermany marked this pull request as ready for review December 19, 2025 17:54
@PythonGermany
Copy link
Contributor Author

PythonGermany commented Dec 19, 2025

I cannot get to a working solution for the two oustanding issues:

* Still no persistent tooltip enabled when clicking beween results

* Tooltip opens before it is has the full data loaded and correct position set due to transition duration

My suggestion would be to leave it as is and tackle the remaining issues in a new PR/Issue -> #1458

@TwiN
Copy link
Owner

TwiN commented Dec 20, 2025

@PythonGermany Would you say the two issues you outlined is a regression compared to the current behavior in the master branch (despite the new feature)?

I have no problem splitting an issue in smaller sub-issues, but if it leaves the latest version of Gatus in a state where user experience is impacted until the sub-issue(s) are resolved, I would rather find a solution before merging the initial/faulty implementation.

@PythonGermany
Copy link
Contributor Author

Would you say the two issues you outlined is a regression compared to the current behavior in the master branch (despite the new feature)?

Both issues mentioned are already present in the master branch with exactly the same observable behavior. They are not introduced by the changes of this PR. Just haven't found a good solution so far, that's why they are still unresolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tooltip flickers when moving between status result bars

2 participants