Anki/ts/routes/card-info
llama b726e28229
Remove use of window.location.href in CardInfoDialog (#3621)
* Replace window.location in CardInfoDialog with load_sveltekit_page

* Fix format

* Fix ForgettingCurve's reactivity

* Props' default args aren't reactive

* Add global _updateCardId fn to card-info

* Use _updateCardId to reactively update card-info

* Fix format

* Fix type

* Use dummy form instead of window global for client-side nav

* Fallback to window.location in case form hasn't been rendered

* Use window.postMessage instead of dummy <form>
2024-12-14 22:45:54 +11:00
..
[cardId] Remove use of window.location.href in CardInfoDialog (#3621) 2024-12-14 22:45:54 +11:00
card-info-base.scss Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
CardInfo.svelte Remove use of window.location.href in CardInfoDialog (#3621) 2024-12-14 22:45:54 +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 Remove use of window.location.href in CardInfoDialog (#3621) 2024-12-14 22:45:54 +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