ainzzorl / wordhighlighter

A web extension for expanding your vocabulary by highlighting words in your dictionary
https://addons.mozilla.org/en-US/firefox/addon/wordhighlighter
Apache License 2.0
22 stars 6 forks source link

saving and editing words easier #103

Open diplo7 opened 3 years ago

diplo7 commented 3 years ago

Hi, I have noticed a certain slowness when loading my word table (because I have a lot of words). Another issue is that it's a bit tiring having to go back to the table every time to edit words too. So I propose an easier way for these issues: when you double click on the word or select it, an icon automatically appears and when you click on it, a small window appears over the word and then you can save the word or edit it later if it is already highlighted. It would be much easier to edit the highlights directly in the text.

For example, Google translate extension. When you select or double click on a word or sentence, a pop-up is opened immediately: Screenshot from 2021-07-20 09-56-18

ainzzorl commented 3 years ago

Slowness - agreed, it needs to be optimized. Perhaps instead of showing all words at once (which is slow) we can show ~100 at a time. Tracking it separately: #104.

About saving words easier. You already can select a word, right-click and then "Add word". Does this help? Or do you actually go to edit word descriptions or something?

diplo7 commented 3 years ago

I'm referring to the whole path I need to go every time I edit a word. I click on the right button, click on "Add word", then I have to go up to the toolbar, click on the app icon, wait for the table to load, search for the word I just saved and finally put a description on it. It doesn't seem very efficient to me. I think it would be more efficient to have the option to edit and save a word directly from the pop-up. In your example (show less than 100 at a time), it would improve loading to open the app, but it would take longer to edit words (having to load every 100 words until I find the one I want to edit).

ainzzorl commented 3 years ago

Thanks for the explanation. It makes sense. I'll see if I can add this in the near future.

Thanks for the idea!