Commit graph

71 commits

Author SHA1 Message Date
BroodjeAap
20e3e5b6e1 removed switch to decide what instruction to show, just use the PracticeType String to create the route and naviate to that 2020-12-21 16:03:27 +01:00
BroodjeAap
1f5558bef4 Changed instructions to a page instead of SimpleDialog, which was being annoying with state 2020-12-21 15:55:57 +01:00
BroodjeAap
0046da73a0 removed an unused field 2020-12-21 15:38:48 +01:00
BroodjeAap
ff95e415d2 Added styling to 'finished practice' dialog title 2020-12-05 17:05:24 +01:00
BroodjeAap
bc778ba1a5 Initial month instruction dialog done 2020-12-05 16:44:50 +01:00
BroodjeAap
2c1e98d896 switched to horizontal numberpicker, scrolling is weird tho, still up/down... 2020-12-05 16:04:37 +01:00
BroodjeAap
d0f03c80d7 fixed absolute paths after appdrawer move 2020-12-05 15:50:13 +01:00
BroodjeAap
b202ad6ad6 removed some unused imports 2020-11-23 17:35:06 +01:00
BroodjeAap
65792178f4 Removed db test code 2020-11-23 17:34:05 +01:00
BroodjeAap
1728ef4690 Fixed answer db views, seperate name for generated time in seconds 2020-11-23 17:33:31 +01:00
BroodjeAap
d81de96800 some test code to quickly fill te database 2020-11-23 17:30:33 +01:00
BroodjeAap
bb89cfd2c0 switched to absolute package import for PracticeAnswer 2020-11-23 17:30:13 +01:00
BroodjeAap
9d2b636d7d working year practice thing 2020-11-21 16:52:03 +01:00
BroodjeAap
7ffd19c7f1 capitalized months in month practice thing 2020-11-21 15:29:29 +01:00
BroodjeAap
bbdbb280bb removed debug print statement from database code 2020-11-21 15:28:17 +01:00
BroodjeAap
aae0d0258b added working practiceAll thing 2020-11-21 15:28:02 +01:00
BroodjeAap
6ab19b7a5f removed unused class 2020-11-21 14:03:24 +01:00
BroodjeAap
a59746fb14 moved practicething stuff 2020-11-21 13:56:19 +01:00
BroodjeAap
7cf335cdff refactored more stats table stuff, much cleaner now 2020-11-16 21:48:59 +01:00
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