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

Add option to bury/unbury cards in browser

Open user1823 opened this issue 2 years ago • 7 comments

Please add the ability to bury/unbury cards in the card browser.

The desktop version of Anki added a similar feature some time back: https://github.com/ankitects/anki/issues/2295

user1823 avatar Jul 27 '23 14:07 user1823

I spent some time looking into this today and think i should be able to get a PR up for it if it's something the main devs would like to add.

chickendude avatar Jul 27 '23 21:07 chickendude

Just an update, i got the bury/unbury feature working from the card browser (in my fork), though i've noticed the undo functionality isn't exactly what you'd expect, "undo" basically re-buries or unburies the cards. If you bury and unbury a suspended card, for example, it will no longer be suspended. I think this is the same behavior as the existing suspend function, though.

chickendude avatar Jul 31 '23 18:07 chickendude

If you bury and unbury a suspended card, for example, it will no longer be suspended.

On the Desktop version of Anki, it is not possible to bury a suspended card. I think that we should try to replicate the desktop approach as closely as possible.

Probably, it would be better to use the new backend to implement this after https://github.com/ankidroid/Anki-Android/pull/14171 is merged. The corresponding option was added to Anki Desktop in 2.1.65 (https://github.com/ankitects/anki/commit/77bba533ea34708c6c9a67cadca6be912f7361c5).

user1823 avatar Aug 04 '23 16:08 user1823

The backend update PR has been merged (2 months ago). I think that the requested feature should be easier to implement now.

user1823 avatar Oct 28 '23 08:10 user1823

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

github-actions[bot] avatar Jan 26 '24 09:01 github-actions[bot]

Still waiting for implementation.

user1823 avatar Jan 26 '24 09:01 user1823

Relevant:

https://github.com/ankitects/anki/blob/074becc0cee1e9ae59be701ad6c26787f74b4594/qt/aqt/browser/browser.py#L896-L902

david-allison avatar Apr 29 '24 16:04 david-allison