Commit graph

139 commits

Author SHA1 Message Date
BroodjeAap
14caf52020 Removed 'emptyStats' stuff, using null 2020-11-16 21:29:50 +01:00
BroodjeAap
c7800a3f62 refactored stat tablerow rendering a bit 2020-11-16 21:28:52 +01:00
BroodjeAap
413b1fd133 added all practice stats 2020-11-16 20:57:59 +01:00
BroodjeAap
60d09ee192 Finished month row of stats 2020-11-16 20:09:48 +01:00
BroodjeAap
ae2264c706 added rounding to 1 decimal place to sqlite answer stats queries 2020-11-16 20:09:36 +01:00
BroodjeAap
bc8b08bcf4 Got single value working for month practice 7d 2020-11-16 19:51:40 +01:00
BroodjeAap
3a25d17c94 Actually return something from the getStats function... 2020-11-16 19:51:18 +01:00
BroodjeAap
05d541335c removed rounding from getStats 2020-11-12 17:30:49 +01:00
BroodjeAap
e3faf41b83 Working percentage correct stats coming from the sqlite database, now to display them (and test the whole thing...) 2020-11-10 17:45:32 +01:00
BroodjeAap
65846043df Fixed time filtering for week/month stats 2020-11-10 17:44:58 +01:00
BroodjeAap
a127691f65 Added ratio back in, and empty stats Map 2020-11-10 17:33:27 +01:00
BroodjeAap
5c056fa101 have working correct/incorrect/total/ratio values for every type from a 'single' query in getStats() 2020-11-09 21:49:29 +01:00
BroodjeAap
f9ecd40a10 added proper true/false value for boolean column 2020-11-09 21:48:34 +01:00
BroodjeAap
df3e6b8e51 in between commit to save some possibly useful views 2020-11-09 20:54:59 +01:00
BroodjeAap
e445b121e3 working basic percentage of correct 'all' answers 2020-11-09 20:33:15 +01:00
BroodjeAap
ba77cf2c94 leftover for 'correct' field 2020-11-09 20:32:20 +01:00
BroodjeAap
d10f2ad861 Added 'correct' field to practice answer to make database queries easier 2020-11-09 20:16:25 +01:00
BroodjeAap
50f64ec4e8 Fixed join of tables in answerview 2020-11-09 20:14:54 +01:00
BroodjeAap
c17f5fd568 added convenience view for answers 2020-11-09 18:05:32 +01:00
BroodjeAap
2c6802d6b6 basic working answer query 2020-11-09 17:55:55 +01:00
BroodjeAap
0e740eba16 added noResult param to batch.commit to speed it up 2020-11-09 17:39:10 +01:00
BroodjeAap
15e4513b0f refactored the database part a bunch, now have two tables, session and answer 2020-11-06 17:44:32 +01:00
BroodjeAap
9fb029da20 Added sqlite database for answers 2020-11-05 21:50:40 +01:00
BroodjeAap
e2e9c314af Added modulo 7 practice 2020-11-03 20:53:56 +01:00
BroodjeAap
0176a2f333 Added leap year practice TODO change buttons for this? 2020-11-03 20:41:31 +01:00
BroodjeAap
29a9441e1d Added century practice 2020-11-03 20:27:17 +01:00
BroodjeAap
b6e4ab0ae8 fixed practice route to be more generic 2020-11-03 20:26:56 +01:00
BroodjeAap
06f2ed6656 Moved answers and random to abstract class of PracticeThing 2020-11-03 20:10:59 +01:00
BroodjeAap
945360e0e2 More generalised practice stuff 2020-11-03 20:03:49 +01:00
BroodjeAap
ba7c909ac4 removed some 'month' specific things from practice page 2020-11-02 17:22:49 +01:00
BroodjeAap
25874a711d Refactored practice system again 2020-11-01 21:48:51 +01:00
BroodjeAap
3b0c87328c refactored routes to use onGenerateRoute 2020-11-01 20:43:46 +01:00
BroodjeAap
5bde7ee9c2 Made the question 'system' more generic 2020-11-01 16:49:04 +01:00
BroodjeAap
edf2556752 Fixed dialog box at the end of practice 2020-10-27 21:25:53 +01:00
BroodjeAap
a0ce8e9230 redesigned practice setup page to allow for different type of practicing 2020-10-27 21:18:40 +01:00
BroodjeAap
7864ede6ee Fixed the route to practice setup page 2020-10-27 21:18:17 +01:00
BroodjeAap
034d787731 Added a dialog popup when month practice is complete 2020-10-26 17:51:53 +01:00
BroodjeAap
088817ad66 Moved some files around for practice pages 2020-10-25 16:40:30 +01:00
BroodjeAap
c7dbd1520f added some simple tests for Months class 2020-10-20 17:22:48 +02:00
BroodjeAap
4ede1c3efd added proper DayCalculator test group 2020-10-20 17:15:17 +02:00
BroodjeAap
27f99d9866 added some tests for Months class 2020-10-20 17:13:33 +02:00
BroodjeAap
771c411723 updated getMonthValueByString in DayCalculator to use Months class 2020-10-20 17:04:33 +02:00
BroodjeAap
0de095167e updated getMonthValue in DayCalculator to use Months class 2020-10-20 17:03:56 +02:00
BroodjeAap
d78746fa87 removed unneeded 'new' everywhere 2020-10-20 17:02:21 +02:00
BroodjeAap
88eb570f63 can now hide correct month values when practicing 2020-10-19 17:44:44 +02:00
BroodjeAap
3e632627fe reduced max month practice rounds to something more realistic (500) 2020-10-19 17:32:49 +02:00
BroodjeAap
8bb558e3f4 improved layout of month practice setup page a bit 2020-10-19 17:28:35 +02:00
BroodjeAap
8e64a87631 set default month practice count to 12 2020-10-19 17:25:28 +02:00
BroodjeAap
185e913827 Added short (2 answer) history to month practice, with right answers 2020-10-18 15:35:24 +02:00
BroodjeAap
80ad0cdef4 Bigger numbers on month practice and capitalizing the month 2020-10-18 15:12:43 +02:00