openfoodfoundation / openfoodnetwork

Connect suppliers, distributors and consumers to trade local produce.
https://www.openfoodnetwork.org
GNU Affero General Public License v3.0
1.12k stars 724 forks source link

Replace JQuery tooltips plugin #9541

Open binarygit opened 2 years ago

binarygit commented 2 years ago

What we should change and why (this is tech debt)

As we are moving away from Angular and JQuery to stimulus, it is necessary to replace the JQuery tooltip plugin with something new.

First part was done in #9560 on /admin/enterprises/ . Other known places where tooltips are used:

Context

This was talked about here: https://openfoodnetwork.slack.com/archives/C03QBDHDCSY/p1659443811447199

Here are two possible replacements: https://floating-ui.com/ https://popper.js.org/

Impact and timeline

sigmundpetersen commented 2 years ago

Hey @binarygit , was this closed by #9560 ?

binarygit commented 2 years ago

Nope. There are many places the plugin is in use right now, so we can actually only remove the Jquery tooltip plugin when all of those tooltips are ported over to stimulus. So, I think this one will stay open for sometime.