Damien Elmes
6410e66857
filtered decks w/ scheduling disabled in v3 now log reviews
2021-08-19 20:25:29 +10:00
Damien Elmes
fb7eabcb80
fix mutateNextCardStates being exported into global namespace
...
https://forums.ankiweb.net/t/v3-custom-scheduler-not-working/12441
2021-08-19 10:21:04 +10:00
hikaru-y
e23737fb6c
Use <template> element instead of Range.createContextualFragment()
...
https://forums.ankiweb.net/t/audio-in-back-template-is-played-on-front-template-on-desktop-2-1-46/12399
Unlike when using <template> element, if a DocumentFragment is created
using Range.createContextualFragment(), <audio>/<video> elements
with `aotoplay` will play immediately even before they are inserted into
the actual document, which will cause audio or video on the answer side
to be played on the question side.
2021-08-18 00:04:02 +09:00
Damien Elmes
37ed7f9bae
fix inverted 'skip question when replaying answer' option
...
I'd intended to add a new string but overlooked it.
https://forums.ankiweb.net/t/bug-always-include-question-side-when-replaying-audio/12273/2
2021-08-15 16:15:14 +10:00
Damien Elmes
eae17ffbff
use alphanumeric keyboard in SpinBoxFloat
...
https://forums.ankiweb.net/t/error-setting-hard-interval-on-ios/12105/3
2021-08-09 14:15:16 +10:00
Henrik Giesel
b396ef558c
Satisfy eslint
2021-08-03 06:12:04 +02:00
Henrik Giesel
00b990b79e
Add tooltip for Toggly sticky icon
2021-08-03 06:02:29 +02:00
Henrik Giesel
485460870c
Increase inactive opacity a little for better discoverability
2021-08-03 05:52:57 +02:00
Henrik Giesel
2649dc0ad7
Add toggle sticky shortcuts F9 and Shift+F9
2021-08-03 05:52:07 +02:00
Damien Elmes
9a809af6ab
Merge pull request #1320 from hgiesel/colorpickerplus
...
Remember last text and highlight color again
2021-08-03 09:07:46 +10:00
Henrik Giesel
39566638f3
Remember last text and highlight color again
2021-08-02 23:12:00 +02:00
Damien Elmes
bd146fa4fb
update congrats screen periodically; automatically move back to study
2021-08-02 16:05:18 +10:00
Damien Elmes
86d5d7e020
don't hide learning count on congrats screen when learning is overdue
...
The v3 scheduler will delay the final card from being shown twice in
a row, but the overdue case was being treated the same as the no-learning
case, leading to the message being hidden.
2021-08-02 15:57:09 +10:00
Damien Elmes
b5808eea9e
fix inability to map fields from larger to smaller notetype
...
We were using the new item count instead of the old one.
https://forums.ankiweb.net/t/issue-changing-note-type-on-2-1-45/11822
2021-07-31 18:30:50 +10:00
Henrik Giesel
94eff9a864
Install Ctrl+Shfit+V paste only on Apple platforms
2021-07-31 03:43:10 +02:00
Henrik Giesel
8c6df4461d
Remove registerShortcut for Ctrl+C/V/A/X from editor/index.ts
2021-07-30 22:28:40 +02:00
Damien Elmes
7513f9789f
export jQuery, not just $
...
https://github.com/ankitects/anki/pull/1314#issuecomment-889597619
2021-07-30 18:30:37 +10:00
Damien Elmes
d511f2bd18
Merge pull request #1314 from hgiesel/fixjqueryreviewer
...
Export jquery correctly
2021-07-29 23:26:05 +10:00
Henrik Giesel
652e4e6368
Export jquery correctly
2021-07-29 15:18:51 +02:00
Damien Elmes
83a4e510da
Merge pull request #1312 from hgiesel/smalleditorrefactors
...
Use :host instead of :host-context
2021-07-28 13:19:04 +10:00
Damien Elmes
cd784dd652
show warning when trying to indent plain text
...
https://forums.ankiweb.net/t/2-1-45-release-candidate/11362/55
2021-07-28 12:18:04 +10:00
Damien Elmes
e3b970961f
add reviewer_extras.js back
2021-07-27 15:13:39 +10:00
Henrik Giesel
f682cdf755
Use :host instead of :host-context
2021-07-26 16:06:50 +02:00
Henrik Giesel
8335f81396
Use event object in createShortcut, fix F8 for highlight
2021-07-26 06:15:30 +02:00
Henrik Giesel
78f3aff987
Rename to text color and text color highlight
2021-07-26 05:28:28 +02:00
Henrik Giesel
380ba8a5cc
Use new for-loop
2021-07-19 01:34:14 +02:00
Henrik Giesel
07e07aa6da
Catch hook errors in two ways:
...
- try/catch for catching synchronous errors
- Promise.allSettled will allow for rejected promises without fast-failing other promises
2021-07-19 01:23:41 +02:00
Damien Elmes
2f56b43859
expose _queueAction
...
https://github.com/ankitects/anki/pull/1292#issuecomment-881795577
2021-07-17 12:12:07 +10:00
Damien Elmes
a1f0287d4a
css_browser_selector was logging to the console
2021-07-17 09:25:05 +10:00
Damien Elmes
e80d539f87
keep _updateQA exposed for now, as some add-ons use it
2021-07-17 09:11:05 +10:00
Henrik Giesel
36ebcd8bd8
Allow any in reviewer/index.ts
2021-07-16 17:28:31 +02:00
Henrik Giesel
45fa549540
Add back opacity change
2021-07-16 17:26:04 +02:00
Henrik Giesel
170bc5c25e
Revert to MathJax through script tag
2021-07-16 16:56:57 +02:00
Henrik Giesel
4888f5ee79
Add copyright header
2021-07-16 16:56:57 +02:00
Henrik Giesel
0695638ed8
Satisfy formatter
2021-07-16 16:56:57 +02:00
Henrik Giesel
0bb6f56c74
Satisfy eslint
2021-07-16 16:56:56 +02:00
Henrik Giesel
28e2f62793
Remove protobuf important from reiewer (no longer necessary (?))
2021-07-16 16:56:56 +02:00
Henrik Giesel
cb890b849b
Do not set opacity to 0 in reviewer
2021-07-16 16:56:56 +02:00
Henrik Giesel
70040d508e
Include MathJax over ts/reviewer
2021-07-16 16:56:56 +02:00
Henrik Giesel
dbbb590c2f
Simplify some reviewer code
2021-07-16 16:56:56 +02:00
Henrik Giesel
6ef8e17f60
Create reviewer/images.ts
2021-07-16 16:56:56 +02:00
Henrik Giesel
c62d2dc033
Export jquery via ts/reviewer
2021-07-16 16:56:56 +02:00
Henrik Giesel
8ee6eb71eb
Include css-browser-selector via ts/reviewer
2021-07-16 16:56:56 +02:00
Henrik Giesel
2536063784
Export getTypedAnswer
2021-07-16 16:56:56 +02:00
Henrik Giesel
791d7f2f4b
Move reviewer to ts/reviewer
2021-07-16 16:56:55 +02:00
Damien Elmes
1d4fb0ca50
add note about display order using current deck
2021-07-13 15:58:06 +10:00
Damien Elmes
314df22e1e
move bury options below display order
...
Causes the timer settings to appear at the bottom left, which is a bit neater.
2021-07-13 15:45:08 +10:00
Damien Elmes
e7f249f4b7
Merge pull request #1286 from ankitects/proto
...
Split backend.proto into multiple files
2021-07-11 19:53:04 +10:00
Damien Elmes
f0ce1cfc9d
rename workspace
...
I'd forgotten that Bazel "helpfully" adds __init__.py files into folders
that match the workspace name, breaking imports.
2021-07-10 23:58:53 +10:00
Damien Elmes
e3b53fc078
split out remaining tags, stats, media and rendering
2021-07-10 23:16:18 +10:00