Commit graph

48 commits

Author SHA1 Message Date
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
0fcc119c9a
improved logging for acceptReplacement index error (#1245)
* improved logging for acceptReplacement index error

* replace flutter_html package with fork with fix for safari regex

* better logging for cast error in PracticeActivityModel.fromJson
2024-12-13 14:25:34 -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
ggurdin
ceea63b3a2
don't play target tokens on practice activity init if it's a hidden word activity (#1121) 2024-12-02 09:47:06 -05:00
wcjord
78cb3afe0b
word focus turned off and tts on Choice click (#1118)
* word focus turned off and tts on Choice click

* play audio on word selection
2024-11-29 17:47:00 -05:00
ggurdin
852bdfb534
Sentry (#1094)
* removed unreferences functions

* better error logging for null lang_code String in PracticeActivityModel.fromJson

* updated to dialogs while joining space with code
2024-11-22 14:27:41 -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
82359a11fa
Sentry (#1077)
* better error logging in voiceMessageAction

* replace firstWhere with firstWhereOrNull in fromJson methods
2024-11-20 14:39:38 -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
374dab8031
manage getting construct uses with category 'other' 2024-11-15 12:59:04 -05:00
William Jordan-Cooley
f85c4b2169 refactoring of practice flow 2024-11-15 11:02:31 -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
d91afc6e05
update ConstructListModel to get all analytics metrics 2024-11-08 13:58:56 -05:00
ggurdin
17e295b168
Merge branch 'main' into 896-group-constructs-according-to-categories 2024-11-05 09:47:26 -05:00
ggurdin
fe41800e05
Exclude the word_focus_listening activity from the list of client compatible activities 2024-11-04 14:55:40 -05:00
ggurdin
71b090683d
use ConstructIdentifier to sort constructs into groups 2024-11-04 09:51:09 -05:00
ggurdin
00cb1f1c75
handling for 'cat' model key 2024-11-01 15:23:06 -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
William Jordan-Cooley
00d6277bc6 some code cleanup and comments 2024-10-24 12:48:51 -04:00
William Jordan-Cooley
6d7ef49d91 bring back set analytics in updateChoice 2024-10-23 15:35:50 -04:00
ggurdin
aad699d6bd
better error handling for null content in practice activity fromJSON method 2024-10-22 09:21:50 -04:00
William Jordan-Cooley
bc20769daa dont give old clients new activity types and catch old activity content better 2024-10-21 16:39:34 -04:00
ggurdin
ac80e6217c
Audio section widget (#744)
first draft of word focus listening activities using text to speech library
2024-10-21 12:53:34 -04:00
ggurdin
18d2399c54
add activity feedback to activity request hashcode to ensure new activity is fetched after giving feedback 2024-10-11 10:53:42 -04:00
William Jordan-Cooley
9680662c1b client will pass time of req to remove possibility of different times there 2024-10-09 10:02:41 -04:00
ggurdin
f20aaa70d5
cast score as int before sending to the server 2024-10-08 16:43:27 -04:00
wcjord
b8edf595ca
Toolbar practice (#707)
* remove print statement

* ending animation, savoring joy, properly adding xp in session

* forgot to switch env again...

* increment version number

* about to move toolbar buttons up to level of overlay controller

* added ability to give feedback and get new activity
2024-10-03 17:19:31 -04:00
wcjord
51e8c4b7ce
Toolbar practice (#704)
* remove print statement

* ending animation, savoring joy, properly adding xp in session
2024-10-03 11:37:26 -04:00
William Jordan-Cooley
f9ad45d203 intelligently choosing tokens and passing all their info 2024-10-02 17:40:16 -04:00
William Jordan-Cooley
8bffe17455 passing practice model instead of activity? 2024-10-02 14:58:29 -04:00
William Jordan-Cooley
f589d2371b exit practice if no activities to do 2024-09-26 13:47:51 -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
4278f7b196
get analytics events directly from server, cache last update time for user's l2 2024-08-06 13:40:53 -04:00
William Jordan-Cooley
bca1b87677 added span display details to activity 2024-07-07 19:31:29 -04:00
William Jordan-Cooley
923d39eab6 drafted - need and correctly assembling records and unsaved msgs - need to confirm that constructs are being assembled 2024-06-28 17:08:46 -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
b12efe7e80 updates to improve navigation of practice activities 2024-06-26 15:28:58 -04:00
William Jordan-Cooley
a9ee9061b3 fixing latestResponse 2024-06-25 15:24:58 -04:00
William Jordan-Cooley
15f493709f client set up to recieve and display multiple choice questions with some display tweaks 2024-06-23 14:09:26 -04:00
William Jordan-Cooley
d6a56cbd43 successfully received/completed bot-generated practice activity 2024-06-22 13:26:12 -04:00
William Jordan-Cooley
5d5b35b4eb switch to enum for construct type 2024-06-13 12:43:29 -04:00
William Jordan-Cooley
91d7600c5d display, interactivity, saving/fetching of record, and dummy generation all done 2024-06-12 17:34:42 -04:00
William Jordan-Cooley
1dcd988be0 skeleton of practice activities 2024-06-06 18:05:16 -04:00