fuddl / wd

a browser extension for wikidata
https://wikidata.org/wiki/Wikidata:Tools/Wikidata_for_Firefox
GNU General Public License v3.0
36 stars 6 forks source link

Feat/overlay scoping #61

Closed fuddl closed 2 years ago

fuddl commented 2 years ago

I am trying to address #59 and #60:

  1. nothing should happen inside the (overlay) sidebar when it is not open. because this creates history items for no reason and creates loads of unnecessary requests
  2. the (overlay) sidebar should not inherit css from the website it is in. In order to prevent that, I wrapped it into a shadowDOM
  3. as a small extra, the (overlay) sidebar is now resizable and it can be moved to the right side: just like the native sidebar
fuddl commented 2 years ago

as soon as the shadowDOM is present, jQuery seems to cause an issue when editing a wikidata statement → #62