Commit graph

15 commits

Author SHA1 Message Date
ggurdin
4a518e053b
sort construct list on construct list update, don't repeat sort operation 2024-11-13 09:40:23 -05:00
wcjord
d554d72019
Hidden-words (#950)
* controller for calculating tokens with xp

* Update main.dart

* replace ConstructWithXP with ConstructUses

* wait for analytics data to load before setting token analytics for practice activities

* pull tokenwithxp constructs from getAnalyticsModel ConstructListModel

* added commented out workaround for server not returning target constructs

* still some bugs but its working

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2024-11-12 19:22:01 -05:00
ggurdin
ce96984441
don't call .floor() on level calculation if NaN or infinity, better error logging if calculated level in NaN or infinity 2024-11-11 09:33:11 -05:00
ggurdin
d91afc6e05
update ConstructListModel to get all analytics metrics 2024-11-08 13:58:56 -05:00
ggurdin
615ed7ad98
merge analytics updates into category branch 2024-11-07 13:32:16 -05:00
ggurdin
89088779e9
make ConstructListModel updatable and added models for vocab and morphs to GetAnalyticsController 2024-11-07 12:09:27 -05:00
ggurdin
71b090683d
use ConstructIdentifier to sort constructs into groups 2024-11-04 09:51:09 -05:00
ggurdin
da6d64972b
add categories to analytics display 2024-11-01 15:19:52 -04:00
ggurdin
662098ee4c
use filtered construct list and number of lemmas in learning analytics view 2024-10-31 14:46:48 -04:00
William Jordan-Cooley
f9ad45d203 intelligently choosing tokens and passing all their info 2024-10-02 17:40:16 -04:00
wcjord
a1f9e6a243
Toolbar practice (#702)
* drafting toolbar with practice

* moved some code around

* turning overlay message content into text buttons for selection, updated toolbar buttons progress bar

* activities displaying and forwarding toolbar

* experimenting with using choice value rather than index for logic

* reimplementation of wordnet results and translation for individual words

* cache and timer

* mostly done with activities in toolbar flow

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: choreo development <williamjordan-cooley@Williams-MacBook-Pro-3.local>
2024-09-25 17:01:58 -04:00
ggurdin
790223e68c
added popup for analytics indicators to show xp per lemma 2024-09-06 12:17:18 -04:00
ggurdin
75234e6a6f
inital work for having a 2-stage progress bar and saving draft analytics locally 2024-08-14 09:07:10 -04:00
ggurdin
9f69360f24
use construct use type pointValues to calculate XP and level 2024-07-31 12:52:43 -04:00
ggurdin
4ede7c9bdd
store new construct uses locally. use a combination of those and stored analytics events to update mini analytics UI. 2024-07-30 16:44:12 -04:00