Damien Elmes
e210a3a832
ts check doesn't require build
2020-07-22 14:16:51 +10:00
Damien Elmes
35d0dcee5a
run svelte-check as part of check
2020-07-22 14:11:35 +10:00
Damien Elmes
132956e18c
fix some typescript warnings
2020-07-22 14:11:22 +10:00
Damien Elmes
67845fa401
use short form for time units in graph axis
2020-07-22 12:59:56 +10:00
Damien Elmes
348da61744
include 1+ day learning cards in future due graph
2020-07-21 14:10:32 +10:00
Damien Elmes
287b9ec3b6
switch graphRange on revlogRange change
2020-07-17 14:39:08 +10:00
Damien Elmes
2e493e07f4
add range selectors to answer button and hour graphs
2020-07-17 14:39:08 +10:00
Glutanimate
7c900abcfb
Add IDs to stats sections
...
Allows more targeted manipulation by add-ons
2020-07-16 20:44:21 +02:00
Damien Elmes
2f2195740d
tweak spacing
2020-07-16 13:28:06 +10:00
Damien Elmes
a5db274586
add table to reviews tooltip
2020-07-16 13:25:13 +10:00
Damien Elmes
550e57b4f0
add table in card count tooltip for readability
2020-07-16 13:25:02 +10:00
Damien Elmes
30b3870e1f
show all counts in tooltip
2020-07-16 12:28:31 +10:00
Damien Elmes
7504158e00
slightly increase x ticks
2020-07-16 11:53:20 +10:00
Damien Elmes
1306b7071f
increase number of y ticks
2020-07-16 11:50:04 +10:00
Damien Elmes
3b0a01bdc8
smaller button labels on a small screen
2020-07-13 20:52:57 +10:00
Damien Elmes
367a2d17ba
show daily total as well in reviews graph
2020-07-08 14:07:10 +10:00
Damien Elmes
3d8babef39
fix overlapping ranges in histograms
...
It's bin.x0 <= x < bin.x1
2020-07-08 14:01:09 +10:00
Damien Elmes
1092b4388d
another attempt at fixing review graph
...
This should correctly show today count in the 1 month/3 month graphs.
1+ year will have a very tiny bar, but the today count is not so
important at that range. I experimented with shifting the numbers
by one at the gathering stage (so -1 = today) - that makes today fit
in the previous bin, but means the bars no longer match the ticks.
2020-07-08 13:31:09 +10:00
Damien Elmes
7113e855ef
make tooltip bg stand out slightly
2020-07-07 12:11:51 +10:00
Damien Elmes
ab3fbb3667
de-emphasise axis line, but don't hide completely
2020-07-07 12:06:27 +10:00
Damien Elmes
da4facd680
fix card count graph
...
https://forums.ankiweb.net/t/anki-2-1-28-beta/629/24
2020-07-07 11:39:58 +10:00
Damien Elmes
3aafa384fc
fix bar of wrong size
2020-07-06 19:16:03 +10:00
Damien Elmes
63abfa7473
cards->reviews; total->running total
2020-07-06 19:16:03 +10:00
Damien Elmes
c22040f33d
drop 1 month period
2020-07-06 19:16:03 +10:00
Damien Elmes
214ba8ead9
update title
2020-07-06 19:16:03 +10:00
Damien Elmes
bc8d60171e
show total correct in answer buttons graph
2020-07-06 19:16:03 +10:00
Damien Elmes
097d91d143
add 'no data' overlay when graph empty
2020-07-06 19:16:03 +10:00
Damien Elmes
e635e001e3
css->scss in makefile deps
2020-07-04 13:49:50 +10:00
Damien Elmes
e46a89ddbe
limit max width of graphs
...
https://forums.ankiweb.net/t/anki-2-1-28-beta/629/19
2020-07-04 13:49:42 +10:00
Damien Elmes
a5e823f3ec
use graph for card counts
2020-07-04 13:38:46 +10:00
Damien Elmes
53377fabca
fix invalid cumulative path when no data available
2020-07-01 13:59:31 +10:00
Damien Elmes
8ee0e11f7d
cards->reviews
2020-06-30 16:50:23 +10:00
Damien Elmes
0f0789df27
fade calendar in
2020-06-30 16:39:30 +10:00
Damien Elmes
6ad4111723
graphs now work in night mode
2020-06-30 16:23:46 +10:00
Damien Elmes
f595f15d77
add basic calendar graph
2020-06-30 15:13:44 +10:00
evandrocoan
58944bad18
Fixed pbjs not working on Windows because package.json runs by
...
cmd.exe which does not support pipe | and ; semicolons
87f22bd358 (r40232987)
2020-06-29 15:22:36 -03:00
Damien Elmes
65485390d8
fix initial build: don't depend on package-lock.json
2020-06-29 16:45:43 +10:00
Damien Elmes
d6360d18bd
switch added/future range based on revlog selection
...
Neither depends on the revlog, but that may not be obvious to the user.
2020-06-29 15:48:01 +10:00
Damien Elmes
823e3b964c
force a refresh when enter pressed
2020-06-29 15:48:01 +10:00
Damien Elmes
3c2231d5fd
move tooltip away from edges
2020-06-29 15:48:01 +10:00
Damien Elmes
94f75f0728
include generated js in aqt_data
2020-06-29 15:48:01 +10:00
Damien Elmes
1bfee32f90
fixes for Chromium 56 (Qt 5.9)
2020-06-29 15:48:01 +10:00
Damien Elmes
275817a558
add remaining tooltip i18n
2020-06-29 15:48:01 +10:00
Damien Elmes
a7ce130941
i18n some tooltips
2020-06-29 15:48:01 +10:00
Damien Elmes
35e706d53a
drop axis labels + add subtitles
...
This leaves more room for the graphs and avoids issues with large values
overlapping the labels. We can improve the subtitle wording to make
things clearer in the future, and the hover tooltips should also
clarify what the axes represent.
2020-06-29 15:48:01 +10:00
Damien Elmes
2994cadcb0
i18n some axis labels, and support vertical CJK text
2020-06-29 15:48:01 +10:00
Damien Elmes
042a9ff68b
i18n graph titles
2020-06-29 15:48:01 +10:00
Damien Elmes
1a16e2306f
i18n ranges
2020-06-29 15:48:01 +10:00
Damien Elmes
1c03796fcc
add timeSpan()
2020-06-29 15:48:01 +10:00
Damien Elmes
2dab086440
tidy up top area
2020-06-29 15:48:01 +10:00