Git Product home page Git Product logo

akavi1 / progressbartimeleft Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carlos1172/progressbartimeleft

0.0 0.0 0.0 158 KB

Hello, this is my first "add-on" (which isn't really by me since I just tweaked/merged Glutanimate's Progress Bar add-on with Carlos Duarte's More Decks Stats and Time Left add-on.). I basically got the progress bar to work on 2.1.49, as well as added statistics for cards left, percentage left, time (s) spent per card based on today's reviews, and

Python 100.00%

progressbartimeleft's Introduction

ProgressBarTimeLeft Add-on

This add-on combines the functionalities of Glutanimate's Progress Bar add-on and Carlos Duarte's More Decks Stats and Time Left add-on. It adds a progress bar to Anki, along with additional statistics such as cards left, percentage left, time spent per card based on today's reviews, and estimated time left based on your review speed.

Installation

To install the ProgressBarTimeLeft add-on, follow these steps:

  1. Double-click the Anki add-on file (anki-addon) included in this repository.
  2. Anki will prompt you to confirm the installation. Click "Yes" to proceed.
  3. Once the add-on is installed, restart Anki to activate it.

Alternatively, you can install the add-on directly from the AnkiWeb page.

Configuration

To customize the behavior of the ProgressBarTimeLeft add-on, you need to modify certain values in the reviewer_progress_bar.py file. Follow the steps below to make the necessary changes:

  1. Locate the reviewer_progress_bar.py file in your Anki add-ons directory.

    • The default location for Anki add-ons on different operating systems:
      • Windows: Documents\Anki\addons
      • macOS: ~/Library/Application Support/Anki2/addons
      • Linux: ~/.local/share/Anki2/addons
  2. Open the reviewer_progress_bar.py file in a text editor.

  3. Look for the following configuration options and modify their values as needed:

    • includeNew: Set to "True" to include new cards in the progress bar, leave empty ("") otherwise.
    • includeRev: Set to "True" to include review cards in the progress bar, leave empty ("") otherwise.
    • includeLrn: Set to "True" to include learning cards in the progress bar, leave empty ("") otherwise.
    • includeNewAfterRevs: Set to "True" to include new cards after reviews in the progress bar, leave empty ("") otherwise.
    • scrollingBarWhenEditing: Set to "True" to enable a scrolling progress bar when editing cards, leave empty ("") otherwise.
    • invertTF: Leave empty ("") to use the default behavior.
    • forceForward: Leave empty ("") to use the default behavior.
    • dockArea: Set the dock area for the progress bar (e.g., "Qt.TopDockWidgetArea").
    • qtxt: Set the text color of the progress bar (e.g., "aliceblue").
    • qbg: Set the background color of the progress bar (e.g., "rgba(0, 0, 0, 0)").
    • qfg: Set the foreground color of the progress bar (e.g., "#3399cc").
    • qbr: Set the border radius of the progress bar (e.g., "5").
    • maxWidth: Set the maximum width of the progress bar (e.g., "20").
    • orientationHV: Set the orientation of the progress bar (e.g., "Qt.Horizontal").
    • tz: Set the time zone offset based on your GMT (e.g., 8 for GMT+8; use a negative number for GMT-).
  4. Save the changes to the reviewer_progress_bar.py file.

  5. Restart Anki for the changes to take effect.

Changelog

For a detailed list of changes and updates to the ProgressBarTimeLeft add-on, please refer to the AnkiWeb page.

Acknowledgments

I would like to express my gratitude to Glutanimate and Carlos Duarte for their original add-ons, which served as the foundation for this project. Without their contributions, this add-on would not have been possible.

Feedback and Support

If you encounter any issues, have suggestions for improvements, or need assistance with the ProgressBarTimeLeft add-on, please feel free to create an issue on the GitHub repository or reach out to me through AnkiWeb.

License

This add-on is licensed under the GNU AGPLv3. Please review the license terms before using or modifying this add-on.

Thank you for using the ProgressBarTimeLeft add-on! I hope it enhances your Anki experience. If you find it useful, please consider leaving a rating or review on the AnkiWeb page.

progressbartimeleft's People

Contributors

carlos1172 avatar akavi1 avatar hazel-bunny avatar blumist avatar pc65049955 avatar

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.