Commit graph

80 commits

Author SHA1 Message Date
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>
2024-12-23 15:05:17 -05:00
ggurdin
191607abcf
go straight to translation if message not in target language (#1176) 2024-12-06 14:54:21 -05:00
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
2024-12-02 14:34:45 -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
25ab5e54bc
allow selection view for non-test/audio messages so they can be pinned, etc. (#1113) 2024-11-27 12:59:27 -05:00
wcjord
b3ed80215a if you click it, you chose it 2024-11-25 13:53:48 -05:00
William Jordan-Cooley
4c9cd60e95 tweaking activity selection 2024-11-21 16:54:00 -05:00
ggurdin
1c65aa393e
added spacing when overlay has footer overflow (#1087) 2024-11-21 10:53:49 -05:00
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
2024-11-21 09:34:27 -05:00
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
2024-11-20 14:03:31 -05:00
wcjord
ba08bd8386
opening toolbar on clicked word (#1066) 2024-11-19 16:36:23 -05:00
ggurdin
bf505073ee
more overlay positioning fixes (#1059) 2024-11-19 14:36:58 -05:00
ggurdin
e441137159
fixes for overlay offset on mobile (#1048) 2024-11-19 12:29:57 -05:00
ggurdin
9060fd84f8
1035 cant scroll down the definition box (#1041)
* replace scrolling in word data card

* fixes hidden overlay header on mobile
2024-11-18 16:20:45 -05:00
ggurdin
3e920a420a
only add hidden message activities if the rep event langCode is the user's l2 (#1036) 2024-11-18 15:27:18 -05:00
ggurdin
6a3579120d
uncomment debug prints 2024-11-18 10:02:29 -05:00
ggurdin
52cef76773
simplify message overlay controller initialization code 2024-11-18 10:00:51 -05:00
William Jordan-Cooley
c82ce34124 using queue and simplifying selected token for activity flow 2024-11-15 16:09:36 -05:00
William Jordan-Cooley
585a9a2be4 silly way of initializing 2024-11-15 15:45:00 -05:00
William Jordan-Cooley
1a4dc0ba95 tweaking selection criteria 2024-11-15 15:17:48 -05:00
ggurdin
2106c5af66
added border radius to overlay header 2024-11-15 14:44:57 -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
ed1494fce7
Merge branch 'main' into no-original-sent 2024-11-07 16:16:34 -05:00
ggurdin
c5ffa0e037
removed toolbar border and added space between between overlay message and toolbar 2024-11-06 16:25:47 -05:00
ggurdin
f3841fe0ec
don't rely on fixed dimensions to render pressable buttons, animate in opacity/blur change in overlay backdrop 2024-11-06 15:14:04 -05:00
ggurdin
8df77c6ed7
in message toolbar, use the display representation instead of originalSent so that immersion mode still works 2024-11-05 16:10:43 -05:00
ggurdin
4d805d8206
fixes audio message overlay warping 2024-11-05 14:24:28 -05:00
ggurdin
43b663d66b
revent change to padding in message overlay 2024-11-05 13:19:03 -05:00
ggurdin
7beb14dfaf
reorder options in chat header 2024-11-05 11:55:05 -05:00
ggurdin
c315d5b970
added press animations to toolbar buttons 2024-11-05 11:31:44 -05:00
ggurdin
99d25932c0
check if overlay renderbox has size before getting size/offset 2024-10-25 12:15:21 -04:00
ggurdin
358e874ce4
merge in main branch 2024-10-24 16:42:26 -04:00
choreo development
cd50460939 got rid of practice activity for non target language 2024-10-24 16:36:29 -04:00
ggurdin
1a151e90b7
removed print statement 2024-10-24 14:33:25 -04:00
ggurdin
9e3111f97c
don't play token text if null message audio is playing 2024-10-24 14:16:39 -04:00
ggurdin
dc79a50fda
only init one instance of ttscontroller, don't stop tts twice 2024-10-24 13:44:32 -04:00
ggurdin
9b97895a9d
merge main into toolbar-min-dimensions 2024-10-24 08:50:41 -04:00
ggurdin
f6bab92733
better error handling for renderbox errors 2024-10-23 11:19:30 -04:00
ggurdin
696bd0f129
in message overlay, wrap any calls to get renderbox or media query in a try catch block to get better error handling 2024-10-23 10:57:05 -04:00
ggurdin
0b2c32904a
only call setState in message_selection_overlay if mounted 2024-10-23 09:21:02 -04:00
ggurdin
4d0b2a3df1
resolve merge conflicts 2024-10-22 13:51:42 -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
ggurdin
4ddd28b7fe
makes toolbar have dynamic width to fit around content 2024-10-10 15:59:28 -04:00
ggurdin
f125ed6fd8
rebuild overlay on reaction event 2024-10-09 11:22:47 -04:00
ggurdin
99fc3fd625
Added message reactions widget to toolbar overlay 2024-10-09 09:57:25 -04:00
ggurdin
21226ca516
don't adjust overlay message height if there's enough space to accomodate it 2024-10-09 09:30:57 -04:00
ggurdin
e80cecd0f2
removed print statements 2024-10-08 16:47:48 -04:00
ggurdin
945e82d3b9
make overlay message scrollable if entire overlay doesn't fit in screen 2024-10-08 16:46:00 -04:00