Installing from source is definitely a valid option (master branch is always stable), with the downside that if you are running on Windows, Chrome will ask you if you want to turn off manually installed extensions every single time you restart the process.
I wouldn't expect your dictionaries to become disabled either... I just looked over the code again and couldn't find a plausible way for that to happen. Do you maybe have Yomichan installed on several computers where one of them does not have dictionaries installed? Options sync but dictionaries do not, so maybe that is what caused the problem? Regardless, your idea of displaying a popup seems reasonable, assuming that the user knows enough about the extension to press shift while mousing over text. Maybe I can do both...
Documentation is always a work in progress and unfortunately often lags behind features. Yomichan is a project that revolves about my love for open source development, but no so much about my love (or lack thereof) of technical writing. In the ideal world I would have other people helping document functionality, tweak UI layout and so on, but realistically that will probably never happen.
I'm mostly using Fedora. I installed Yomichan on Windows for testing, but it hasn't been booted up for a few days, so that can't be related. Unless the dictionary becomes disabled again (or for somebody else), I guess we can assume I did it by accident.
I also lost the Anki Options again, a day or two before that.
How complicated is installing from source, for a developer who doesn't know much about Chrome extensions (or about the other things in the readme's "For development" list)?
Yeah, I'm kind of at a loss about what is happening with the settings -- it sounds pretty annoying though. If stuff like this keeps happening, could you PM me the exact settings that where reset and when it happened? That would probably be our best bet for trying to narrow down what is happening through observation since I can't see any problems with the code itself.
Running the extension from source is pretty simple:
1. Clone the repository with git (make sure to init and pull submodules).
2. Open the chrome extensions page
3. Enable developer mode.
4. Click "Load unpacked extension".
5. Select the "ext" directory from the source root.
Edited: 2017-02-27, 6:03 pm
Is there a reason that clicking the extension icon now opens the options instead of disabling it?
The options page has a "Enable search" checkbox all the way at the top. This checkbox controls whether or not definition lookups happen.
I actually believe the whole notion that you have to keep on enabling and disabling the extension in order to keep it from getting in your way is a backwards way of thinking about it. I agree that Yomichan may not (in the current form) be in a state where you can just leave it on and have it never get in the way, but we should work towards that as opposed to streamlining the enable and disable workflow.
For the text box input issue, I already tried to address it by requiring mouse movement for dictionary lookup (instead of just triggering immediately with shift keypress). Would your problem be solved if the modifier could be optionally shifted to Ctrl or Alt or something?
Edited: 2017-03-02, 1:30 pm
Added better instructions for how to use this on Firefox. The Firefox port is ready!
LOVE the new Search page! The ability to just look up a word and add it directly to Anki is awesome. Thank you!!
EDIT: Hmm, actually, while the Plus buttons for add to Anki do appear next to definitions in the Search page, clicking one doesn't do anything for me in Chrome. A spinner appears in the bottom right corner and spins eternally. The word is never added to Anki. (Adding from the pop up to Anki works fine.)
Edited: 2017-03-06, 12:16 am
Yomichan is good. I love it.
But I have one little problem.
I was testing it with only the kanji dictionnary enabled.
But when I do that it shows only the first kanji I scan and stick to that one.
Also that would be great to be able go back and forth between dictionnaries on the fly.
I think rikaichan do that with the space/enter shortcut.
Or at least a button to go back to the main dictionnary without closing the result window each time.
thank for reading.
Yeah, it's not a critical use case, but when you press on a kanji link while reading a word's definition, there's no way of going back to the definition unless I close the pop-up and scan the word again. Even if you don't add a hotkey for that, a "< go back" link in the kanjidict would be useful for this.
I hope this explanation makes it clearer.
(Edit: Are you by any chance mixing me up with a previous poster who really looked up individual kanji? I don't, and I agree that use case would be infrequent)
Edited: 2017-03-06, 10:34 pm