anki/ts/deck-options
RumovZ 80ed94ed08
Cap steps (#1548)
* Fix steps being mistaken for seconds

* Cap steps at `u32::max` seconds

* Fix overflow of steps in Rust

* Prevent overflow of `IntervalKind`

* Prevent overflow in `revlod/mod.rs`

Also replace some `as` with `from` and `try_from` as is recommended to
highlight potential issues.

* Ensure v2 doesn't store overflowing revlog ivls

* Lower steps cap in deck options

Whereas large card intervals are converted to days, revlog intervals use
i32s to store large numbers of seconds.

* Format
2021-12-15 18:46:26 +10:00
..
Addons.svelte More uniform file naming 2021-07-01 12:24:16 +02:00
AdvancedOptions.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
AudioOptions.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
BUILD.bazel run buildifier/buildozer to tidy up BUILD files 2021-12-14 09:18:24 +10:00
BuryOptions.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
CardStateCustomizer.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
CheckBox.svelte More uniform file naming 2021-07-01 12:24:16 +02:00
ConfigSelector.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
DailyLimits.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
deck-options-base.scss Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
deck-options.html add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
DeckOptionsPage.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
DisplayOrder.svelte Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
EnumSelector.svelte Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
EnumSelectorRow.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
HtmlAddon.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
icons.ts update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
index.ts Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
Label.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
LapseOptions.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
lib.test.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
lib.ts Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
NewOptions.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
RevertButton.svelte Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
SaveButton.svelte Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
SpinBox.svelte Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
SpinBoxFloat.svelte Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
SpinBoxFloatRow.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
SpinBoxRow.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
steps.test.ts More uniform file naming 2021-07-01 12:24:16 +02:00
steps.ts Cap steps (#1548) 2021-12-15 18:46:26 +10:00
StepsInput.svelte Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
StepsInputRow.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
strings.ts Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
Switch.svelte Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
SwitchRow.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
TextInputModal.svelte Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
TimerOptions.svelte Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
TitledContainer.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
TooltipLabel.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
tsconfig.json update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
Warning.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00