Skip to content

Bug report: hint (tooltip) not displayed for text-type inputs #2016

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

Open
bartvanandel opened this issue Apr 5, 2025 · 1 comment · May be fixed by #2017
Open

Bug report: hint (tooltip) not displayed for text-type inputs #2016

bartvanandel opened this issue Apr 5, 2025 · 1 comment · May be fixed by #2017
Labels

Comments

@bartvanandel
Copy link

Describe the bug
Ingredient arguments with a hint should render this hint as a title, or tooltip. This works for e.g. checkboxes (displayed as a title), but not for e.g. string or option type arguments.

To Reproduce

  1. Add "Diff" ingredient to recipe
  2. Hover over "Ignore whitespace", check the title tooltip appears. Good.
  3. Add "Protobuf decode" ingredient
  4. Hover over "Schema (.proto text)" input. No title appears. Bad, because its label definitely does have a hint. DOM does contain the title.

Expected behaviour

  • Title appears as a tooltip.
  • Actually, all titles are rendered as a jQuery tooltip, which is what is called from RecipeWaiter.

Screenshots
... too easy to reproduce ...

Desktop (if relevant, please complete the following information):
Irrelevant, found a quick way to get it working. Will investigate further though.

Additional context
title is not displayed due to pointer-events: none on the label, which is inherited from Bootstrap Material Design. jQuery tooltip isn't displayed for some other reason.

@bartvanandel
Copy link
Author

NB: hints were introduced in #257, but as noted by @n1474335 at the time:

More work should be done to improve them from a UI perspective.

I guess this is still the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant