anki/ts/deck-options
Vova Selin 2df3698e8c
Minor changes to graphs (#1566)
* Add thousands comma separator for card counts graph

* Fix Answer Buttons graph's tooltip

Changes to the "times pressed" heading

* Shows the percent of that button out of all the presses

* Comma separates total on thousands

* Update CONTRIBUTERS

* Wider spacing for graph tables

* Switch to locale-based stats numbers

* Update CONTRIBUTORS 

Wrong email?

* Fix counts graph on narrow devices

Graph and table now align in a column when the device's screen is narrow. Columns widths are  bounded to not get too wide

* Rename toLocaleXXX functions

* toLocaleNumber -> localizedNumber
 *  toLocaleString -> localizedDate

Also cleans up sketchy "card counts" table formatting

* Localize more numbers

Uses locale-based rounding for more numbers now

* Localize graph axis ticks

* Fix future-due graph tooltip

* avoid div by zero (dae)

Ignoring NaN in localizedNumber() could potentially mask a mistake
in the future - better to explicitly handle the invalid case at the
source instead.
2021-12-29 15:04:15 +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 Minor changes to graphs (#1566) 2021-12-29 15:04:15 +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