lingua-libre / SignIt

🌻 Lingua Libre SignIt web-browser extension translates selected word in French Sign Language via an elegant pop up so you learn sign language while reading online.
https://addons.mozilla.org/en-US/firefox/addon/lingua-libre-signit/
MIT License
11 stars 13 forks source link

Multiple Code Enhancements #83

Closed kabir-afk closed 3 weeks ago

kabir-afk commented 3 weeks ago

Changes

5th June

7th June

hugolpz commented 3 weeks ago

There are a lot of tiny bits so I will only review those which puzzle me a bit, with ideas when I have.

kabir-afk commented 3 weeks ago

Here are my answers to the above questions :

  1. Q1 : I agree that we can ditch out on the browser namespace altogether, but as per mdn , we should stick to it if aiming for cross browser compatibility. I'll update it later as per browser namespace, such that it works across both the browsers.
  2. Q2: OK 👍
  3. Q3: I initially thought the same ,but since buttons are constructed using the library and we don't have full freedom over the elements ,I went with updating the CSS.
hugolpz commented 3 weeks ago

@kabir-afk , ok for Q1, Q2, Q3. As for Q3 on CSS+oojs, please note that oojs will / should be ditched out somedays. Maybe in coming weeks if we have time.

kabir-afk commented 3 weeks ago

@hugolpz What will we be replacing it with ?

hugolpz commented 3 weeks ago

@kabir-afk Vanilla js / html / css.