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

Skip to content

Conversation

@lukstbit
Copy link
Member

@lukstbit lukstbit commented Sep 12, 2025

Purpose / Description

From #19194, Anki 25.09 changed addNote() to also return the number of cards so we can now show this to the user.

Before/After:

Screenshot_20250913_085025Screenshot_20250912_171152

How Has This Been Tested?

Checked adding different number of cards when saving in NoteEditorFragment.

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

Anki 25.09 changed addNote() to also return the number of cards so we
can now show this to the user in the success snackbar.
@BrayanDSO BrayanDSO added the Needs Second Approval Has one approval, one more approval to merge label Sep 14, 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.

Nifty!

@mikehardy mikehardy added this pull request to the merge queue Nov 2, 2025
@mikehardy mikehardy added Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) and removed Needs Second Approval Has one approval, one more approval to merge labels Nov 2, 2025
Merged via the queue into ankidroid:main with commit 21d3df1 Nov 2, 2025
13 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 Nov 2, 2025
@github-actions github-actions bot added this to the 2.23 release milestone Nov 2, 2025
@lukstbit lukstbit deleted the feat_showCardsAddedCount branch November 2, 2025 15:56
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.

3 participants