Commit graph

123 commits

Author SHA1 Message Date
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
ggurdin
52cef76773
simplify message overlay controller initialization code 2024-11-18 10:00:51 -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
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
d033547128
increase minimum dimensions of toolbar 2024-11-06 16:20:18 -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
26e850af27
enable other toolbar buttons in message not in l2 2024-11-04 16:14:22 -05:00
William Jordan-Cooley
a3c5ab15d8 allow sending if in manual igc mode 2024-10-28 14:53:10 -04:00
ggurdin
fa8526d58d
added copy to arb file, added padding to widget to show text in toolbar 2024-10-25 09:15:12 -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
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
f1ac5709f7
adjustment to layouts of toolbar content to make dynamic sizing work 2024-10-22 14:44:26 -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
14bed0f430
merge main, resolve conflicts 2024-10-15 10:48:44 -04:00
ggurdin
eed8987196
make MessageToolbar stateless 2024-10-11 15:41:48 -04:00
ggurdin
4ddd28b7fe
makes toolbar have dynamic width to fit around content 2024-10-10 15:59:28 -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
5540efc818
fixes for overlay message positioning, moved toolbar buttons underneath overlay message 2024-10-07 17:04:51 -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
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
0984df4167
fixed height of toolbar 2024-09-13 13:29:36 -04:00
ggurdin
2e139be658
position message overlay directly over the underlying message 2024-09-11 12:13:39 -04:00
ggurdin
f9f0945655
speed up toolbar on click message 2024-09-10 09:49:09 -04:00
ggurdin
03e04ee752
improved text selection handling, added text selection handling for HTML messages, clear selection on close overlay 2024-09-04 10:20:22 -04:00
ggurdin
11627c2bfb
enable toolbar on click for html messages 2024-09-03 16:15:18 -04:00
ggurdin
0373d01f1b
simplified positioning of toolbar 2024-08-27 13:41:36 -04:00
ggurdin
868e83709d
removed some excessive file changes to simplify PR 2024-08-21 10:06:23 -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
c42f44a798 Programmatically determine left/right 2024-08-09 10:23:09 -04:00
Kelrap
ea8e4497f3 Close keyboard if open 2024-08-08 14:37:23 -04:00
Kelrap
43d99c526a Tweaks 2024-08-08 13:51:27 -04:00
Kelrap
f46a5bac7f Shift footer down 2024-08-08 09:41:44 -04:00
Kelrap
bb263c71c2 Toolbar placed over selected message 2024-08-07 17:10:44 -04:00
Kelrap
a911b9f852 Attempt 1 of repositioning toolbar 2024-08-06 15:11:45 -04:00
Kelrap
f68e8f586d Merge branch 'toolbar-selection' of https://github.com/pangeachat/client into toolbar-selection 2024-08-06 13:20:16 -04:00
Kelrap
19b20efc53 PR edits, minus positioning changes 2024-08-06 13:19:40 -04:00