Commit Graph

67 Commits (e417af93fad57e3021890219ef147260a283090c)

Author SHA1 Message Date
ggurdin 1689fda54f
1337 feedback on word card (#1339)
* fix: don't give word meaning activity if there are no distractors available

* fix: center activity / answer text in word zoom card

* fix: after completing hidden word activity, wait for savor the joy to end before showing word zoom card
11 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
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
12 months ago
wcjord f498727fe0 tweaks to token selection for activities 12 months ago
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
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
William Jordan-Cooley 4c9cd60e95 tweaking activity selection 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
12 months ago
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
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 1a4dc0ba95 tweaking selection criteria 1 year ago
ggurdin d507f494e5
Merge branch 'main' into 1014-overflow-when-audio-activity-opens 1 year ago
ggurdin 9cc612efd2
fix overflow in practice activity card 1 year ago
William Jordan-Cooley f85c4b2169 refactoring of practice flow 1 year ago
ggurdin cf571c6a92
replace no more practice activities text with tooltip telling user to use language tools 1 year ago
ggurdin 7c7c3c999b
on error, reveal all tokens 1 year ago
ggurdin e3416c967f
pass up audio card error to practice activity card 1 year ago
ggurdin c72f250e1a
make message analytics entry getter in practice activity card, split token update function into two functions 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
William Jordan-Cooley c297dea437 some questions, name changes, and a couple switches from grammar to morph uses 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 425779e868
redact the current activity event when submitting feedback 1 year ago
ggurdin ea1ad9bc61
make missing voice warning into an instructions popup 1 year ago
ggurdin fe41800e05
Exclude the word_focus_listening activity from the list of client compatible activities 1 year ago
ggurdin a2175d5206
removed unused context variable from tokensGlobal function 1 year ago
ggurdin 7f844ff1a2
decide whether to show points gain animation based on the origin of the point update 1 year ago
ggurdin dc79a50fda
only init one instance of ttscontroller, don't stop tts twice 1 year ago
ggurdin cb566d06bc
add minimum dimensions to toolbar contents 1 year ago
ggurdin 9b97895a9d
merge main into toolbar-min-dimensions 1 year ago
William Jordan-Cooley e30267bf8e turn off analytics setting in multiple choice 1 year ago
William Jordan-Cooley dfe1ca6653 commenting out audio button in debug attempt 1 year ago
William Jordan-Cooley 7c0078694b adding mounted check 1 year ago
ggurdin 9f485ccb05
dynamic sizing for practice activity toolbar content 1 year ago
ggurdin 985ccfe30d
better error handling if originalSent is null in _fetchActivity 1 year ago
ggurdin f1ac5709f7
adjustment to layouts of toolbar content to make dynamic sizing work 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 4b346df27f
updated flutter_secure_storage package, don't set currentActivity to null if no error in submitFeedback 1 year ago
William Jordan-Cooley 07cc5b9c32 show beta and alpha tags on l2s 1 year ago
ggurdin e778178638
in submitFeedback, only set currentActivity to null on error 1 year ago
ggurdin 9321e024e7
cache number of completed activities 1 year ago
ggurdin 4b2c5bc213
remove unused commented out code 1 year ago
ggurdin 50c8828dd6
use activity model instead of activity events 1 year ago
William Jordan-Cooley 1bd244011f remove use of record 1 year ago
William Jordan-Cooley 240b039ae7 several toolbar UI tweaks 1 year ago
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
1 year ago
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
1 year ago
wcjord 51e8c4b7ce
Toolbar practice (#704)
* remove print statement

* ending animation, savoring joy, properly adding xp in session
1 year ago