Show Total Lesson Count - WaniKani

Changes the count of lessons on the Today's Lessons tile to show the total number of available lessons in addition to or in place of the daily number you can set

Voici les versions de ce script où le code a été modifié. Voir toutes les versions.

  • v0.5.10 14/08/2024

    One more typo fix

  • v0.5.9 14/08/2024

    Fixes a typo in a variable and tries to improve handling of turbo events/navigation

  • v0.5.8 12/08/2024

    Update TurboEvents library dependency

  • v0.5.7 10/08/2024

    Fix error for non-local instances of the TurboEvents library

  • v0.5.6 10/08/2024

    Address potential (but very very small chance of) infinite recursion

  • v0.5.5 10/08/2024

    More robust handling of turbo events.

  • v0.5.4 07/08/2024

    Add a way for the script to run at least once without the turbo events.

  • v0.5.3 07/08/2024

    Bug fixes

  • v0.5.2 07/08/2024

    Fixes for global state management.

  • v0.5.1 07/08/2024

    Fix saving of settings

  • v0.5.0 07/08/2024

    More logging improvements, navigation execution improvements, deprecation of the preferred daily amount settings

  • v0.4.11 07/08/2024
  • v0.4.10 06/08/2024

    Dependency update + minor improvements

  • v0.4.9 06/08/2024

    Update TurboEvents library dependency.

  • v0.4.8 05/08/2024

    Update library dependency to hopefully fix an issue with intermittent failure to register the turbo event listeners. Also further improves the debug logging.

  • v0.4.7 04/08/2024

    More improvements for logging

  • v0.4.6 04/08/2024

    Improvements to the debug logging (accounting for when script fails to reach main())

  • v0.4.5 04/08/2024

    Added debugging setting and debug logging. On by default as it outputs with console.debug() not console.log()

  • v0.4.4 03/08/2024

    Update hover tip text in settings and update support url

  • v0.4.3 03/08/2024

    Update maximum preferred daily amount to match Wanikani's

  • v0.4.2 03/08/2024

    Explicitly await load_script

  • v0.4.1 03/08/2024

    Fixed dependency URL.

  • v0.4.0 01/08/2024

    Updated script to work with the finished transition to Turbo on WaniKani. Makes use of a library script that simplifies some aspects of working with the Turbo events. This method of waiting for the turbo:frame-load event should also make the script work with the Cockpit script or any other script that moves the lesson start tile.

  • v0.3.4 23/02/2024

    Fix @match

  • v0.3.3 07/02/2024

    Added User settings:
    * User can now choose to display only the total or today's count / total
    * User can now set their own preferred daily lesson amount for display

    Add some initial handling for the navbar button on the dashboard only (for now)

  • v0.2.1 07/02/2024

    Hides "Today's" subtitle on lesson tile
    Small change to description

  • v0.2.0 06/02/2024

    Error prevention + displays today's count vs total count

  • v0.1.1 06/02/2024