Coder Social home page Coder Social logo

anki-clearer-empty-card's Introduction

Field name in card deletion message

Rationale

Let's say you use the "empty cards" action. It shows a messages of the form:

Empty card numbers: 3,4 Fields: [b] / Voiced
Bilabial
Plosive / [sound:e6fa97a9bb605e35c1a6694a19f83ef3.mp3]

are not really usefull. Because I've no clue what card number 3 is. Worst, I can't even go to check, because I can't do anything until anki knows whether I want to delete those cards or not.

With this add-on, you'll instead get the message:

Empty card numbers: Example, Test, Fields: [b] / Voiced
Bilabial
Plosive / [sound:e6fa97a9bb605e35c1a6694a19f83ef3.mp3]

So you know that cards Example and Test will be deleted.

Warning

The deletion process is exactly the same as before, only the message is changed. So there should be no problem.

Internal

It changes method anki._Collection.emptyCardReport and don't call the last version of this method

Advice

Maybe think about using Delete empty new cards, so that you don't delete a card you already saw by accident

Version 2.0

None

Links, licence and credits

Key Value
Copyright Arthur Milchior [email protected]
Based on Anki code by Damien Elmes [email protected]
License GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
Source in https://github.com/Arthur-Milchior/anki-clearer-empty-card
Addon number 25425599

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.