yomidevs / yomitan

Pop-up dictionary browser extension. Successor to Yomichan.
https://yomitan.wiki
GNU General Public License v3.0
1.26k stars 99 forks source link

Support dynamically adding single-dictionary anki card in the popup #893

Open jamesmaa opened 6 months ago

jamesmaa commented 6 months ago

iiuc yomitan only has two buttons to add to Anki, one for expression and one for reading. This is quite confusing for non-Japanese learners who don't really have a differentiation between the two and could really get by with just one button.

Similarly there might be folks who want the flexibility to add to Anki different types of notes depending on the context. If we added an interface that allowed users to customize the number of "Add to Anki" buttons, this would improve the user experience

StefanVukovic99 commented 5 months ago

Can probably close #64 now that we have this one

jamesmaa commented 2 weeks ago

I'm thinking about tackling this task next. Here's how I'm thinking about approaching/implementing it:

In the anki settings modal, add a sub tab area underneath "Terms" with two prepopulated anki profiles "Expression" and "Reading" with a "+" button to add an extra profile.

On the bottom of each profile, add a "Delete anki profile" button.

Really bad mockup

Screenshot 2024-10-21 at 11 35 53 AM

On yomitan popup, load all the profiles and have one button for each profile.

This might require moving the duplicate checking option into each anki profile