Bug report: hint (tooltip) not displayed for text-type inputs
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
- Add "Diff" ingredient to recipe
- Hover over "Ignore whitespace", check the title tooltip appears. Good.
- Add "Protobuf decode" ingredient
- 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.
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?
@a3957273 Seeing you've been active here lately, here's another issue, a usibility one, with a fix available. Would be great if you could take a look!