Commit Graph

45 Commits (8084cc24cc8da6298b15e4a1297574f9a045fbdd)

Author SHA1 Message Date
ggurdin 9ecf4e3bd2
fix: fix dart formatting for CI (#1368)
* fix: fix dart formatting for CI

* fix: sorted imports, updated deprecated flutter functions

* fix: format files

* fix: format files

* feat: replace syncfusion flutter package with excel flutter package

* fix: don't run enable google services patch in CI

* fix: update iOS supported platforms for enable ios build script

* fix: commented out linux build in integrate CI
10 months ago
ggurdin 0203aaf209
feat: always show emoji activity, enable use to update emoji choice (#1355) 10 months ago
ggurdin d652983e16
feat: italicize questions, don't give lemma activity if lemma and form are the same (#1349) 11 months ago
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 78ce090696
fix for mobile layout issues on mobile (#1314) 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 df60195d39
Dont play tokens on flag activity (#1145)
* don't play target tokens unless the hashcode of the activity model changes

* hide immersion mode
12 months ago
ggurdin c6efc97c96
1134 sound still playing when flagging an item (#1140)
* after redacting practice activity, wait for redaction event to come through before moving forward so the same event is not shown again

* don't play target token audio after flagging an activity
12 months ago
ggurdin 30722b0615
don't play individual audios while main audio is playing (#1130)
* don't play individual audios while main audio is playing

* bump version
12 months ago
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
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 34c6511387
1053 making font in the tool pop up the same size as message (#1075)
* give text in toolbar the same size / style as message text

* fix scrolling in overlay message and message translation, also fix overflow on mobile
1 year ago
ggurdin 2106c5af66
added border radius to overlay header 1 year ago
ggurdin 4798852472
center activities in toolbar properly 1 year ago
ggurdin 9cc612efd2
fix overflow in practice activity card 1 year ago
ggurdin e3416c967f
pass up audio card error to practice activity card 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 1cd7e65aa3
added better error logging for potentially null variables in multiple choice activity updateChoice 1 year ago
ggurdin 600c27b325
added unique ID parameter to choices to prevent duplicate keys in back-to-back activities 1 year ago
William Jordan-Cooley c297dea437 some questions, name changes, and a couple switches from grammar to morph uses 1 year ago
ggurdin faabe5a903
give bot style the same font as messages, make question in activity cards bot style 1 year ago
ggurdin ea1ad9bc61
make missing voice warning into an instructions popup 1 year ago
ggurdin 9a8d2d1408
Merge branch 'main' into 874-small-bugs-and-ux-issues-from-user-testing 1 year ago
ggurdin 7f844ff1a2
decide whether to show points gain animation based on the origin of the point update 1 year ago
ggurdin 2c75090a06
removed freeze-analytics comments 1 year ago
ggurdin dc79a50fda
only init one instance of ttscontroller, don't stop tts twice 1 year ago
ggurdin 5b232cea69
turn back on setState on analytics data 1 year ago
ggurdin f141680cc7
comment out some references to myAnalytics stream 1 year ago
William Jordan-Cooley 6d7ef49d91 bring back set analytics in updateChoice 1 year ago
William Jordan-Cooley 6265d6636d bringing word audio card 1 year ago
William Jordan-Cooley e30267bf8e turn off analytics setting in multiple choice 1 year ago
William Jordan-Cooley dfe1ca6653 commenting out audio button in debug attempt 1 year ago
ggurdin 9f485ccb05
dynamic sizing for practice activity toolbar content 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 50c8828dd6
use activity model instead of activity events 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
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 923d39eab6 drafted - need and correctly assembling records and unsaved msgs - need to confirm that constructs are being assembled 1 year ago
ggurdin f81e5957a5 renamed multiple choice activity file name 1 year ago
ggurdin b12efe7e80 updates to improve navigation of practice activities 1 year ago
William Jordan-Cooley 9c75d4e2d5 debugging why certain activities would not show 1 year ago