ankidroid / ankidroid/Anki-Android

Shortcut to the currently open deck should not close the stack

Đang mở
#17,772 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Accepted Priority-Low
Ngôn ngữ chính
Kotlin
Star
11.8k
Fork
2.9k
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
171

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.