Commit graph

30 commits

Author SHA1 Message Date
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
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
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
d91afc6e05
update ConstructListModel to get all analytics metrics 2024-11-08 13:58:56 -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
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
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
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
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
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
ggurdin
b12efe7e80 updates to improve navigation of practice activities 2024-06-26 15:28:58 -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