-
Notifications
You must be signed in to change notification settings - Fork 100
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
The green add button just dissapeared. #818
Comments
I found the problem when the setting.
Is enabled it detects all cards as duplicates and always hides the add buttons no idea if the problem is because of my anki version. |
It isn't supposed to hide the add buttons ever (disable != hide). But it's a bit misleading now. In previous versions it would gray them out but now they show as a red color when theres a duplicate and still let you add a dupe if you want. |
I cannot replicate this issue using the latest anki version. If you have a way to test on latest or can update that would be helpful. |
I'm on a recent version (not yet latest) and am running into the same thing. If I disable the duplicate check at a Deck level it reenables the add button. |
Are there any yomitan errors in console (F12 -> Console) when this happens? |
I am having the same issue, I set up a few weeks ago on MacOS, came back today to study and the add/book icons are both now missing. I've done a fresh install of AnkiConnect & Yomitan and the same happens |
Not sure if intended, but I can get into the HTML and see the actions are there, and set to hidden and disabled. If I remove these qualities manually adding works, so the bug may be in the logic setting hidden and disabled. |
Same issue on my android phone (firefox 124.2.0, yomitan 24.4.7.0, ankidroid 2.17.6, ankiconnect mobile 1.12) |
I can't find the option for "Check for card duplicates" @pavliuk-ii, is that a Anki, Anki connect or Yomitan? |
@joseph-allen It's in the anki section of yomitan settings. |
Ah fantastic, it's an advanced setting in my settings but that's all I needed. And toggling that did make the add button return for me too |
Yeah, the biggest issue with disabling it is that when it's off you can't see which words you have mined before and which not and you end up with new duplicates every time |
Got the entire anki collection, yomitan settings, and yomitan dicts of someone with this issue. And I still can't replicate the issue. I can try to look into fixing it but no guarantees since I currently have no way to test. If anyone can figure out more specifically what is causing this that would be helpful. Or if anyone with this issue knows how to use git and can bisect and find the bad commit. |
Also @eloyrobillard since it's most likely #693 that is causing this if you have any insight here. |
Having the same problem, reset all settings on Yomitan but the green button still not showing up. |
@Kuuuube I'll look into this asap
that sounds plausible indeed |
Please try the latest pre release https://github.com/themoeway/yomitan/releases/tag/24.4.15.0 and see if you can replicate the bug there. If it is present, check the console and it should now display some log about what when wrong. |
You can get 24.4.15.0 for chrome in the store also. |
I have the same problem as op. Just tested 24.4.15.0 and sadly the green add button didn't came back. Kiwi Browser 124.0.6327.2 |
Encountered this issue on Kiwi Browser 8265119645, Yomitan 24.4.15.0. I've pasted the console logs below:
|
This may be related to the android ankiconnect + kiwi browser issues KamWithK/AnkiconnectAndroid#50 If anyone who is experiencing this issue on pc can get a log from the pre release that would be helpful. |
@eloyrobillard would it be possible to add a fallback using the previous "check for duplicates" ankiconnect api call if the current one fails? canAddNotesWithErrorDetail seems to be too new in some cases |
Error log from a user on PC, sent on tmw discord. errorlog.txt Appears to be an ankiconnect error caused by |
For any users experiencing this on pc make sure you have ankiconnect updated to the latest version. This may require deleting and reinstalling the ankiconnect addon. It appears that some older anki versions may not be receiving new ankiconnect updates so you may have to update anki as well. |
I can confirm that updating anki connect allows me to reenable the duplicate setting, same as before this release. However, it seems the new code does not disable adding duplicates at a deck level like it did previously. |
This duplicate button not being disabled and instead just turning into the new "add duplicate" button is intended. It may be a good idea to make a timeout to prevent issues with double clicking it. You can make another issue to request that or similar. |
yes, I'll do that |
I've prepared a fix in #827 |
* added Old Irish (SGA) * Merge Yomitan Updates (#1) * fix (#811) * Add scanOnTouchTap and improve touch scanning defaults (#791) * Add scanOnTouchTap * Update version to 30 * Cleanup if statement * log anki error when hiding button (#821) * Fix noteInfos not getting assigned (#819) * improve term sorting (#806) * improve term sorting * edge case * fix: add missing handlebar entry (#823) * fix: add missing handlebar entry * fix: add new handlebar to tests * Revert to using canAddNotes (#827) Fix #818 * Remove unused canAdd (#824) Co-authored-by: James Maa <[email protected]> * Fix duplicate check not working across note types (#830) * Fix duplicate check not working across note types * Add invalidNoteId --------- Co-authored-by: James Maa <[email protected]> --------- Co-authored-by: StefanVukovic99 <[email protected]> Co-authored-by: Kuuuube <[email protected]> Co-authored-by: m-edlund <[email protected]> Co-authored-by: Eloy Robillard <[email protected]> Co-authored-by: James Maa <[email protected]> Co-authored-by: James Maa <[email protected]> * Revert "Merge Yomitan Updates (#1)" This reverts commit 748dc22. * Fix Static Analysis Error * Fix eslint erro --------- Co-authored-by: martholomew <[email protected]> Co-authored-by: StefanVukovic99 <[email protected]> Co-authored-by: Kuuuube <[email protected]> Co-authored-by: m-edlund <[email protected]> Co-authored-by: Eloy Robillard <[email protected]> Co-authored-by: James Maa <[email protected]> Co-authored-by: James Maa <[email protected]>
Description
The extension was working fine and all of a sudden the green add to anki button disappeared. No idea what broke it. Anki connect is working.
Browser version
Firefox 124.0.2
Yomitan version
Yomitan 24.4.7.0
Anki Version 2.1.48
Exported settings file
yomitan-settings-2024-04-14-23-42-13.json
The text was updated successfully, but these errors were encountered: