Commit Graph

83 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 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
Kelrap dc79b98ea6
More thorough error logging (#1297)
* Data is required for .logError

* Edit data for readability

* remove commented out breadcrumbs

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
11 months ago
ggurdin 191607abcf
go straight to translation if message not in target language (#1176) 11 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
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 25ab5e54bc
allow selection view for non-test/audio messages so they can be pinned, etc. (#1113) 12 months ago
wcjord b3ed80215a if you click it, you chose it 12 months ago
William Jordan-Cooley 4c9cd60e95 tweaking activity selection 12 months ago
ggurdin 1c65aa393e
added spacing when overlay has footer overflow (#1087) 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 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
wcjord ba08bd8386
opening toolbar on clicked word (#1066) 1 year ago
ggurdin bf505073ee
more overlay positioning fixes (#1059) 1 year ago
ggurdin e441137159
fixes for overlay offset on mobile (#1048) 1 year ago
ggurdin 9060fd84f8
1035 cant scroll down the definition box (#1041)
* replace scrolling in word data card

* fixes hidden overlay header on mobile
1 year ago
ggurdin 3e920a420a
only add hidden message activities if the rep event langCode is the user's l2 (#1036) 1 year ago
ggurdin 6a3579120d
uncomment debug prints 1 year ago
ggurdin 52cef76773
simplify message overlay controller initialization code 1 year ago
William Jordan-Cooley c82ce34124 using queue and simplifying selected token for activity flow 1 year ago
William Jordan-Cooley 585a9a2be4 silly way of initializing 1 year ago
William Jordan-Cooley 1a4dc0ba95 tweaking selection criteria 1 year ago
ggurdin 2106c5af66
added border radius to overlay header 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 ed1494fce7
Merge branch 'main' into no-original-sent 1 year ago
ggurdin c5ffa0e037
removed toolbar border and added space between between overlay message and toolbar 1 year ago
ggurdin f3841fe0ec
don't rely on fixed dimensions to render pressable buttons, animate in opacity/blur change in overlay backdrop 1 year ago
ggurdin 8df77c6ed7
in message toolbar, use the display representation instead of originalSent so that immersion mode still works 1 year ago
ggurdin 4d805d8206
fixes audio message overlay warping 1 year ago
ggurdin 43b663d66b
revent change to padding in message overlay 1 year ago
ggurdin 7beb14dfaf
reorder options in chat header 1 year ago
ggurdin c315d5b970
added press animations to toolbar buttons 1 year ago
ggurdin 99d25932c0
check if overlay renderbox has size before getting size/offset 1 year ago
ggurdin 358e874ce4
merge in main branch 1 year ago
choreo development cd50460939 got rid of practice activity for non target language 1 year ago
ggurdin 1a151e90b7
removed print statement 1 year ago
ggurdin 9e3111f97c
don't play token text if null message audio is playing 1 year ago
ggurdin dc79a50fda
only init one instance of ttscontroller, don't stop tts twice 1 year ago
ggurdin 9b97895a9d
merge main into toolbar-min-dimensions 1 year ago
ggurdin f6bab92733
better error handling for renderbox errors 1 year ago
ggurdin 696bd0f129
in message overlay, wrap any calls to get renderbox or media query in a try catch block to get better error handling 1 year ago
ggurdin 0b2c32904a
only call setState in message_selection_overlay if mounted 1 year ago
ggurdin 4d0b2a3df1
resolve merge conflicts 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 4ddd28b7fe
makes toolbar have dynamic width to fit around content 1 year ago
ggurdin f125ed6fd8
rebuild overlay on reaction event 1 year ago
ggurdin 99fc3fd625
Added message reactions widget to toolbar overlay 1 year ago