Henrik Giesel
5abd7ae6f3
Add bridgeCommand helper function
2021-01-26 01:25:54 +01:00
Henrik Giesel
5a987d77b2
Use browserLinksSupported preference
2021-01-25 19:12:32 +01:00
Henrik Giesel
759ed17963
Move dispatch logic from Histogram to individual graphs
2021-01-25 16:34:44 +01:00
Henrik Giesel
f767a5e6ca
Make calendar only clickable, if counts > 0
2021-01-25 13:47:20 +01:00
Henrik Giesel
7f671cf837
Add search functionality to Calendar view
2021-01-25 13:47:18 +01:00
Henrik Giesel
f1c8879830
Add search functionality for ease graph
2021-01-25 13:46:44 +01:00
Henrik Giesel
0e98bd7db2
Normalize the remaining queries
2021-01-25 13:46:44 +01:00
Henrik Giesel
fd58f73f13
Fix up histogram code to correctly hide tooltip again
2021-01-25 13:46:44 +01:00
Henrik Giesel
740dcedbe6
Normalize intervals query
2021-01-25 13:46:44 +01:00
Henrik Giesel
2fd4039494
Add query functionality to FutureDue graph
2021-01-25 13:46:44 +01:00
Henrik Giesel
8a43745f83
Remove onlyReview from intervals query
2021-01-25 13:46:44 +01:00
Henrik Giesel
1232fd7069
Add search functional on interval graph
2021-01-25 13:46:44 +01:00
Henrik Giesel
58950452e4
Add search to added graph
2021-01-25 13:46:44 +01:00
Henrik Giesel
6a0f2a0ebb
Export bridgeCommandsSupported from graphs.rs for stats
2021-01-25 13:46:44 +01:00
Henrik Giesel
3ab92b3427
Add a working example of searching from the stats screen in the Card Counts
2021-01-25 13:46:42 +01:00
Henrik Giesel
c8f0ee8b3b
Add search event listeners on graphs
2021-01-25 13:45:42 +01:00
Henrik Giesel
19db519a7e
Fix RangeBox RevlogRange defaulting to All instead of Year
2021-01-23 13:57:43 +01:00
Damien Elmes
2a875ffc55
Merge pull request #934 from hgiesel/graphprefs
...
Add GraphsPreferences API to graphs for setting persistent preferences
2021-01-23 21:24:41 +10:00
Damien Elmes
37ca8afaf6
minor wording tweak: GraphsPreferences -> GraphPreferences
2021-01-23 20:47:45 +10:00
Damien Elmes
6f798930a2
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
089960bfef
Use scaleSqrt for calendar review values
2021-01-22 22:39:29 +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
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
Damien Elmes
e2af5fb718
Merge pull request #933 from hgiesel/calendardays
...
Add labels to calendar days
2021-01-22 11:52:44 +10: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
Damien Elmes
6d8a9a7ef5
Merge pull request #930 from hgiesel/editorts
...
Refactor editor.ts
2021-01-21 10:44:11 +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
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
Henrik Giesel
a656dd5541
Turn Running total box transparent
2021-01-19 12:50:02 +01:00
Henrik Giesel
d780c96b28
Change colors of Reviews graph
2021-01-19 12:22:13 +01:00
Henrik Giesel
47d26126e7
Switch to iterables for elem.style and elem.attributes
2021-01-19 02:48:41 +01:00
Henrik Giesel
a5947e5c65
Satisfy formatter
2021-01-19 00:17:30 +01:00
Henrik Giesel
4a733de94e
Use firstWeekday config in graphs data
2021-01-18 23:23:55 +01:00
Damien Elmes
8c6d0e6229
move exports_files call into ts/BUILD.bazel
...
Suspect it has caused a regression when building from an external
repo.
2021-01-09 18:03:26 +10:00
Damien Elmes
3dad3c90d0
add .sql file formatter
...
Uses the logic from the sqltools VSCode add-on, with a workaround
for the use of 'type' in some table columns.
By detecting the presence of 'BUILD_WORKSPACE_DIRECTORY' we can tell
if the rule is running in test mode or was run directly, avoiding the
need for separate check and fix rules. It might be nice to extend this
to other formatting rules in the future as well.
2021-01-09 14:22:49 +10:00
Henrik Giesel
1abcbdd79c
Include review and relearn cards for ease graph
2021-01-08 17:57:47 +01:00