Henrik Giesel
453dad18fe
Change meaning of "is:learn" to filter on type, not queue
2021-01-05 17:36:55 +01:00
Damien Elmes
53b215e4c6
Merge pull request #890 from hgiesel/addonclose
...
Add closeWithCallback method to Addons dialog
2021-01-04 21:16:01 +10:00
Henrik Giesel
bd0b58ef1c
Add silentlyClose method to Addons dialog
2021-01-04 11:52:00 +01:00
Damien Elmes
67455365c0
Merge pull request #888 from hgiesel/studiedtoday
...
Wrap studied_today in deckbrowser in div and span
2021-01-04 14:27:35 +10:00
Damien Elmes
cc831dafc2
update translations
2021-01-04 14:15:26 +10:00
Damien Elmes
3123e6df7f
do tag rename and tag clearing in background; move logic to tags.py
...
Because the logic is in rename_tag() now, it means we create a
checkpoint even if the tag is orphaned. This is because currently
checkpointing is a GUI responsibility. In the future we need to introduce
multi-level undo, and should move responsibility for managing it
to the backend.
2021-01-04 14:14:39 +10:00
Damien Elmes
dabde048e1
types don't need quoting, as annotations is imported from future
2021-01-04 13:46:00 +10:00
Damien Elmes
175013b299
Merge pull request #887 from BlueGreenMagick/deck-rename-checkpoint
...
don't set checkpoint when deck rename is cancelled
2021-01-04 13:44:28 +10:00
Damien Elmes
80c5004cc2
Merge pull request #886 from BlueGreenMagick/browser-sidebar-rename-tag
...
add rename_tag to browser sidebar contextmenu
2021-01-04 13:43:04 +10:00
Damien Elmes
bd587f9fd5
fix ftl formatting
2021-01-04 13:27:35 +10:00
Damien Elmes
28f1661ac1
show what's wrong when bad formatting found in ftl
2021-01-04 13:27:12 +10:00
Damien Elmes
b87b32f2ea
update piptools; automatically insert winrt footer
2021-01-04 13:19:17 +10:00
Damien Elmes
e3b2ed6077
catch references to missing terms in ftl check
...
https://github.com/ankitects/anki/pull/889
- We can't use compare_locales's getChecker(), as it seems to
be focused on checking translations rather than the original
templates.
- Also fix return code not being passed on in check_files()
- Temporarily pin pip-tools, as its output format has changed
2021-01-04 13:19:17 +10:00
Damien Elmes
6aee817ac1
Merge pull request #889 from abdnh/escape-braces
...
Escape literal curly braces in Fluent
2021-01-04 13:19:07 +10:00
abdo
7a289530fd
Escape literal curly braces in Fluent
2021-01-04 00:31:58 +03:00
Henrik Giesel
17119dcb1c
Wrap studied_today in div and span in deckbrowser
2021-01-03 14:54:44 +01:00
BlueGreenMagick
57c60367ab
escape tags when finding notes
2021-01-03 17:34:44 +09:00
BlueGreenMagick
e5405dd496
add rename_tag to browser sidebar contextmenu
2021-01-03 16:36:54 +09:00
BlueGreenMagick
56d89d7c9a
don't set checkpoint when deck rename is cancelled
2021-01-03 16:30:14 +09:00
Damien Elmes
67bae1ec93
refreshing should happen outside of except clause
2021-01-03 10:09:42 +10:00
Damien Elmes
0b3ff5c88c
Merge pull request #885 from Arthur-Milchior/hook_default_search
...
NF: Add a hook to change the default search from reviewer
2021-01-03 10:09:08 +10:00
Damien Elmes
0287099253
Merge pull request #884 from BlueGreenMagick/refresh-deckchooser
...
refresh deck browser after renaming deck in browser sidebar
2021-01-03 10:08:45 +10:00
Damien Elmes
439be5cbec
Merge pull request #883 from BlueGreenMagick/no-need-to-show
...
Don't call show()
2021-01-03 10:03:57 +10:00
Arthur Milchior
5c7dbdf72b
NF: Add a hook to change the default search from reviewer
...
The goal here is to simplify my add-on which show a single card or the whole deck when the browser open
2021-01-02 19:49:11 +01:00
BlueGreenMagick
a7889fdcfa
refresh deck browser on renaming deck
2021-01-02 23:21:41 +09:00
BlueGreenMagick
e9223bfd36
no need to call show()
2021-01-02 23:07:57 +09:00
Damien Elmes
9e286b185c
update translations
2021-01-02 21:27:48 +10:00
Damien Elmes
a304d15b5d
Merge pull request #881 from abdnh/prop-order
...
Support prop:order to search for new cards by order
2021-01-02 21:27:29 +10:00
Damien Elmes
6cac9c4a5b
remove empty es6 group; reference original ts_library instead
2021-01-02 21:18:10 +10:00
abdo
85a1c732db
Rename prop:order to prop:pos
2021-01-02 13:35:10 +03:00
Damien Elmes
f3e83dffc9
remove the unused ts/vendor folder
2021-01-02 11:25:09 +10:00
Damien Elmes
a27e94e54d
merge separate vendor rules into single rule
...
Rather than creating a separate rule for each package, we can just
create a generic one and reuse it. Also switch to keyword arguments
in the resulting macros, as it's easier to read.
2021-01-02 11:14:00 +10:00
Damien Elmes
2baacbea03
Merge pull request #882 from hgiesel/copyfiles
...
Implement copy_select_files for removing duplication in js dep Bazel recipes
2021-01-02 10:22:48 +10:00
Damien Elmes
792a2240fc
docs: musl and local node
2021-01-02 09:49:41 +10:00
Henrik Giesel
2e3b9b5dc0
Add base argument to copy_select_files
2021-01-01 14:39:15 +01:00
Henrik Giesel
a8b6fe99fa
Be a bit more precise when excluding mathmaps_ie.js
...
* for documentation purposes
2021-01-01 14:16:52 +01:00
Henrik Giesel
e51685d4e6
Fix input type for _drawFlag
2021-01-01 14:14:50 +01:00
Henrik Giesel
0042c897bd
Remove duplicated logic in ts bzl files by using copy_select_files
2021-01-01 13:45:25 +01:00
abdo
ab8736b37f
Support prop:order to search for new cards by order
2021-01-01 04:36:51 +03:00
Damien Elmes
e147dfa17f
add some Python source deps
2021-01-01 08:49:29 +10:00
Damien Elmes
a7f96838b7
Merge pull request #880 from hgiesel/remdeps2
...
Add css-browser-selector and protobufjs as bazel deps
2021-01-01 08:37:06 +10:00
Henrik Giesel
b7923ee20e
Remove browsersel
2020-12-31 16:48:04 +01:00
Henrik Giesel
e0d34d526a
Replace browsersel with css-browser-selector in aqt files and add redirect
2020-12-31 16:47:20 +01:00
Henrik Giesel
6087bb9a0f
Add css-browser-selector to BAZEL build file in data/web/js/vendor
2020-12-31 16:41:31 +01:00
Henrik Giesel
7ed80466e9
Add css-browser-selector as bazel rule, and update from 0.4.0 to 0.6.5
2020-12-31 16:27:52 +01:00
Henrik Giesel
137e4b3d15
Remove hardcoded protobufjs
2020-12-31 16:17:46 +01:00
Henrik Giesel
e30ed8c2fa
Add build recipe to aqt/data/web/js
2020-12-31 16:15:25 +01:00
Henrik Giesel
0745fe511a
Add bazel recipe and update protobufjs to 6.10.2
2020-12-31 16:06:44 +01:00
Damien Elmes
1db4d0290f
add some porting notes
2020-12-31 14:03:38 +10:00
Damien Elmes
9953305241
Merge pull request #878 from hgiesel/updateQueue
...
Replace `_updatingQA` with promise-based `_updatingQueue`
2020-12-31 12:42:58 +10:00