classifai icon indicating copy to clipboard operation
classifai copied to clipboard

Title generation > Custom prompt > For the title field, a tooltip icon is displayed, but nothing happens when clicking on it.

Open QAharshalkadu opened this issue 2 years ago • 1 comments

Describe the bug

Title generation > Custom prompt > For the title field, a tooltip icon is displayed, but nothing happens when clicking on it.

Steps to Reproduce

  1. Go to the Title Generation tab
  2. Custom prompt > For the title field > a tooltip icon is displayed
  3. Click on tooltip icon
  4. Observe nothing happens

Screenshots, screen recording, code snippet

https://prnt.sc/uy4xkpxdgDyQ

Environment information

Local

WordPress information

WordPress 6.4.2, PHP 8.1.23

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

QAharshalkadu avatar Jan 22 '24 17:01 QAharshalkadu

So I don't believe these have ever been clickable, you just hover over it and it will show the helper text:

Helper text

That said, maybe these should function more like a normal tooltip that displays not only on hover but also on click? I'd probably not put this into the v3 milestone though as it's not a new issue. This may be something we just wait and bundle into the admin UI changes (#502) we're looking to do, since at that point we can utilize the core Tooltip component.

dkotter avatar Jan 22 '24 18:01 dkotter