Commit Graph

32 Commits (be7bb5dd3600ac8fd4464b1e03999ba62c946a9d)

Author SHA1 Message Date
ggurdin be7bb5dd36
fix: don't play activity target tokens on init (#1342) 11 months ago
ggurdin 1317989db0
1179 toolbar changes (#1209)
* updated toolbar buttons

* initial work for toolbar updates

* Add WordZoomWidget to display word and lemma information (#1214)

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/pangeachat/client/tree/1179-toolbar-changes?shareId=XXXX-XXXX-XXXX-XXXX).

* word zoom card prototyped, activity generation in progress

* adding copy for new construct uses

* laying down TODOs

* initial work for word zoom card

* Always add part of speech to token's morph list

* Prevent duplicate choices in lemma activity

* Don't play token audio at start of morph activity

* Only grant +1 points for emoji activity

* Uncomment tryToSpeak function

* Always update activity once complete

* Added queuing / UI logic for morph activity buttons

* code cleanup

* added required data argument to logError calls

* fix overflowing practice activity card and audio player on mobile

---------

Co-authored-by: wcjord <32568597+wcjord@users.noreply.github.com>
11 months ago
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
11 months ago
ggurdin e40dc33c0c
fix categorization issues, combine broad/specific categories at the first stage of processing instead of during category sorting (#1136) 12 months ago
ggurdin ceea63b3a2
don't play target tokens on practice activity init if it's a hidden word activity (#1121) 12 months ago
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
12 months ago
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
12 months ago
ggurdin 82359a11fa
Sentry (#1077)
* better error logging in voiceMessageAction

* replace firstWhere with firstWhereOrNull in fromJson methods
1 year ago
ggurdin 27e829380c
group uncategorized constructs in with constructs with matching typing and lemma (#1063) 1 year ago
ggurdin 22f33b0a85
Revert "group together 'other' category with more specific categories (#1026)" (#1045)
This reverts commit 25ddceac7b.
1 year ago
ggurdin 25ddceac7b
group together 'other' category with more specific categories (#1026) 1 year ago
ggurdin 374dab8031
manage getting construct uses with category 'other' 1 year ago
William Jordan-Cooley f85c4b2169 refactoring of practice flow 1 year ago
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>
1 year ago
ggurdin d91afc6e05
update ConstructListModel to get all analytics metrics 1 year ago
ggurdin 71b090683d
use ConstructIdentifier to sort constructs into groups 1 year ago
ggurdin 00cb1f1c75
handling for 'cat' model key 1 year ago
ggurdin 6b643a841a
make construct use category a String? instead of a list, set it to POS for vocab constructs 1 year ago
William Jordan-Cooley 6d7ef49d91 bring back set analytics in updateChoice 1 year ago
ggurdin aad699d6bd
better error handling for null content in practice activity fromJSON method 1 year ago
ggurdin ac80e6217c
Audio section widget (#744)
first draft of word focus listening activities using text to speech library
1 year ago
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
1 year ago
William Jordan-Cooley f9ad45d203 intelligently choosing tokens and passing all their info 1 year ago
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>
1 year ago
William Jordan-Cooley bca1b87677 added span display details to activity 1 year ago
William Jordan-Cooley 923d39eab6 drafted - need and correctly assembling records and unsaved msgs - need to confirm that constructs are being assembled 1 year ago
William Jordan-Cooley 5c8666b3e2 rough draft complete 1 year ago
ggurdin b12efe7e80 updates to improve navigation of practice activities 1 year ago
William Jordan-Cooley d6a56cbd43 successfully received/completed bot-generated practice activity 1 year ago
William Jordan-Cooley 5d5b35b4eb switch to enum for construct type 1 year ago
William Jordan-Cooley 91d7600c5d display, interactivity, saving/fetching of record, and dummy generation all done 1 year ago
William Jordan-Cooley 1dcd988be0 skeleton of practice activities 1 year ago