RumovZ
ff76d50338
Remove browser.oneModelNotes()
2021-05-22 19:12:03 +02:00
RumovZ
0dca3ef548
Check notetype count in browser.onChangeModel()
2021-05-22 19:11:06 +02:00
Henrik Giesel
3a18dce03f
Prefer event.which over event.{key,code}
...
It works better with alternative Latin-based keyboard layouts
2021-05-22 17:50:23 +02:00
RumovZ
cba5c2253a
Change switch color depending on state
...
Make knob overlap path.
2021-05-22 10:01:15 +02:00
RumovZ
29589fcf0d
Update context action states after card op
2021-05-22 08:35:47 +02:00
Damien Elmes
195c41cba3
Merge pull request #1185 from RumovZ/scrolling
...
Scroll pixels instead of columns horizontally
2021-05-22 10:59:09 +10:00
Damien Elmes
d7d226843e
improve type answer legibility
...
https://forums.ankiweb.net/t/accessibility-suggestion-correct-answer-text-contrast-in-dark-mode/10105
There's probably more that could be done here, but that can probably
wait for #1068
2021-05-22 10:31:29 +10:00
Damien Elmes
7bf661ee05
fix missing cumulative overlays in graphs
2021-05-22 10:19:13 +10:00
Damien Elmes
958c53d886
fix find&replace searching in incorrect field
2021-05-22 10:12:14 +10:00
Henrik Giesel
c89c42dc37
Base shortcuts with letters no event.key, with symbols/numbers on event.code
2021-05-21 22:45:55 +02:00
Henrik Giesel
5ef056a23e
Make numpad keys also cancel current shortcut sequence
2021-05-21 19:03:06 +02:00
RumovZ
d46fe913a5
Scroll pixels instead of columns horizontally
2021-05-21 18:59:53 +02:00
Damien Elmes
3d4cf26758
expose undoable config changes to frontend; refresh sidebar
...
The browser header handling still needs updating
2021-05-21 17:50:41 +10:00
Damien Elmes
99b7da49a9
report changed cards when changing deck/flag
...
+ fix repeated flag shortcut not toggling
2021-05-21 16:03:05 +10:00
Henrik Giesel
9d212487c6
Capitalize keyboard shortcut letters
2021-05-20 18:46:22 +02:00
Henrik Giesel
ddeae60854
Instead of timeouts, make non-related keypresses cancel shortcut sequences
2021-05-20 18:32:53 +02:00
Henrik Giesel
ae19ed527d
Switch to keyboard shortcuts based on event.key
2021-05-20 18:28:59 +02:00
Damien Elmes
398cdc8992
add night mode styling to type-in-the-answer box
...
https://forums.ankiweb.net/t/night-mode-does-not-affect-input-tags/10116
2021-05-20 19:14:12 +10:00
Damien Elmes
ebae455668
Merge pull request #1181 from RumovZ/flag-mod
...
Move flags into separate module
2021-05-20 18:48:33 +10:00
Damien Elmes
9aba412b44
Merge pull request #1180 from RumovZ/say-blank
...
Pronounce "[...]" as "blank" with TTS
2021-05-20 18:48:10 +10:00
RumovZ
5a6ba1b0b9
Move flags into separate module
2021-05-20 10:26:18 +02:00
RumovZ
b5c29fb498
Pronounce "[...]" as "blank" with TTS
2021-05-20 09:42:38 +02:00
Damien Elmes
422584b814
fix error when opening and closing editor rapidly
2021-05-20 15:32:28 +10:00
Damien Elmes
84e2cfbe3f
add a hack to handle sass resolution in svelte in external workspace
2021-05-20 15:32:06 +10:00
Damien Elmes
e2b2d1e9d8
experiment with bottom border on deck option headings
2021-05-20 14:54:07 +10:00
Damien Elmes
d5f4860f9b
fix fields/cards font size & too-large toolbar on high DPI Windows
...
- enable default_css on editor again, so that the html element
is set to the system font size. If this is bringing in unwanted styling,
maybe we can come up with a different solution that just adjusts the
fonts
- make toolbar size relative to html font size, instead of hard-coding
it
2021-05-20 13:15:17 +10:00
Damien Elmes
5d21383e88
make sticky bar border a bit fainter
2021-05-20 12:49:07 +10:00
Damien Elmes
9789dd2bf9
fix invisible dropdown arrow in night mode; use bootstrap styling in top
2021-05-20 12:43:47 +10:00
Damien Elmes
055f2907ec
Merge pull request #1178 from RumovZ/flag-labels
...
Custom labels for flags
2021-05-20 11:59:55 +10:00
Damien Elmes
fe20f3abaa
Merge pull request #1177 from abdnh/strip-isolation-chars
...
Strip Unicode isolation characters from title
2021-05-20 11:49:41 +10:00
Damien Elmes
b412bf97fb
add a separate DeckId search for decks with children
...
- The "unbury deck" option was broken, as it was ignoring child
decks. It would be nice if we could use active_decks instead, but
plugging that into the old scheduler without breaking undo seems a bit
tricky.
- Remove the implicit From impl for decks, so we need to be forced to
think about whether we want child decks or not.
2021-05-20 11:44:37 +10:00
RumovZ
6fb2d30426
Remove redundant pylint exception
2021-05-19 19:44:49 +02:00
RumovZ
f960299345
Prefer looping over flags over exhaustive listing
2021-05-19 19:26:39 +02:00
RumovZ
b5fa7923e6
Use custom flag labels in reviewer
2021-05-19 19:18:49 +02:00
RumovZ
5fa68c885a
Use dataclass instead of tuple for loaded flags
2021-05-19 19:17:43 +02:00
abdo
bbb2f7158f
Strip Unicode isolation characters from title
2021-05-19 18:21:57 +03:00
Damien Elmes
b9a4908bfb
apply the left padding in one place
2021-05-19 20:02:04 +10:00
Damien Elmes
e91ca199fb
use standard toolbar colors for legacy items
2021-05-19 19:58:12 +10:00
Damien Elmes
6547af529a
fix broken night mode styling
...
#1172 removed the select styling, but EnumSelector has not been updated
yet
2021-05-19 19:48:31 +10:00
Damien Elmes
df38788e07
move deck name into window title; v-center sticky bar
2021-05-19 19:34:15 +10:00
Damien Elmes
3f0fd548d8
increase toolbar size by 5px and use the default font sizes
...
Workaround for #1174 for now
2021-05-19 19:23:32 +10:00
Damien Elmes
fdd162a7b9
simplify previous patch
...
The default 1 rem is fine, but we need to apply the default font size
to the html element instead of the body for the definition of rem to
update.
Fixes #1174
2021-05-19 19:06:20 +10:00
Damien Elmes
b20381afad
fix inconsistent font sizes
...
fixes #1174
2021-05-19 19:00:09 +10:00
RumovZ
30736ddf75
Use custom flag labels for browser actions
2021-05-19 11:00:02 +02:00
RumovZ
9816227b5c
Make sidebar flags renamable
2021-05-19 10:04:40 +02:00
Damien Elmes
363548e8a2
indent headings and bold them to match graph style
2021-05-19 17:20:01 +10:00
Damien Elmes
dbc043fd50
tweak left margin, and checkbox top margin
2021-05-19 17:18:28 +10:00
Damien Elmes
19dd739764
left align input boxes; decrease width
2021-05-19 16:41:19 +10:00
Damien Elmes
581480191a
show note about old options screen if any add-ons are installed
2021-05-19 16:20:25 +10:00
Damien Elmes
cbd2314e27
add v3 scheduler to col.sched type union
...
Will allow us to catch issues like the custom study one in the future
2021-05-19 16:06:52 +10:00