Commit graph

81 commits

Author SHA1 Message Date
Damien Elmes
dfcf1c02b7 handle preview cards in graphs 2020-07-30 09:11:18 +10:00
Damien Elmes
3a1e4a6500 Revert "svelte-check doesn't want a CSS string"
This reverts commit 3f62c1f79d.

Now they do again.🤷
2020-07-29 12:06:33 +10:00
Damien Elmes
3f62c1f79d svelte-check doesn't want a CSS string 2020-07-28 11:16:10 +10:00
Damien Elmes
17ffe1e05d backlog fix
private message:
https://forums.ankiweb.net/t/issues-on-stats-page-anki-2-1-28beta6/1114
2020-07-27 12:10:45 +10:00
Damien Elmes
94e4ee159a fix handling of due reviews in filtered deck+future due graph 2020-07-26 10:28:56 +10:00
Damien Elmes
fcdc48622a include learning cards due today in future due graph 2020-07-24 11:09:22 +10:00
Damien Elmes
d460549b8f ask user to check db when graphs fail to load 2020-07-24 09:56:28 +10:00
Damien Elmes
55be3a9388 letter-spacing breaks RTL layout
https://forums.ankiweb.net/t/anki-2-1-29-beta/1220/8
2020-07-22 15:26:29 +10:00
Damien Elmes
baa40ee46c hacks to fix (misaligned (rtl text
To fix this properly the string concatenation should probably be
broken into separate i18n strings and placed in Fluent

https://forums.ankiweb.net/t/anki-2-1-29-beta/1220/8
2020-07-22 15:15:52 +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
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
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
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