Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@david-allison
Copy link
Member

@david-allison david-allison commented Jul 18, 2025

Purpose / Description

Allows a user to grade a card without the use of the study screen

Fixes

Approach

Converted/copied

How Has This Been Tested?

API 34 Tablet Emulator, manually

Card Info is updated
Different buttons post different grades
Undo works

Screenshot 2025-07-18 at 15 18 19 Screenshot 2025-07-18 at 15 18 46 Screenshot 2025-07-18 at 15 43 10

Checklist

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

Allows a user to grade a card without the use of
 the study screen

Issue 18604
context: AppCompatActivity,
cardIds: List<CardId>,
) {
if (!cardIds.any()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can use cardIds.isEmpty()

@ShridharGoel ShridharGoel added Needs Second Approval Has one approval, one more approval to merge and removed Needs Review labels Jul 20, 2025
Copy link
Member

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feature completeness +1

@mikehardy mikehardy added Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) Anki Ecosystem Compatibility and removed Needs Second Approval Has one approval, one more approval to merge labels Jul 20, 2025
@mikehardy mikehardy added this pull request to the merge queue Jul 20, 2025
Merged via the queue into ankidroid:main with commit 990fb2f Jul 20, 2025
10 checks passed
@github-actions github-actions bot removed the Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) label Jul 20, 2025
@github-actions github-actions bot added this to the 2.22 release milestone Jul 20, 2025
@david-allison david-allison deleted the grade-now branch July 20, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add 'Grade Now' to Browser

3 participants