Damien Elmes
94fe1f898f
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
e103adfc0b
update translations
2021-01-04 14:15:26 +10:00
Damien Elmes
f3fa9daae2
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
35ce1b0d29
types don't need quoting, as annotations is imported from future
2021-01-04 13:46:00 +10:00
Damien Elmes
03b10b0d44
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
86b90c4813
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
da5c565334
fix ftl formatting
2021-01-04 13:27:35 +10:00
Damien Elmes
ffd59a03c0
show what's wrong when bad formatting found in ftl
2021-01-04 13:27:12 +10:00
Damien Elmes
5634c8fe7a
update piptools; automatically insert winrt footer
2021-01-04 13:19:17 +10:00
Damien Elmes
bef1fabd74
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
74bd7f526a
Merge pull request #889 from abdnh/escape-braces
...
Escape literal curly braces in Fluent
2021-01-04 13:19:07 +10:00
abdo
7bd3137425
Escape literal curly braces in Fluent
2021-01-04 00:31:58 +03:00
Henrik Giesel
0a121077de
Wrap studied_today in div and span in deckbrowser
2021-01-03 14:54:44 +01:00
BlueGreenMagick
35d3d89705
escape tags when finding notes
2021-01-03 17:34:44 +09:00
BlueGreenMagick
46346d01a0
add rename_tag to browser sidebar contextmenu
2021-01-03 16:36:54 +09:00
BlueGreenMagick
53edeaf07f
don't set checkpoint when deck rename is cancelled
2021-01-03 16:30:14 +09:00
Damien Elmes
b27259096e
refreshing should happen outside of except clause
2021-01-03 10:09:42 +10:00
Damien Elmes
48ee35f6ad
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
e9c58382be
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
0ccd4b47b1
Merge pull request #883 from BlueGreenMagick/no-need-to-show
...
Don't call show()
2021-01-03 10:03:57 +10:00
Arthur Milchior
9166330618
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
708d94714c
refresh deck browser on renaming deck
2021-01-02 23:21:41 +09:00
BlueGreenMagick
1afbf4212e
no need to call show()
2021-01-02 23:07:57 +09:00
Damien Elmes
f58eb80d90
update translations
2021-01-02 21:27:48 +10:00
Damien Elmes
105d8e59f4
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
3240fd2e15
remove empty es6 group; reference original ts_library instead
2021-01-02 21:18:10 +10:00
abdo
dc51dc6795
Rename prop:order to prop:pos
2021-01-02 13:35:10 +03:00
Damien Elmes
85621867ca
remove the unused ts/vendor folder
2021-01-02 11:25:09 +10:00
Damien Elmes
5ec5a47708
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
13994973cb
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
65f90fa3a8
docs: musl and local node
2021-01-02 09:49:41 +10:00
Henrik Giesel
f97ad260bb
Add base argument to copy_select_files
2021-01-01 14:39:15 +01:00
Henrik Giesel
12dfb38609
Be a bit more precise when excluding mathmaps_ie.js
...
* for documentation purposes
2021-01-01 14:16:52 +01:00
Henrik Giesel
450ff60815
Fix input type for _drawFlag
2021-01-01 14:14:50 +01:00
Henrik Giesel
8e8a3e220b
Remove duplicated logic in ts bzl files by using copy_select_files
2021-01-01 13:45:25 +01:00
abdo
0ad4619833
Support prop:order to search for new cards by order
2021-01-01 04:36:51 +03:00
Damien Elmes
eecdc07c68
add some Python source deps
2021-01-01 08:49:29 +10:00
Damien Elmes
85f147fbed
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
f31b2312df
Remove browsersel
2020-12-31 16:48:04 +01:00
Henrik Giesel
ffc40d8959
Replace browsersel with css-browser-selector in aqt files and add redirect
2020-12-31 16:47:20 +01:00
Henrik Giesel
ebb8171021
Add css-browser-selector to BAZEL build file in data/web/js/vendor
2020-12-31 16:41:31 +01:00
Henrik Giesel
bfd9c93e61
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
4da27afba8
Remove hardcoded protobufjs
2020-12-31 16:17:46 +01:00
Henrik Giesel
2ba944640d
Add build recipe to aqt/data/web/js
2020-12-31 16:15:25 +01:00
Henrik Giesel
079ce6bdf0
Add bazel recipe and update protobufjs to 6.10.2
2020-12-31 16:06:44 +01:00
Damien Elmes
2e7213f8b0
add some porting notes
2020-12-31 14:03:38 +10:00
Damien Elmes
3d7b167947
Merge pull request #878 from hgiesel/updateQueue
...
Replace `_updatingQA` with promise-based `_updatingQueue`
2020-12-31 12:42:58 +10:00
Damien Elmes
6902a61c21
use :yarn not :yarn_bin
...
The latter fails on Windows
2020-12-31 12:32:51 +10:00
Damien Elmes
29c2fa2317
add add.sh helper for adding dependency and updating licenses
2020-12-31 12:20:51 +10:00
Damien Elmes
ace834a21b
run ts/update.sh
2020-12-31 12:18:49 +10:00