ankidroid / ankidroid/Anki-Android

Shortcut to the currently open deck should not close the stack

Ouverte
#17,772 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Accepted Priority-Low
Langage dominant
Kotlin
Étoiles
11.8k
Forks
2.9k
Merge moyen
2 j 3 h
PR mergées (30 j)
171

Description

How to reproduce:
* Have a deck D with many cards to review today
* create a shortcut to deck D or a widget that shows the content of D
* Open the deck D through the shortcut
* on a card c1, tap "again" to ensure you have a card in learning. If this card next review is in m minutes, wait m minutes
* while a different card c2 is shown in the reviewer, reduce ankidroid
* (In my use case, I've a doubt about c2 content, and I would go search online whether c2 is accurate, whether there is anything to change. The main point being that I care very much about c2, but I'm not in ankidroid anymore)
* open the deck D through the shortcut

Expected:
* I'll still be on c2. I'm reusing the same icon, when AnkiDroid was last opened we were in the deck D. As a user, I don't see any reason why we should change what's displayed on the application. I would expect the app behaves the same way whether I press "AnkiDroid" or "D"

Actual:
* A card in learning is shown, probably c1. I need to review all cards in learning before I go to c2 again

I would even argue that, if I were editing c2, I'd love the editor to still be open. As long as the editor is on top of the reviewer for D, I think it's best to keep it open. Same with any other view added on top of the reviewer reviewing deck D, since it then suffices to tap back to go back to the reviewer.

I must start that I've no idea whether this bug is fixable in a way that is not absurdly complex. Because that would mean the IntentHandler would need to check whether the reviewer is opened, and which deck is currently selected and then re-open the already existing stack.

Before starting to work on this issue, please wait for another maintainer to confirm whether this feature is acceptable or not

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.