fix: improve Study by card state or tag dialog#20615
fix: improve Study by card state or tag dialog#20615Hammadtanveer wants to merge 3 commits intoankidroid:mainfrom
Conversation
|
Important Maintainers: This PR contains Strings changes
|
6ca1fe4 to
bd3cde4
Compare
|
Hi, a quick "visual review" from a non-dev:
|
|
Hi @Hammadtanveer 👋 Totally optional, just sharing 👍 |
|
Hi @ZornHadNoChoice, I’ve made all the updates please review when you have time. |
There are other things that I can't verify visually. |
|
Hi @ZornHadNoChoice , thanks for reviewing. I've updated the title to focus on just the "Study by card state or tag" dialog. About the selection the "100" is a hint that clears when you start typing . Nothing extra needed there. Let me know if I missed something. Thanks! |
| <string name="sentence_all_fields">All fields</string> | ||
| <string name="sentence_check_media_delete_unused">Delete unused</string> | ||
| <string name="sentence_choose_tags">Choose tags</string> | ||
| <string name="sentence_study_by_card_state_or_tag">Study by card state or tag</string> |
There was a problem hiding this comment.
This isn't necessary. the original string is in sentence case
| android:id="@+id/details_edit_text_2" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content" | ||
| android:layout_marginBottom="16dp" |
There was a problem hiding this comment.
Why was the margin removed?
| // skip tag selection if there's no tags to select | ||
| if (nids.isEmpty()) { | ||
| launchCustomStudy(contextMenuOption, n) | ||
| binding.warningText.visibility = android.view.View.VISIBLE |
There was a problem hiding this comment.
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content"> | ||
| android:layout_height="wrap_content" | ||
| style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> |
|
I'm closing this due to quality concerns, these issues should have been picked up during your testing. |
Just so that you know, one of the points in the attached issue is to change the selection, and it has a link to a PR that does that. |

Purpose / Description
Improves the UI of Custom Study dialogs (Study by card state/tag and Review Ahead).
Removes extra text and makes the input clearer and more consistent.
Fixes
Approach
Note: Two items from the issue are not addressed in this PR:
but no cards match is a backend level issue
How Has This Been Tested?
Tested on physical device (Android 14):
Checklist