GithubHelp home page GithubHelp logo

passfail2's Introduction

Pass/Fail 2

An addon for Anki that removes the wide spectrum of “Again”, “Easy”, “Good”, “Hard” buttons from your Anki reviews, instead choosing to offer you only two options: “Fail” and “Pass”, setting keybinds to Fail:1, Pass:2/3/4.

The goal of this addon is twofold:

  1. The wide spectrum of buttons introduces decision paralysis when reviewing. This is undesirable as when reviewing you should be thinking more about what you’re reviewing than what button to press.
  2. The “Hard” button in Anki has an effect the opposite of what you would desire – when you find something difficult, it increases the amount of time before you review it again, giving you more time to forget it. Pass/Fail 2 counters this design by simply removing the Hard button in the first place.

./images/passfail.png

Intended to be used with settings from “Low-Key” Low-Key Anki, but can also be used without.

As of v0.3.0, also supports changing button colors and text.

Install

From AnkiWeb

Pass/Fail 2 can be installed from AnkiWeb here.

Manually

Pass/Fail 2 can be installed manually by going to the Releases page and downloading the latest release’s passfail2-<version>.ankiaddon file, then navigating to Tools > Addons in Anki and clicking “Install From File”. You should then select the passfail2 anki addon file in your Downloads folder and restart Anki.

Please keep in mind that if the addon updates, manual installs will need to be updated as well.

Development

The simplest way to develop on this addon is to git clone this a fork of this repository into your Anki addons folder.

On Linux this folder is $HOME/.local/share/Anki2/addons21/ for Anki 2.1.x, so you would click the fork button in the top-right corner of the page then do the following.

$ cd ~/.local/share/Anki2/addons21/
$ git clone https://github.com/<your github username>/passfail2

Then you can proceed with modifying the addon within this folder. Note that you’ll need to restart Anki every time you make changes.

License

Pass/Fail 2 is licensed under the GNU GPL, version 3 or later. See ./LICENSE for more info.

passfail2's People

Contributors

lambdadog avatar rohanmodi-ca avatar

Stargazers

 avatar Simone Ragusa avatar Erik avatar  avatar Jason Rebelo avatar Aodaruma avatar Pedro Andrés Chaparro Quintero avatar  avatar Razouck avatar Matan Kushner avatar Kyle Dormer avatar  avatar Alberto Scomparin avatar John Garner avatar West avatar Savion avatar Wilhelm Behncke avatar Adam Langbert avatar  avatar Aki avatar

Watchers

 avatar  avatar  avatar

passfail2's Issues

is it safe to use this addon with others addons?

hello, sorry for the stupid question but I would like to know if this addon modifies the settings of other anki addons.
I am using the addon "Straight Reward" and unfortunately it does not have the option to hide the buttons. so I would like to use your addon combined with Straight Reward but I am afraid it will have a conflict..

Set up i18n

As #4 mentions, passfail2 currently has no support for languages other than English and no way of contributing said support. I'd like to see if it's possible to piggyback on Anki's own i18n somehow so support could be added.

Anki 23.10.1 error


Anki 23.10.1 (fac9e0ee) Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Linux-6.6.7-1-MANJARO-x86_64-with-glibc2.38
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-12-19 10:35:27
Add-ons possibly involved: ⁨PassFail 2 Remove the Easy and Hard buttons⁩

Caught exception:
Traceback (most recent call last):
  File "aqt.webview", line 628, in handler
  File "aqt.reviewer", line 652, in _onTypedAnswer
  File "aqt.reviewer", line 403, in _showAnswer
  File "aqt.reviewer", line 710, in _showEaseButtons
  File "decorator", line 232, in fun
  File "anki.hooks", line 89, in decorator_wrapper
  File "anki.hooks", line 86, in repl
  File "/home/user/Anki2/addons21/PassFail2 Remove the Easy and Hard buttons 876946123/__init__.py", line 47, in pfAnswerButtons
    buf += but(ease, label, shortcutDialog)
  File "/home/user/Anki2/addons21/PassFail2 Remove the Easy and Hard buttons 876946123/__init__.py", line 41, in but
    due = self._buttonTime(i)
TypeError: _buttonTime() missing 1 required positional argument: 'v3_labels'

Shorcuts doub

Thanks for the Add-on
What key should I press for the "Pass" shortcut?
What happens if I squeeze space bar?

Pass Button Links to "Hard" 2.1.54

Hi there, just wanted to let you know that in the new update of Anki, the Pass button links to "Hard" now instead of "Good". Here are a few images to show what I mean.


Double return in the code

Hello,
I was wondering why the code is like this:
if cnt == 2 or cnt == 3: return l + ((2, _("Pass"), _("Shortcut keys: 2, 3, 4")),) else: return l + ((3, _("Pass"), _("Shortcut keys: 2, 3, 4")),)

Is there any need for this "if" and "else" since they return the same?

v3 Scheduler causes infinite session when using Custom Study

I usually do custom study > Forgotten cards for the last x day

With pass-fail I noticed that even if you click the default 1 or 2, well even up to 3 and 4 which is supposedly hidden, the custom study deck never gets finished, it is just stuck as 'learning' or the orange number thingy.

I tried switching between v2 or v3, doesn't seem to be problem, but when I went back to 2.1.49 the behavior also went back to normal.

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.