Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

FR: JS API function to add a specific tag

Open thiswillbeyourgithub opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. I saw that the JS API only supports opening the tag dialog but not directly adding a tag, but that's what I need.

Describe the solution you'd like API function so that 1 click in the GUI adds a specific tag instantly to my note.

Describe alternatives you've considered I often have many notes to tag, so I just end up flagging them or marking them and then going to my computer to see which one I would like to tag how.

Additional context I have python scripts that run on my computer and do stuff to my cards depending on some tags. So quickly adding tags is vital for me.

I am willing to donate $15 instantly to the project if someone accepts to take a look at it. This feature would really be a life saver!

Thank you very much.

Also pinging @krmanik because he implemented the function to open the tag dialog

thiswillbeyourgithub avatar Apr 18 '24 18:04 thiswillbeyourgithub

This can be implemented.

krmanik avatar Apr 19 '24 04:04 krmanik

Great thank you!

I just did the donation (actually a bit more than $15)!

thiswillbeyourgithub avatar Apr 19 '24 12:04 thiswillbeyourgithub

Much appreciated!

I'll leave a good first issue tag here, as it shouldn't be a difficult change, please re-ping if/when things haven't moved to your liking

david-allison avatar Apr 19 '24 13:04 david-allison

@thiswillbeyourgithub this feature has been created, and will be shipped out with ver 2.19.

Haz3-jolt avatar May 25 '24 19:05 Haz3-jolt