Commit graph

53 commits

Author SHA1 Message Date
Kelrap
dc79b98ea6
More thorough error logging (#1297)
* Data is required for .logError

* Edit data for readability

* remove commented out breadcrumbs

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2024-12-23 15:05:17 -05:00
ggurdin
341f44090d
use target tokens instead of target constructs to get practice activi… (#1274)
* use target tokens instead of target constructs to get practice activity uses

* save morph construct for token parts of speech
2024-12-18 16:08:33 -05:00
ggurdin
43040c4010
only show 100 most recent uses in level bar popup (#1224) 2024-12-12 11:00:38 -05:00
ggurdin
dee409e41d
added level bar popup with XP, level, and recent construct use info (#1217) 2024-12-11 16:55:42 -05:00
ggurdin
e40dc33c0c
fix categorization issues, combine broad/specific categories at the first stage of processing instead of during category sorting (#1136) 2024-12-03 16:00:52 -05:00
wcjord
f498727fe0 tweaks to token selection for activities 2024-12-03 14:20:12 -05:00
ggurdin
2397c8f78d
1123 multiple options are highlighted and cant move to the next item (#1124)
* once user has selected correct choice, disable further interaction

* if not include tts on click, don't play tts on correct choice selected

* fix range error when logging warning about having multiple 'other' categories
2024-12-02 11:20:11 -05:00
ggurdin
401a26ef85
Sentry (#1111)
* better error logging when requesting notifications permission

* check that speech to text card in mounted before calling setState

* only log first 10 entries in other category keys list
2024-11-27 12:19:11 -05:00
ggurdin
7e34f40a48
log error if there's more than 1 'other' category in analytics (#1109) 2024-11-26 15:41:04 -05:00
ggurdin
7ff4efadbc
if totalXP calculation is negative, reset to 0 (#1107) 2024-11-25 14:56:46 -05:00
ggurdin
ff0ab7e00b
call async version of teachers in inviteSpaceTeachersToAnalyticsRoom … (#1082)
* call async version of teachers in inviteSpaceTeachersToAnalyticsRoom to ensure teachers aren't double invited to analytics rooms

* log breadcrumb on error getting message offset

* better error logging for activity fromJSON method
2024-11-21 09:34:27 -05:00
ggurdin
27e829380c
group uncategorized constructs in with constructs with matching typing and lemma (#1063) 2024-11-19 15:36:25 -05:00
ggurdin
22f33b0a85
Revert "group together 'other' category with more specific categories (#1026)" (#1045)
This reverts commit 25ddceac7b.
2024-11-18 17:19:41 -05:00
ggurdin
25ddceac7b
group together 'other' category with more specific categories (#1026) 2024-11-18 17:17:51 -05:00
ggurdin
c2ca1b24f5
fix getCategory function 2024-11-15 15:08:01 -05:00
ggurdin
374dab8031
manage getting construct uses with category 'other' 2024-11-15 12:59:04 -05:00
ggurdin
4a518e053b
sort construct list on construct list update, don't repeat sort operation 2024-11-13 09:40:23 -05:00
ggurdin
9d49a5542d
resolve merge conflicts 2024-11-13 09:19:28 -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
William Jordan-Cooley
b37074459e guess grammar category when missing, saving form when available 2024-11-12 16:33:59 -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
2a813a1339
resolve merge conflicts 2024-11-07 12:53:18 -05:00
ggurdin
89088779e9
make ConstructListModel updatable and added models for vocab and morphs to GetAnalyticsController 2024-11-07 12:09:27 -05:00
William Jordan-Cooley
c297dea437 some questions, name changes, and a couple switches from grammar to morph uses 2024-11-06 20:25:30 -05:00
ggurdin
71b090683d
use ConstructIdentifier to sort constructs into groups 2024-11-04 09:51:09 -05:00
ggurdin
2a94d09968
backwards backwards compatibility for constructs category data 2024-11-01 16:04:53 -04:00
ggurdin
00cb1f1c75
handling for 'cat' model key 2024-11-01 15:23:06 -04:00
ggurdin
da6d64972b
add categories to analytics display 2024-11-01 15:19:52 -04:00
ggurdin
6b643a841a
make construct use category a String? instead of a list, set it to POS for vocab constructs 2024-11-01 13:59:23 -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
00d6277bc6 some code cleanup and comments 2024-10-24 12:48:51 -04:00
ggurdin
879a52c81f
responded to comment from Will in client code, added fix for mini analytics view level display 2024-10-07 14:48:14 -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
0265019284
added 'categories' field to construct use model and started saving morph category 2024-09-06 10:52:13 -04:00
ggurdin
14ba8bf47b
merge main into analytics branch 2024-08-30 10:28:56 -04:00
ggurdin
54040d841a
add draft construct uses while using language assistance, added morphs to learning progress indicators 2024-08-21 14:01:24 -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
ggurdin
e7d176d182
moved functions for constructing constructs out of pangea message event so they can be created without direct access to the representation event 2024-07-30 10:21:33 -04:00
ggurdin
c5187c7639
added learning summary to chat list, removed references to summary analytics 2024-07-29 14:52:09 -04:00
William Jordan-Cooley
c6d3f36805 saving of tokens, changing of top language calculation, documentation 2024-06-30 18:31:53 -04:00
William Jordan-Cooley
5c8666b3e2 rough draft complete 2024-06-28 15:31:35 -04:00
William Jordan-Cooley
8ceb7851e5 refactoring of my analytics controller and related flows 2024-06-28 11:36:10 -04:00
ggurdin
df611e5f82 only show top-level spaces in analytics 2024-06-14 12:17:57 -04:00
ggurdin
c8b38ab073 fix for construct caching issues with other user's analytics showing up in the logged in user's analytics 2024-06-13 16:06:07 -04:00