Commit graph

89 commits

Author SHA1 Message Date
Henrik Giesel
6c9de074b6 Fix tooltip regression 2021-06-21 17:02:48 +02:00
Henrik Giesel
13accfa840 Have decimal keyboard for SpinBoxFloat 2021-06-21 17:02:48 +02:00
Henrik Giesel
77cfebcccc Have numeric keyboard for SpinBox 2021-06-21 17:02:48 +02:00
Henrik Giesel
99caaf8d71 Switch Revert button and input element position 2021-06-21 17:02:48 +02:00
Henrik Giesel
e4e6dd3a39 Implement WithTooltip 2021-06-21 17:02:48 +02:00
Henrik Giesel
74ebf7e9ad Wrap label and HelpPopup into span
Avoids HelpPopup in a differnt column upon label wrapping
2021-06-21 17:02:48 +02:00
Henrik Giesel
9acf6af355 Make revert button horizontal padding smaller 2021-06-21 17:02:48 +02:00
Henrik Giesel
18f33e117d Have colors inherit for badges 2021-06-21 17:02:48 +02:00
Henrik Giesel
73e66d6dd0 Add down-arrow SASS function 2021-06-21 17:02:48 +02:00
Henrik Giesel
6462643328 Use custom down arrow for both SelectButton and EnumSelector 2021-06-21 17:02:48 +02:00
Henrik Giesel
745f940890 Put Col types into col.ts 2021-06-21 17:02:48 +02:00
Henrik Giesel
bf7efa19c1 Fix formatting 2021-06-21 17:02:48 +02:00
Henrik Giesel
191684c1b0 Rename SectionItem to just Item and use across option sections 2021-06-21 17:02:46 +02:00
Henrik Giesel
d54b21db7a Import API from all option sections 2021-06-21 17:01:45 +02:00
Henrik Giesel
0e0bdccba7 Add Container.svelte 2021-06-21 17:01:45 +02:00
Henrik Giesel
695fa09619 Remove SCSS from ConfigEditor 2021-06-21 17:01:45 +02:00
Henrik Giesel
b684101d9b Implement CheckBoxRow and SpinBoxFloatRow 2021-06-21 17:01:45 +02:00
Henrik Giesel
019d41d01d Implement EnumSelectorRow and StepsInputRow 2021-06-21 17:01:45 +02:00
Henrik Giesel
d43d7b10e0 Implement SpinBoxRow 2021-06-21 17:01:45 +02:00
Henrik Giesel
cf89d89dc2 Add breakpoint for Bury EnumSelector 2021-06-21 17:01:44 +02:00
Henrik Giesel
9e3d955502 Use Row and Col in favor of ConfigEntry 2021-06-21 17:01:44 +02:00
Henrik Giesel
7d0a02fe56 Remove ConfigEntryFull 2021-06-21 17:01:44 +02:00
Henrik Giesel
4e11cade23 Factor RevertButton out of components 2021-06-21 17:01:44 +02:00
Henrik Giesel
a07dc2bd7a Change margin and gutters off rows 2021-06-21 17:01:44 +02:00
Henrik Giesel
d8e285ba69 Move the remaining Options to new ConfigEntry layout 2021-06-21 17:01:44 +02:00
Henrik Giesel
a89e048259 Update DailyLimits and NewOptions to new format 2021-06-21 17:01:44 +02:00
Henrik Giesel
8bab61c62c Wrap input and revert button into one col 2021-06-21 17:01:44 +02:00
Henrik Giesel
b02d14dcbd Introduce TitledContainer 2021-06-21 17:01:44 +02:00
Henrik Giesel
26c4753c38 Allow for gutters between rows 2021-06-21 17:01:44 +02:00
Henrik Giesel
af3f65188f Vertically align text + Remove bottom margin from alerts 2021-06-21 17:01:44 +02:00
Henrik Giesel
2ddc22f6c2 Turn icons into Bootstrap badges in deckoptions 2021-06-21 17:01:44 +02:00
Henrik Giesel
588faf5f50 Start using Bootstrap grid for deckoptions 2021-06-21 17:01:44 +02:00
Henrik Giesel
cb14011410 Use Bootstrap containers instead of CSS in base for deckoptions 2021-06-21 17:01:44 +02:00
Henrik Giesel
43b5ba42ba Add container scss to deckoptions-base 2021-06-21 17:01:44 +02:00
Henrik Giesel
9def4075b5 Make API argument required in ConfigEditor 2021-06-21 17:01:44 +02:00
Henrik Giesel
d2360869b3 Add Section and SectionItem for the deckoptions 2021-06-21 17:01:44 +02:00
Henrik Giesel
0061d61db5 Generalize ButtonToolbarItem to SectionItem 2021-06-21 17:01:42 +02:00
Damien Elmes
d89c538c48 in/out -> request/response
The saved characters weren't worth the increased difficulty when
reading, and the fact that we were deviating from protobuf norms.
2021-06-20 15:49:20 +10:00
Damien Elmes
95151f5025 add LIFO sorting options for new cards 2021-06-08 14:01:46 +10:00
Damien Elmes
e03cb50915 tooltip styling fix
Thanks Matthias!

https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/88
2021-06-04 15:27:27 +10:00
Damien Elmes
170a177c60 ensure changes to current field are saved before saving deck opts
https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/70
2021-06-01 15:54:07 +10:00
Damien Elmes
9a76565101 add options to sort reviews by deck
https://forums.ankiweb.net/t/is-studying-subdeck-by-subdeck-broken-in-2-1-44-mac/10458/2
2021-06-01 13:22:39 +10:00
Damien Elmes
7108d8615b Merge pull request #1202 from hgiesel/nowrapdeckoptionstoolbar
Uniformly use properties to Button{Toolbar,Group} for setting button properties
2021-05-29 10:39:11 +10:00
Damien Elmes
098acaf665 round to whole seconds
the steps are serialized as f32, and the resulting imprecision was
leading to decimal values

closes #1203
2021-05-28 19:34:25 +10:00
Henrik Giesel
054f96b726 Uniformly use variables to Button{Toolbar,Group} for setting button properties
Instead of using WithTheming around ButtonToolbar/ButtonGroup
2021-05-27 17:13:36 +02:00
Damien Elmes
4a575dbe0a hook up some missing translations in deck options screen 2021-05-26 14:41:18 +10:00
Damien Elmes
6a823e53a1 add option to clone current config 2021-05-26 13:20:24 +10:00
Damien Elmes
3489257f41 update ts deps
- prettier's formatting has changed, so files needed to be reformatted
- dart is spitting out deprecation warnings like:

254 │   2: $spacer / 2,
    │      ^^^^^^^^^^^
    ╵
    bazel-out/darwin-fastbuild/bin/ts/sass/bootstrap/_variables.scss 254:6  @import
    ts/sass/button_mixins.scss 2:9                                          @use
    ts/components/ColorPicker.svelte 2:5                                    root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($grid-gutter-width, 2)
2021-05-26 09:37:40 +10:00
Henrik Giesel
a819fa6abe Satisfy svelte_check 2021-05-26 08:46:12 +10:00
Henrik Giesel
e21947956f Fix TextInputModal preset value 2021-05-26 08:46:12 +10:00