Anki/ts/lib
Arthur Milchior 6c37d5fc70
Add percentage to FSRS spinner (#3679)
* Add percentage to FSRS spinner

This commit add a percentage option in SpinBox and SpinBoxFloatRow, set to False
by default.

If it's true, a percent symbol is added at the end of the line before
the increase/decrease button.

While the value is represented as a percentage without decimal places,
the internal representation is not changed. Which mean that a
multiplier must used to compute the string value, indicate to the
input field the min, max and step, and when updating the result.

* Remove unsightly percentage sign, and update historical retention too

https://github.com/ankitects/anki/pull/3679#issuecomment-2579636981

---------

Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-01-25 18:17:02 +11:00
..
components Add percentage to FSRS spinner (#3679) 2025-01-25 18:17:02 +11:00
domlib Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
generated alertOnError should default to true 2024-04-17 20:13:37 +10:00
sass Update dprint (#3376) 2024-08-22 18:24:56 +07:00
sveltelib Fix editor width changing as tag completions shown (#3574) 2024-11-18 01:11:21 +10:00
tag-editor Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
tslib Tweak how the True Retention stats table displays numbers (#3677) 2025-01-04 23:13:32 +03:00