anki/ts/deck-options
Damien Elmes 84935bee34 Fix wrong deck options being selected by default
We were sorting in getConfigList() without updating selectedIdx. For some
reason, this worked in the past, but something about #2084 stopped it
from working correctly. Resolved by sorting+updating selectedIdx after
adds/renames, instead of in getConfigList(). This required changes to
the unit tests, as the indexes are different now.

Fixes https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/58
2022-11-03 12:50:16 +10:00
..
Addons.svelte Remove untranslated 'see old deck options' notice 2022-11-03 12:05:19 +10:00
AdvancedOptions.svelte Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
AudioOptions.svelte Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
BUILD.bazel Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
BuryOptions.svelte Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
CardStateCustomizer.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
ConfigInput.svelte Fix various RTL issues (#2172) 2022-11-02 21:47:07 +10:00
ConfigSelector.svelte Redesign deck options inputs (#2082) 2022-09-27 12:16:45 +10:00
DailyLimits.svelte Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
deck-options-base.scss Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
DeckOptionsPage.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
DisplayOrder.svelte Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
EnumSelector.svelte Redesign deck options inputs (#2082) 2022-09-27 12:16:45 +10:00
EnumSelectorRow.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
HelpModal.svelte Use badge to link manual chapter (#2143) 2022-10-26 11:32:18 +10:00
HelpSection.svelte Fix short deck options help texts appearing next to the title (#2169) 2022-11-02 20:43:55 +10:00
HtmlAddon.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
icons.ts Use badge to link manual chapter (#2143) 2022-10-26 11:32:18 +10:00
index.ts Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
Label.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
LapseOptions.svelte Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
lib.test.ts Fix wrong deck options being selected by default 2022-11-03 12:50:16 +10:00
lib.ts Fix wrong deck options being selected by default 2022-11-03 12:50:16 +10:00
NewOptions.svelte Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
RevertButton.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
SaveButton.svelte Fix various RTL issues (#2172) 2022-11-02 21:47:07 +10:00
SettingTitle.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
SpinBoxFloatRow.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
SpinBoxRow.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
steps.test.ts More uniform file naming 2021-07-01 12:24:16 +02:00
steps.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
StepsInput.svelte Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
StepsInputRow.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
strings.ts Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
SwitchRow.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
TabbedValue.svelte Fix various RTL issues (#2172) 2022-11-02 21:47:07 +10:00
TextInputModal.svelte Introduce new color palette using Sass maps (#2016) 2022-09-16 14:11:18 +10:00
TimerOptions.svelte Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
tsconfig.json update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
types.ts Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
Warning.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00