Damien Elmes
968bd1b27a
specific encoding of strings.json
...
https://forums.ankiweb.net/t/win10-build-error-unicodedecodeerror-gbk-codec-cant-decode-byte-0x91/10714
2021-06-11 20:12:38 +10:00
Damien Elmes
18f8e3743b
Merge pull request #1225 from kelciour/segoe-ui-font-fix
...
Fix Segoe UI got replaced with Arial on Windows
2021-06-10 22:29:06 +10:00
Damien Elmes
61e86cc29d
new change notetype implementation for the frontend
...
- changes can now be undone
- the same field can now be mapped to multiple target fields, allowing
fields to be cloned
- the old Qt dialog has been removed
- the old col.models.change() API calls the new code, to avoid
breaking existing consumers. It requires the field map to always
be passed in, but that appears to have been the common case.
- closes #1175
2021-06-10 22:19:24 +10:00
kelciour
44cf5153b1
fix default font family
...
Probably a regression introduced with fdd162a7b9
2021-06-10 12:07:52 +03:00
Damien Elmes
410660990e
add LIFO sorting options for new cards
2021-06-08 14:01:46 +10:00
Damien Elmes
dbfe12edbf
use different toolbar size on Mac
...
see discussion on 984ab9b6fe
2021-06-05 11:28:36 +10:00
Damien Elmes
f348ec7678
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
984ab9b6fe
try toolbar size of 1.85rem
...
https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/97
2021-06-04 15:11:34 +10:00
Damien Elmes
3ced63d974
make _vars.scss public
2021-06-04 14:39:53 +10:00
Damien Elmes
578b1b0552
Merge pull request #1213 from RumovZ/new-flags
...
Add pink, turquoise and purple flags
2021-06-02 11:22:26 +10:00
RumovZ
daa696e703
Tweak flag colors
2021-06-01 18:14:54 +02:00
Damien Elmes
dd1cb0112a
Merge pull request #1211 from hgiesel/bettercolor
...
Implement new text color / highlight color buttons
2021-06-01 17:55:57 +10:00
Damien Elmes
6eac76bc8a
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
562787bce1
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
RumovZ
c97c6c6e98
Add violet, turquoise and purple flags
2021-05-31 12:03:30 +02:00
Henrik Giesel
06545d98a4
Change default icon size of IconButtons
2021-05-31 00:31:10 +02:00
Henrik Giesel
94ebeb68d7
Remove rainbow SCSS
2021-05-31 00:20:41 +02:00
Henrik Giesel
aaa210d662
Make ColorPicker buttons halfwidth
2021-05-31 00:17:06 +02:00
Henrik Giesel
8e81a79fbf
Implement new ColorPicker
2021-05-30 22:58:40 +02:00
Henrik Giesel
ad1a72495f
Implement WithColorHelper.svelte
2021-05-30 21:44:05 +02:00
Henrik Giesel
54609f408a
Implement new way to way to display icons in IconButtons
...
* allows for multiple icons overlay
* allows to make individual icons smaller/bigger
2021-05-30 21:05:16 +02:00
Henrik Giesel
09af4d5ecd
Add new color icons
2021-05-30 20:09:09 +02:00
Damien Elmes
bb2026f3f8
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
Henrik Giesel
91b16a67d6
Add overflow-x: hidden for SelectButton
2021-05-28 21:33:34 +02:00
Damien Elmes
4c2a598be4
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
Damien Elmes
dcb7dc41de
allow running test with 'bazel run jest'
2021-05-28 19:24:58 +10:00
Henrik Giesel
358794c911
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
7c5e974ae5
hook up some missing translations in deck options screen
2021-05-26 14:41:18 +10:00
Damien Elmes
5b5b654c33
add option to clone current config
2021-05-26 13:20:24 +10:00
Damien Elmes
1d2e89d206
roll back sass for now to quieten deprecation warnings
...
https://github.com/twbs/bootstrap/issues/34051
2021-05-26 10:20:34 +10:00
Damien Elmes
0026506543
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
Damien Elmes
cdc40c1ce4
update rules_nodejs
2021-05-26 09:12:23 +10:00
Henrik Giesel
5761d19c64
Satisfy svelte_check
2021-05-26 08:46:12 +10:00
Henrik Giesel
c074ca9159
Fix TextInputModal preset value
2021-05-26 08:46:12 +10:00
Henrik Giesel
5cc6fc7d9b
Use TextInputModal directly from svelte component
...
* the only important thing is that it is not positioned within elements
with display: none
* I think we can treat the existence of the modal to be a kind of
"precondition" that has to be met for the component to be used
2021-05-26 08:46:12 +10:00
Henrik Giesel
412091ae60
Inline some bootstrap-dark styling
2021-05-26 08:40:00 +10:00
Henrik Giesel
5f6bc19389
Use min-{width,height} for legacy buttons
2021-05-25 20:29:42 +02:00
Henrik Giesel
52db2a2585
Restructure legacy scss / remove button_mixin import
2021-05-25 13:57:09 +02:00
Henrik Giesel
cfc9fa359d
Base width/height off on --toolbar-size for legacy buttons
2021-05-25 13:29:55 +02:00
Damien Elmes
f4defc2e81
Merge pull request #1190 from kleinerpirat/main
...
Make legacy buttons look and feel like Svelte buttons
2021-05-25 14:20:47 +10:00
Henrik Giesel
cf223d615a
Fix background on DropdownItem + make transitions on buttons quicker
2021-05-24 19:53:30 +02:00
Matthias M
ee23d3781d
Restrict inversion to images
2021-05-24 19:46:51 +02:00
Matthias M
c289544390
Adjust active:hover behaviour
...
so it behaves like Svelte buttons, when clicking and dragging the mouse away from the button.
2021-05-24 13:11:50 +02:00
Matthias M
eedc8274da
Use !important instead of :not() selector
...
!important cannot be used with the radius mixin, so I had to state them explicitly.
2021-05-24 11:21:42 +02:00
Damien Elmes
f91f00a542
mention new limit bound by reviews in tooltip
2021-05-24 19:04:00 +10:00
Matthias M
12e69cb668
Merge branch 'ankitects:main' into main
2021-05-24 10:59:02 +02:00
Matthias M
d74135e481
Revert changes, add exceptions
...
to keep the PR changes as contained as possible without the use of !important.
2021-05-24 10:37:43 +02:00
Damien Elmes
f56c241702
round floats before comparing against default values
...
tabbing through the Advanced section was marking things like
'easy bonus' as modified
2021-05-24 18:26:01 +10:00
Damien Elmes
999fe98159
hard-code code
color, as the tooltip background is always dark
2021-05-24 18:25:19 +10:00
Damien Elmes
93ace8b96e
move v3 options into separate section; more description/section tweaks
2021-05-24 18:25:17 +10:00