Commit graph

74 commits

Author SHA1 Message Date
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
Damien Elmes
81b6900cf6 avoid needless npm install invocation 2020-06-29 15:48:01 +10:00
Damien Elmes
693fcfce7d i18n card counts 2020-06-29 15:48:01 +10:00
Damien Elmes
cebf22d749 i18n today section 2020-06-29 15:48:01 +10:00
Damien Elmes
349eca843b get i18n working in typescript 2020-06-29 15:48:01 +10:00
Damien Elmes
8200571f9d review graph and tooltip improvements 2020-06-29 15:48:01 +10:00
Damien Elmes
d17361effb basics of review graph 2020-06-29 15:48:01 +10:00
Damien Elmes
5d64be93d7 smooth area path 2020-06-29 15:48:01 +10:00
Damien Elmes
ee6731dc68 add future due / "forecast" graph 2020-06-29 15:48:01 +10:00
Damien Elmes
5dafafe438 progress, top bar 2020-06-29 15:48:01 +10:00
Damien Elmes
1048548d40 hour graph 2020-06-29 15:48:01 +10:00
Damien Elmes
0293f2220c qt's js code now shares ts/node_modules; more graph work 2020-06-29 15:48:01 +10:00
Damien Elmes
4d88b6521d cards added graph 2020-06-29 15:48:01 +10:00
Damien Elmes
86df5fe385 add an ease graph 2020-06-29 15:48:01 +10:00
Damien Elmes
ce0a77df51 add separate histogram graph component 2020-06-29 15:48:01 +10:00
Damien Elmes
ab6cdced94 split hover text out, fix bugs 2020-06-29 15:48:01 +10:00