Commit graph

6065 commits

Author SHA1 Message Date
Damien Elmes
fe739f4460 fix graphs failing to load until preferences set
The protobuf object will be missing keys that have the default value,
so we need to fill the defaults in.
2021-01-23 20:40:43 +10:00
Henrik Giesel
25eee0e704 Change the function name in genbackend.py 2021-01-22 20:05:28 +01:00
Henrik Giesel
a5f59515e2 Rename GraphsPreferencesOut to simply GraphsPreferences 2021-01-22 19:39:03 +01:00
Henrik Giesel
0098869925 Make code typecheck, fix issue with day labels in nightMode 2021-01-22 19:02:05 +01:00
Henrik Giesel
7149c468e5 Set calendar labels to emptyColour 2021-01-22 18:15:16 +01:00
Henrik Giesel
24dd14896a Make cardCountsSeparateInactive settable 2021-01-22 18:03:58 +01:00
Henrik Giesel
101e193add Make first day of week settable through UI 2021-01-22 17:51:15 +01:00
Henrik Giesel
d6ba9eb61a Uniformly rename firstWeekday to firstDayOfWeek 2021-01-22 16:53:33 +01:00
Henrik Giesel
1a75772673 Remve SeparateInactiveCheckbox and correctly use preferences values
* Expose issue with non-existing calendar value in GraphPreferences
2021-01-22 14:56:41 +01:00
Henrik Giesel
fe75480fea Successfully send post request to rust 2021-01-22 14:37:24 +01:00
Henrik Giesel
846dd396a6 Add non-functioning logic for settings graphs preferences 2021-01-22 13:14:35 +01:00
Henrik Giesel
15bd2e74f8 Hook up cardCountsSeparateInactive to PreferenceStore 2021-01-22 13:14:35 +01:00
Henrik Giesel
5ee3e0d0d7 Add PreferenceStore with gettable/settable preferences
* setting is not yet hooked up to rslib
2021-01-22 13:14:33 +01:00
Henrik Giesel
1516f5c37e Add GraphsPreferences endpoint to backend 2021-01-22 13:13:48 +01:00
Henrik Giesel
e8169c5b54 Add first GraphPreferences which are not hooked to backend yet 2021-01-22 13:13:48 +01: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