ankidroid / ankidroid/Anki-Android

Shortcut to the currently open deck should not close the stack

オープン
#17,772 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
Accepted Priority-Low
主要言語
Kotlin
スター
11.8k
フォーク
2.9k
平均マージ
2日 3時間
マージ済み PR(30日)
171

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。