Commit Graph

51 Commits (be7bb5dd3600ac8fd4464b1e03999ba62c946a9d)

Author SHA1 Message Date
ggurdin be7bb5dd36
fix: don't play activity target tokens on init (#1342) 11 months ago
ggurdin 09942aa47e
fix: simplify word zoom card, make all activity buttons stateless (#1330)
* fix: simplify word zoom card, make all activity buttons stateless

* feat: make it visually clearer which activity type is selected

* fix: give message to user when no token is selected in word zoom card

* feat: don't highlight selected token or speak selected token if message has hidden word activity

* feat: added error widgets to word zoom card

* feat: added x-out badge to word zoom activity buttons, created word zoom activity button widget

* fix: sort morph activity buttons to always have POS as first option, then having unlocked buttons before locked buttons, then alphabetically
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 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
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 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
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
ggurdin 9d49a5542d
resolve merge conflicts 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
William Jordan-Cooley b37074459e guess grammar category when missing, saving form when available 1 year ago
ggurdin d91afc6e05
update ConstructListModel to get all analytics metrics 1 year ago
ggurdin 17e295b168
Merge branch 'main' into 896-group-constructs-according-to-categories 1 year ago
ggurdin fe41800e05
Exclude the word_focus_listening activity from the list of client compatible activities 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 00d6277bc6 some code cleanup and comments 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
William Jordan-Cooley bc20769daa dont give old clients new activity types and catch old activity content better 1 year ago
ggurdin ac80e6217c
Audio section widget (#744)
first draft of word focus listening activities using text to speech library
1 year ago
ggurdin 18d2399c54
add activity feedback to activity request hashcode to ensure new activity is fetched after giving feedback 1 year ago
William Jordan-Cooley 9680662c1b client will pass time of req to remove possibility of different times there 1 year ago
ggurdin f20aaa70d5
cast score as int before sending to the server 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
wcjord 51e8c4b7ce
Toolbar practice (#704)
* remove print statement

* ending animation, savoring joy, properly adding xp in session
1 year ago
William Jordan-Cooley f9ad45d203 intelligently choosing tokens and passing all their info 1 year ago
William Jordan-Cooley 8bffe17455 passing practice model instead of activity? 1 year ago
William Jordan-Cooley f589d2371b exit practice if no activities to do 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
ggurdin 4278f7b196
get analytics events directly from server, cache last update time for user's l2 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
William Jordan-Cooley 8ceb7851e5 refactoring of my analytics controller and related flows 1 year ago
ggurdin b12efe7e80 updates to improve navigation of practice activities 1 year ago
William Jordan-Cooley a9ee9061b3 fixing latestResponse 1 year ago
William Jordan-Cooley 15f493709f client set up to recieve and display multiple choice questions with some display tweaks 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