-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark Duplicates in Lookups/Mining Dialogue #107
Comments
I am not familiar with how Yomitan is displaying that information, including that detail would make it easier for me to visualize exactly what is being asked here. Regardless, here are a few things to keep in mind if you intend to create a PR for this:
I probably won't be implementing this feature myself because I don't personally have a use for it, and its performance characteristics might not be acceptable. So, if you decide not to create a PR for it, feel free to close this issue. |
Do you mean it would only be shown when you click on the primary spelling that allows you to mine the word (e.g., 屋, written in orange in your screenshot)? Or do you mean it would only be shown when the "Mining mode" button/hotkey (e.g., middle mouse button/Alt+M) is pressed, which enables the mining mode? If you mean the former, then what's the plan exactly? Currently, when you click on the primary spelling, JL will try to mine it and close the popup regardless of the operation’s success. If there’s an error, it will be shown as an "alert" in the upper-right corner of the screen; if successful, it will show an alert like "Mined {Primary Spelling}". Would you want the popup to remain open if the card you try to create is a duplicate, to show the "duplicate" icon? Would an alert like "Mined duplicate card" suffice in that case? If you mean the latter, I’m afraid it does count as a normal lookup, because the |
|
I have the latter implemented currently, i did think about just changing the notification to show that it's a duplicate, but for me there is still useful information in the mining screen that would come from checking "everything" for duplicates. Simple example, if i have an existing card for 目標 and the word is 目標的, that might influence my decision to mine 目標的 (like, i absolutely don't need a card) I will check out what you mentioned about left click counting as mining mode when i get home, all my logic is hidden under if miningmode as of right now, but i just threw it in there without much care just for my personal use.
Ah, I was confused by this at first but i see now... I was doing hover and then middle mouse to go into mining. I think there is a performance hit, but im not sure. Regardless i will re-think my approach a bit. |
This would be a useful feature to have similar to Yomitan's implementation for a few reasons. I feel duplicate cards are useful for some words that require a lot of different context to really undersand. Few other reasons..
I might look at adding this and PRing, since it would be super helpful for my setup, but no promises.
The text was updated successfully, but these errors were encountered: