Anki/ts/routes/deck-options
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
..
[deckId] Deck options without bridge (#3571) 2025-01-08 21:30:30 +11:00
Addons.svelte Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
AdvancedOptions.svelte Add percentage to FSRS spinner (#3679) 2025-01-25 18:17:02 +11:00
AudioOptions.svelte Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
AutoAdvance.svelte Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
BuryOptions.svelte Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
CardStateCustomizer.svelte Update to Svelte 5 (#3292) 2024-09-25 18:49:07 +10:00
choices.ts Add descending retrievability (#3559) 2024-11-08 22:53:13 +10:00
ConfigSelector.svelte Clean up #3167 (#3186) 2024-05-01 20:08:19 +10:00
DailyLimits.svelte Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
DateInput.svelte Move 'ignore reviews before' to advanced (#3381) 2024-08-29 19:11:56 +07:00
deck-options-base.scss Fix deck config input's background color regression (#3258) 2024-06-28 18:52:51 +07:00
DeckOptionsPage.svelte Feat/Easy Days (#3442) 2024-10-11 19:47:44 +10:00
DisplayOrder.svelte Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
EasyDays.svelte Fix EasyDays not applying defaults correctly in deck options (#3691) 2025-01-09 21:32:16 +11:00
FsrsOptions.svelte Add percentage to FSRS spinner (#3679) 2025-01-25 18:17:02 +11:00
FsrsOptionsOuter.svelte Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
GlobalLabel.svelte Svg icon (#3135) 2024-04-24 02:37:31 +01:00
HtmlAddon.svelte Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
index.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
LapseOptions.svelte Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
lib.test.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
lib.ts Fix "discard changes" appearing on deck options (#3689) 2025-01-07 17:41:52 +03:00
NewOptions.svelte Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
ParamsInput.svelte Rename remaining 'weights' references to 'params' 2024-10-21 18:13:23 +10:00
ParamsInputRow.svelte Rename remaining 'weights' references to 'params' 2024-10-21 18:13:23 +10:00
ParamsSearchRow.svelte Rename remaining 'weights' references to 'params' 2024-10-21 18:13:23 +10:00
SaveButton.svelte Rename remaining 'weights' references to 'params' 2024-10-21 18:13:23 +10:00
SpinBoxFloatRow.svelte Add percentage to FSRS spinner (#3679) 2025-01-25 18:17:02 +11:00
SpinBoxRow.svelte Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
steps.test.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
steps.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
StepsInput.svelte Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
StepsInputRow.svelte Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
TabbedValue.svelte Fix deck options button twitching on hover (#3623) 2024-12-09 16:12:36 +11:00
TextInputModal.svelte Update to Svelte 5 (#3292) 2024-09-25 18:49:07 +10:00
TimerOptions.svelte Reduce use of type casting (#3723) 2025-01-12 20:05:05 +11:00
Warning.svelte Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00