Damien Elmes
ce2315591f
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
bdc5c619f7
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
089960bfef
Use scaleSqrt for calendar review values
2021-01-22 22:39:29 +01:00
Henrik Giesel
bf130d1da0
Change the function name in genbackend.py
2021-01-22 20:05:28 +01:00
Henrik Giesel
de71123ab4
Rename GraphsPreferencesOut to simply GraphsPreferences
2021-01-22 19:39:03 +01:00
Henrik Giesel
17ebb69151
Make code typecheck, fix issue with day labels in nightMode
2021-01-22 19:02:05 +01:00
Henrik Giesel
ebd3ca8a8f
Set calendar labels to emptyColour
2021-01-22 18:15:16 +01:00
Henrik Giesel
834f2de99b
Make cardCountsSeparateInactive settable
2021-01-22 18:03:58 +01:00
Henrik Giesel
806e52d6db
Make first day of week settable through UI
2021-01-22 17:51:15 +01:00
Henrik Giesel
aebaa04652
Uniformly rename firstWeekday to firstDayOfWeek
2021-01-22 16:53:33 +01:00
abdo
0110102ea2
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
Henrik Giesel
b0c2e8c99c
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
d1ada88657
Successfully send post request to rust
2021-01-22 14:37:24 +01:00
Henrik Giesel
054c30a695
Add non-functioning logic for settings graphs preferences
2021-01-22 13:14:35 +01:00
Henrik Giesel
64352ce0d5
Hook up cardCountsSeparateInactive to PreferenceStore
2021-01-22 13:14:35 +01:00
Henrik Giesel
5fc8b1965a
Add PreferenceStore with gettable/settable preferences
...
* setting is not yet hooked up to rslib
2021-01-22 13:14:33 +01:00
Henrik Giesel
665a13e378
Add GraphsPreferences endpoint to backend
2021-01-22 13:13:48 +01:00
Henrik Giesel
d27167ce86
Add first GraphPreferences which are not hooked to backend yet
2021-01-22 13:13:48 +01:00
Henrik Giesel
1df6c5f596
Avoid highlighting of toprightbuttons to shift the topbar
2021-01-22 12:53:45 +01:00
Henrik Giesel
9226d50185
Space items by using margins instead of spaces
...
* also changed name of topbutton container back to topbutsOuter as it is clearer
* starting with Chromium 83, `row-gap` would be better suited for this
2021-01-22 12:17:10 +01:00
Henrik Giesel
97f8f1b89e
Switch from floating windows and clearfix to flex and justify-content: space-between
2021-01-22 11:37:11 +01:00
Damien Elmes
0c35d30979
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
a1e8e6d9df
Merge pull request #936 from hgiesel/editorresize
...
Leave resizing of editor top buttons to CSS
2021-01-22 13:11:43 +10:00
abdo
426ea1aba9
Move the logic for selecting a note type to models.py
2021-01-22 05:56:39 +03:00
Damien Elmes
99d732799c
(de)serialize Weekday directly
...
Re: discussion in https://github.com/ankitects/anki/pull/934
2021-01-22 12:12:57 +10:00
Damien Elmes
e2af5fb718
Merge pull request #933 from hgiesel/calendardays
...
Add labels to calendar days
2021-01-22 11:52:44 +10:00
Damien Elmes
e27f64f018
update translations
2021-01-22 11:01:48 +10:00
Damien Elmes
025af52c9f
add another example and tweak wording at top
2021-01-22 11:00:19 +10:00
Damien Elmes
dd2c52861e
Merge pull request #937 from RumovZ/clarify-ftl-hints
...
Clarify comments in search.ftl
2021-01-22 10:53:29 +10:00
Damien Elmes
a77aa6b65a
handle non-chunked graves from AnkiDroid
2021-01-22 10:00:25 +10:00
RumovZ
9e8f74c3e2
Clarify comments in search.ftl
2021-01-22 00:11:09 +01:00
Henrik Giesel
1f4de7fe4b
Adjust the positioning of the editor toolarea via CSS
2021-01-21 21:36:33 +01:00
Henrik Giesel
2946843b81
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
e91a4b4362
Remove javascript resizing code from editor.ts
2021-01-21 19:59:16 +01:00
Henrik Giesel
d1980aae68
Get weekday labels via Date.prototype.toLocaleString
2021-01-21 19:38:56 +01:00
Henrik Giesel
d961e61f2b
Revert "Make weekday labels localizable"
...
This reverts commit 8e39ebb2f5
.
2021-01-21 18:56:56 +01:00
abdo
918bba6365
Add manage note types menu item to the sidebar
2021-01-21 20:27:20 +03:00
Damien Elmes
ed7e709285
update pinned Bazel version to 4.0 release
2021-01-21 19:58:41 +10:00
Damien Elmes
6d8a9a7ef5
Merge pull request #930 from hgiesel/editorts
...
Refactor editor.ts
2021-01-21 10:44:11 +10:00
Damien Elmes
ce50b1cddf
add missing file header
2021-01-21 10:31:34 +10:00
Henrik Giesel
8ab2b36034
Support languages with day labels larger than one character
2021-01-20 22:07:02 +01:00
Henrik Giesel
8e39ebb2f5
Make weekday labels localizable
2021-01-20 21:49:01 +01:00
Henrik Giesel
e91b80d270
Add labels to calendar days
2021-01-20 21:17:36 +01:00
Henrik Giesel
6262997599
Explicitly execute code deactivating button focus from editor.py
2021-01-20 17:06:08 +01:00
Damien Elmes
d255f25019
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
29741b7b8a
try to improve GitHub's language stats
2021-01-20 13:11:52 +10:00
Damien Elmes
bc2257da39
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
0fc4c21dcc
Add filter remove/rename actions to the sidebar
2021-01-20 03:26:53 +03:00
Damien Elmes
fca2a95ad5
Merge pull request #931 from hgiesel/reviewsgraph
...
Retouch the reviews graph a little bit
2021-01-20 09:32:42 +10:00
Damien Elmes
31ce1c2a13
update translations
2021-01-20 09:25:07 +10:00