Commit graph

67 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
966ab19ae0
Sentry (#1241)
* make tts response a warning

* use toString instead of typecast

* made _event without originalSent message a warning

* don't call showFirstMatch if matches is empty
2024-12-13 12:37:49 -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
Wilson
dd0f20e56c
enforce using bot transcription if exist (#1078)
* enforce bot transcription if exist

* follow snake case model key convention

* update text color in speech to text toolbar

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2024-11-21 09:55:25 -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
William Jordan-Cooley
f85c4b2169 refactoring of practice flow 2024-11-15 11:02:31 -05:00
ggurdin
f6c57ddc48
if pangea rep is null, still get and save text to speech event 2024-11-14 13:13:39 -05:00
ggurdin
fd7919ac42
convert datetime to string before logging error 2024-11-11 13:54:04 -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
e48d8d57c9
filter redacted events from _practiceActivityEvents to prevent them from being sent to the choreographer 2024-11-06 09:30:11 -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
aa2f949e39
don't log error for message sent on or before september 25th without original sent, log senderID and timestamp in error message 2024-11-01 11:59:35 -04:00
ggurdin
a2175d5206
removed unused context variable from tokensGlobal function 2024-11-01 11:54:00 -04:00
William Jordan-Cooley
dd29817e08 using user languages in tokenization and language detectio 2024-10-25 11:28:45 -04:00
ggurdin
0c7042b51c
store num completed activities in memory instead of local cache 2024-10-23 16:36:40 -04:00
William Jordan-Cooley
e30267bf8e turn off analytics setting in multiple choice 2024-10-23 14:34:42 -04:00
William Jordan-Cooley
d26e71123e adding user l1 and l2 to text to speech req 2024-10-22 16:40:44 -04:00
William Jordan-Cooley
bc20769daa dont give old clients new activity types and catch old activity content better 2024-10-21 16:39:34 -04:00
William Jordan-Cooley
4d2f36890f additional error handling in retrieval of practice events 2024-10-21 14:40:54 -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
9321e024e7
cache number of completed activities 2024-10-09 14:56:05 -04:00
William Jordan-Cooley
cd9792fb1e get new tokens in representation if they don't match text 2024-10-07 15:42:51 -04:00
William Jordan-Cooley
8bffe17455 passing practice model instead of activity? 2024-10-02 14:58:29 -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
choreo development
25a8769132 turned off showUseType feature 2024-09-19 10:30:21 -04:00
ggurdin
52dfc47333
Merge branch 'merge' into merge-analytics 2024-09-11 10:06:10 -04:00
ggurdin
db9320d2ac
removed _repLocal function causing delays in initial translation, also made selection translation and repEvent fetching futures happen at the same time in message translation card 2024-09-11 09:53:09 -04:00
ggurdin
14ba8bf47b
merge main into analytics branch 2024-08-30 10:28:56 -04:00
ggurdin
b5abef7d1a
moved previous message function to igc controller 2024-08-30 10:02:10 -04:00
Kelrap
20ffe7ba37
Pass previous X messages to IGC 2024-08-30 10:00:48 -04:00
ggurdin
54040d841a
add draft construct uses while using language assistance, added morphs to learning progress indicators 2024-08-21 14:01:24 -04:00
ggurdin
4278f7b196
get analytics events directly from server, cache last update time for user's l2 2024-08-06 13:40:53 -04:00
ggurdin
e7d176d182
moved functions for constructing constructs out of pangea message event so they can be created without direct access to the representation event 2024-07-30 10:21:33 -04:00
ggurdin
280915fc96 removed excessive calls to setState in chat.dart and replaced them with smaller, stateful widgets 2024-07-16 13:43:11 -04:00
William Jordan-Cooley
77df13f5a9 --amend 2024-07-03 18:10:49 -04:00
William Jordan-Cooley
d02acc9884 switching to token focus of saving constructs 2024-07-03 18:07:33 -04:00
William Jordan-Cooley
1163c1d5cd adding pos and morph to lemmas 2024-07-03 12:01:22 -04:00
William Jordan-Cooley
c6d3f36805 saving of tokens, changing of top language calculation, documentation 2024-06-30 18:31:53 -04:00
William Jordan-Cooley
2526331706 using getIGCTextData to fetch tokens and languages if not present 2024-06-30 12:08:30 -04:00
William Jordan-Cooley
919cfc4bd3 improving documentation 2024-06-30 10:36:09 -04:00
William Jordan-Cooley
923d39eab6 drafted - need and correctly assembling records and unsaved msgs - need to confirm that constructs are being assembled 2024-06-28 17:08:46 -04:00
William Jordan-Cooley
5c8666b3e2 rough draft complete 2024-06-28 15:31:35 -04:00
William Jordan-Cooley
ffbc62ba55 consolidating language constants and using for unknown detection instance 2024-06-28 11:34:55 -04:00
ggurdin
d0e03aea97 seperating practice activity-specific logic and functionality from navigation / event sending logic 2024-06-27 15:59:57 -04:00
ggurdin
b12efe7e80 updates to improve navigation of practice activities 2024-06-26 15:28:58 -04:00
ggurdin
19bf01421f for now, don't show the next activity after submitting an activity 2024-06-25 17:14:51 -04:00
William Jordan-Cooley
f667a35dce hide generation button 2024-06-25 12:19:27 -04:00
William Jordan-Cooley
54dfd9dd22 merged in main 2024-06-25 11:16:01 -04:00
William Jordan-Cooley
9c75d4e2d5 debugging why certain activities would not show 2024-06-25 10:52:16 -04:00