Anki/ts/routes/card-info
OuOu2021 cee04bf20c
Apply gradient effect to forgetting curve (#3604)
* Add gradient color for forgetting curve

* Add desiredRetention prop for CardInfo

* update CONTRIBUTORS

* Formatting

* Tweak range of gradient

* Tweak: salmon -> tomato

* Get desired retention of the card from backend

* Add a reference line for desired retention

* Fix: Corrected the steel blue's height & Hide desired retention line when yMin is higher than desiredRetentionY

* Add y axis title

* Show desired retention in the tooltip

* I18n: improve translation and vertical text display

* Revert rotatation&writing-mode of vertical title

* Tweak font-size of y axis title

* Fix: delete old desired retention line when changing duration

* Update ftl/core/card-stats.ftl

---------

Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2024-12-09 17:44:05 +11:00
..
[cardId] Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
card-info-base.scss Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
CardInfo.svelte Apply gradient effect to forgetting curve (#3604) 2024-12-09 17:44:05 +11:00
CardInfoPlaceholder.svelte Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
CardStats.svelte Update to Svelte 5 (#3292) 2024-09-25 18:49:07 +10:00
forgetting-curve.ts Apply gradient effect to forgetting curve (#3604) 2024-12-09 17:44:05 +11:00
ForgettingCurve.svelte Apply gradient effect to forgetting curve (#3604) 2024-12-09 17:44:05 +11:00
index.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
Revlog.svelte Create a new kind of revlog entry for reschedule cards on change (#3508) 2024-10-21 16:47:01 +10:00