Damien Elmes
bceaa21fa6
drop tags/decks/etc from Filter button
...
https://github.com/ankitects/help-wanted/issues/6
These are a relic from when the sidebar defaulted to off, and I don't
think enough people are using them to bother keeping them around.
Once the the card state and saved filter functionality moves into the
sidebar and top menus, we may be able to remove the Filter button
completely.
2021-01-23 18:21:44 +10:00
Damien Elmes
fd09d3f6fd
Merge pull request #939 from abdnh/sidebar-templates
...
Render card templates as trees in the sidebar
2021-01-23 17:11:55 +10:00
Damien Elmes
220e3bd843
Merge pull request #940 from hgiesel/calendartween
...
Use scaleSqrt for calendar review values
2021-01-23 16:52:58 +10:00
Damien Elmes
fd6465c460
refresh new/rev counts when fillNew/fillRev() fails
...
This was the behaviour before, but got lost when ._reset_counts() was
added. Also added the check back to schedv2:fillRev(), which also
appears to have gotten lost in the move to ._reset_counts()
Just a stop-gap fix until this code can get a proper rewrite.
2021-01-23 14:02:05 +10:00
Damien Elmes
6329824e25
remove "invalid current deck"
...
This should resolve itself when a user clicks on a deck.
2021-01-23 13:04:58 +10:00
Damien Elmes
81b312ddd1
handle decks/notetypes with a duplicate name being sent in a sync
...
Typically caused by older clients, but could happen if the user added
the same name on different devices without syncing.
Also add an inactive test that was used to try track down this issue
and might be useful in the future.
2021-01-23 12:59:24 +10:00
Henrik Giesel
4e9fff493f
Use scaleSqrt for calendar review values
2021-01-22 22:39:29 +01:00
abdo
fb70929b81
Render card templates as trees in the sidebar
...
Reusing the note type icon and not caring about saving collapse state
for now.
2021-01-22 17:49:20 +03:00
Damien Elmes
b045107baa
Merge pull request #935 from abdnh/sidebar-nt
...
Add manage note types menu item to the sidebar
2021-01-22 14:21:28 +10:00
Damien Elmes
0f9c60793e
Merge pull request #936 from hgiesel/editorresize
...
Leave resizing of editor top buttons to CSS
2021-01-22 13:11:43 +10:00
abdo
2eec50341d
Move the logic for selecting a note type to models.py
2021-01-22 05:56:39 +03:00
Damien Elmes
744c096e6e
(de)serialize Weekday directly
...
Re: discussion in https://github.com/ankitects/anki/pull/934
2021-01-22 12:12:57 +10:00
Damien Elmes
574836fb7b
Merge pull request #933 from hgiesel/calendardays
...
Add labels to calendar days
2021-01-22 11:52:44 +10:00
Damien Elmes
c209e28c98
update translations
2021-01-22 11:01:48 +10:00
Damien Elmes
3a9c42764c
add another example and tweak wording at top
2021-01-22 11:00:19 +10:00
Damien Elmes
a6ddcc7bcc
Merge pull request #937 from RumovZ/clarify-ftl-hints
...
Clarify comments in search.ftl
2021-01-22 10:53:29 +10:00
Damien Elmes
12a36a7dc7
handle non-chunked graves from AnkiDroid
2021-01-22 10:00:25 +10:00
RumovZ
a102e37a15
Clarify comments in search.ftl
2021-01-22 00:11:09 +01:00
Henrik Giesel
431b2fde63
Adjust the positioning of the editor toolarea via CSS
2021-01-21 21:36:33 +01:00
Henrik Giesel
8467b052f9
Remove image click event handler, as it never takes place
...
* className of fields will be "field clearfix", never just "field"
2021-01-21 20:50:17 +01:00
Henrik Giesel
3c3c78ee71
Remove javascript resizing code from editor.ts
2021-01-21 19:59:16 +01:00
Henrik Giesel
e509b768ff
Get weekday labels via Date.prototype.toLocaleString
2021-01-21 19:38:56 +01:00
Henrik Giesel
c9544dd83d
Revert "Make weekday labels localizable"
...
This reverts commit 483b0e4698 .
2021-01-21 18:56:56 +01:00
abdo
14eeaa1ec9
Add manage note types menu item to the sidebar
2021-01-21 20:27:20 +03:00
Damien Elmes
2dcb945781
update pinned Bazel version to 4.0 release
2021-01-21 19:58:41 +10:00
Damien Elmes
85135d46fc
Merge pull request #930 from hgiesel/editorts
...
Refactor editor.ts
2021-01-21 10:44:11 +10:00
Damien Elmes
5cd125e2c8
add missing file header
2021-01-21 10:31:34 +10:00
Henrik Giesel
c1cb227c8e
Support languages with day labels larger than one character
2021-01-20 22:07:02 +01:00
Henrik Giesel
483b0e4698
Make weekday labels localizable
2021-01-20 21:49:01 +01:00
Henrik Giesel
a9da524383
Add labels to calendar days
2021-01-20 21:17:36 +01:00
Henrik Giesel
ba7252b664
Explicitly execute code deactivating button focus from editor.py
2021-01-20 17:06:08 +01:00
Damien Elmes
35c30e1c9b
try again to improve GitHub's language stats
...
- It seems this only alters the % graph on the front page, and does
not control the options available when drilling down in a search.
- The cargo/remote/*.bzl files were not being ignored; try "vendor" them
instead.
2021-01-20 13:20:45 +10:00
Damien Elmes
fefa178201
try to improve GitHub's language stats
2021-01-20 13:11:52 +10:00
Damien Elmes
601a0bf007
Merge pull request #932 from abdnh/sidebar-filters
...
Add filter remove/rename actions to the sidebar
2021-01-20 11:38:30 +10:00
abdo
5a5b87e733
Add filter remove/rename actions to the sidebar
2021-01-20 03:26:53 +03:00
Damien Elmes
6045f07acb
Merge pull request #931 from hgiesel/reviewsgraph
...
Retouch the reviews graph a little bit
2021-01-20 09:32:42 +10:00
Damien Elmes
33c1e80df0
update translations
2021-01-20 09:25:07 +10:00
Damien Elmes
f2ca0d5c48
Merge pull request #927 from ankitects/simplify-props
...
simplify parse_prop() and associated translations
2021-01-20 09:23:12 +10:00
Damien Elmes
f140ee2041
minor ftl tidy-up before commit
2021-01-20 09:15:09 +10:00
Henrik Giesel
4726579102
Turn Running total box transparent
2021-01-19 12:50:02 +01:00
Henrik Giesel
9d551b20cc
Change colors of Reviews graph
2021-01-19 12:22:13 +01:00
Damien Elmes
4890872c3a
fix context in rated: search error message
2021-01-19 18:33:10 +10:00
Damien Elmes
ed28e2408a
fix ftl check failing in non-utf8 locale
2021-01-19 16:28:13 +10:00
Damien Elmes
2685e641ee
more parsing error tweaks
...
The majority of the error checking can now be delegated to routines
like parse_f32(), parse_negative_i32() and so on, instead of creating
specific error messages for each type.
2021-01-19 15:50:26 +10:00
Henrik Giesel
55cf7a27ba
Remove jQuery from most top functions, and avoid waiting for jquery load
2021-01-19 03:52:46 +01:00
Damien Elmes
7eb78ecb16
simplify write_props() and associated translations
...
This is a work in progress; see associated PR discussion to follow.
2021-01-19 12:40:16 +10:00
Damien Elmes
57d32c6e4a
have register_tag mutate the tag if it changes it, instead of copying
2021-01-19 12:37:51 +10:00
Damien Elmes
6b07984265
fix deck and tag normalization
...
The issue existed in the deck code as well; I've added a test for it.
2021-01-19 12:36:01 +10:00
Henrik Giesel
fc0402db81
Remove some unnecessary jQuery, replace some toggles with classList.toggle
2021-01-19 03:06:44 +01:00
Damien Elmes
db3f29ac30
Merge pull request #929 from abdnh/tag-case
...
Make tags match their parents case
2021-01-19 11:56:03 +10:00