Commit graph

64 commits

Author SHA1 Message Date
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
2024-12-04 12:11:46 -05:00
wcjord
f498727fe0 tweaks to token selection for activities 2024-12-03 14:20:12 -05:00
ggurdin
f6175b9c09
Testing updates (#1131)
* extend time between activities

* if user clicks on punctuation token, select the closest non-punctuation token

* rebuild chat list after prevBatch is set
2024-12-02 16:31:00 -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
William Jordan-Cooley
4c9cd60e95 tweaking activity selection 2024-11-21 16:54:00 -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
ggurdin
7568469376
1000 assistance it simplify (#1005)
* gave inline tooltip its own closing logic and closing animation

* update inlinetooltips in IT bar

* fixes animation weirdness with inline tooltips in IT bar

* added learning settings to IT bar

* moved language assistance button into chat input row

* allow users to send message after click send twice, even if there are still errors
2024-11-19 13:02:41 -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
1a4dc0ba95 tweaking selection criteria 2024-11-15 15:17:48 -05:00
ggurdin
d507f494e5
Merge branch 'main' into 1014-overflow-when-audio-activity-opens 2024-11-15 11:09:36 -05:00
ggurdin
9cc612efd2
fix overflow in practice activity card 2024-11-15 11:09:01 -05:00
William Jordan-Cooley
f85c4b2169 refactoring of practice flow 2024-11-15 11:02:31 -05:00
ggurdin
cf571c6a92
replace no more practice activities text with tooltip telling user to use language tools 2024-11-13 15:53:31 -05:00
ggurdin
7c7c3c999b
on error, reveal all tokens 2024-11-13 11:38:35 -05:00
ggurdin
e3416c967f
pass up audio card error to practice activity card 2024-11-13 11:27:05 -05:00
ggurdin
c72f250e1a
make message analytics entry getter in practice activity card, split token update function into two functions 2024-11-13 10:22:55 -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
William Jordan-Cooley
c297dea437 some questions, name changes, and a couple switches from grammar to morph uses 2024-11-06 20:25:30 -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
425779e868
redact the current activity event when submitting feedback 2024-11-05 09:43:17 -05:00
ggurdin
ea1ad9bc61
make missing voice warning into an instructions popup 2024-11-04 16:02:39 -05:00
ggurdin
fe41800e05
Exclude the word_focus_listening activity from the list of client compatible activities 2024-11-04 14:55:40 -05:00
ggurdin
a2175d5206
removed unused context variable from tokensGlobal function 2024-11-01 11:54:00 -04:00
ggurdin
7f844ff1a2
decide whether to show points gain animation based on the origin of the point update 2024-10-31 11:42:44 -04:00
ggurdin
dc79a50fda
only init one instance of ttscontroller, don't stop tts twice 2024-10-24 13:44:32 -04:00
ggurdin
cb566d06bc
add minimum dimensions to toolbar contents 2024-10-24 13:24:41 -04:00
ggurdin
9b97895a9d
merge main into toolbar-min-dimensions 2024-10-24 08:50:41 -04:00
William Jordan-Cooley
e30267bf8e turn off analytics setting in multiple choice 2024-10-23 14:34:42 -04:00
William Jordan-Cooley
dfe1ca6653 commenting out audio button in debug attempt 2024-10-23 11:48:45 -04:00
William Jordan-Cooley
7c0078694b adding mounted check 2024-10-23 10:06:16 -04:00
ggurdin
9f485ccb05
dynamic sizing for practice activity toolbar content 2024-10-22 16:42:05 -04:00
ggurdin
985ccfe30d
better error handling if originalSent is null in _fetchActivity 2024-10-22 14:54:42 -04:00
ggurdin
f1ac5709f7
adjustment to layouts of toolbar content to make dynamic sizing work 2024-10-22 14:44:26 -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
4b346df27f
updated flutter_secure_storage package, don't set currentActivity to null if no error in submitFeedback 2024-10-17 12:42:32 -04:00
William Jordan-Cooley
07cc5b9c32 show beta and alpha tags on l2s 2024-10-14 14:56:37 -04:00
ggurdin
e778178638
in submitFeedback, only set currentActivity to null on error 2024-10-11 15:41:01 -04:00
ggurdin
9321e024e7
cache number of completed activities 2024-10-09 14:56:05 -04:00
ggurdin
4b2c5bc213
remove unused commented out code 2024-10-09 11:51:51 -04:00
ggurdin
50c8828dd6
use activity model instead of activity events 2024-10-09 11:49:48 -04:00
William Jordan-Cooley
1bd244011f remove use of record 2024-10-09 11:19:07 -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
wcjord
08a7c74b4a
remove print statement (#703) 2024-10-03 09:56:00 -04:00
William Jordan-Cooley
f9ad45d203 intelligently choosing tokens and passing all their info 2024-10-02 17:40:16 -04:00
William Jordan-Cooley
8bffe17455 passing practice model instead of activity? 2024-10-02 14:58:29 -04:00