Commit graph

57 commits

Author SHA1 Message Date
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
ggurdin
ae0a8254de
set height of overlay message, dismiss overlay on inkwell tap 2024-10-08 15:18:23 -04:00
ggurdin
ef8c677681
removed pangea comment in overlay message file, made toolbar button height into variable for consistency in height adjustments 2024-10-08 09:17:34 -04:00
ggurdin
5540efc818
fixes for overlay message positioning, moved toolbar buttons underneath overlay message 2024-10-07 17:04:51 -04:00
ggurdin
879a52c81f
responded to comment from Will in client code, added fix for mini analytics view level display 2024-10-07 14:48:14 -04:00
William Jordan-Cooley
240b039ae7 several toolbar UI tweaks 2024-10-05 15:51:17 -04:00
wcjord
b7ab6038ac
further toolbar tweaks
* 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

* more practice tweaks and instructions too

* incrementing pubspec version
2024-10-04 17:52:56 -04:00
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
2024-10-03 17:19:31 -04:00
wcjord
51e8c4b7ce
Toolbar practice (#704)
* remove print statement

* ending animation, savoring joy, properly adding xp in session
2024-10-03 11:37:26 -04:00
William Jordan-Cooley
8bffe17455 passing practice model instead of activity? 2024-10-02 14:58:29 -04:00
William Jordan-Cooley
f589d2371b exit practice if no activities to do 2024-09-26 13:47:51 -04:00
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>
2024-09-25 17:01:58 -04:00
ggurdin
a40c86a148
added header height to overflow calculations when scrolling overlay to midpoint of screen 2024-09-13 12:19:24 -04:00
ggurdin
2ff70e65db
if, by shifting up a message to make footer space, a header overflow is caused, opt of push the message down instead of up 2024-09-11 12:49:51 -04:00
ggurdin
36537b0dc7
scroll to center of screen if toolbar causes header overflow, scroll the overlay up if there's a footer overflow 2024-09-11 12:14:23 -04:00
ggurdin
660c49873b
removed expanded widget wrapping overlay stack that caused crash in release mode 2024-09-03 11:22:17 -04:00
ggurdin
5e145837d2
add padding to reaction picker 2024-09-03 10:43:26 -04:00
ggurdin
a1ee965b9e
account for chat details column showing in message overlay 2024-09-03 10:25:55 -04:00
ggurdin
bf29a324e4
removed unnecessary pangea comments 2024-08-27 15:00:56 -04:00
ggurdin
0373d01f1b
simplified positioning of toolbar 2024-08-27 13:41:36 -04:00
Kelrap
c99094f547 Fix window resize selection issue 2024-08-13 13:32:32 -04:00
Kelrap
6c5f4d0ece Try fix window resize problem 2024-08-12 14:20:41 -04:00
Kelrap
e7fa9a35f1 Adjust scrolling logic 2024-08-12 10:26:14 -04:00
Kelrap
a417f2f8ca Add scrolling to center messages 2024-08-09 14:59:19 -04:00