Commit graph

60 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
50b435b7e9
added clicking sounds on button click (#1236) 2024-12-13 10:08:39 -05:00
a_youngdiggs
4cc7483c27
fixed igc match and implemented cache system (#1165)
* fixed igc match and implemented cache system

* code cleanup

* remove unused spanDetailsCache

* updated igc request hash function, use igc request hash as cache key

* give both caches their own timer and clear on interval

* made igc data cache entries into futures and removed previous message cache

* clear IGC cache at the right time, restart timer if it's been stopped

---------

Co-authored-by: choreo development <williamjordan-cooley@Williams-MacBook-Pro-3.local>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2024-12-12 09:45:04 -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
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
4c1ecc6512
fix some null check errors in IT 2024-11-14 09:39:26 -05:00
Wilson
2ddd07791d
relax reconstruction error criteria (#959)
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2024-11-13 13:42:20 -05:00
ggurdin
3b3c8729f5
don't call grammar_lite if l1 or l2 are unknown 2024-11-11 13:50:20 -05:00
ggurdin
de927aa6b4
resolve merge conflict 2024-11-01 10:30:22 -04:00
ggurdin
a7b6003c89
comment out references to itAutoPlay setting 2024-10-31 11:17:51 -04:00
ggurdin
66e7eb79fa
don't run languageAssistance after dismissing IT 2024-10-30 16:56:50 -04:00
ggurdin
9af29d1d0c
start language assistance on enter 2024-10-30 15:06:37 -04:00
William Jordan-Cooley
a3c5ab15d8 allow sending if in manual igc mode 2024-10-28 14:53:10 -04:00
ggurdin
df9f8e0916
prevent null check error in send button 2024-10-25 11:37:36 -04:00
ggurdin
380689cf03
if running language assistance after going through IT, clear the itController 2024-10-25 10:04:59 -04:00
ggurdin
49588b91cf
don't allow send + make send button red while running IT 2024-10-25 09:44:18 -04:00
ggurdin
cf1f79147a
don't allow users to edit the input bar during IT 2024-10-25 09:20:50 -04:00
William Jordan-Cooley
31b77c6d99 some name cleanup, error handling and dont open overlay if click outside text 2024-10-23 16:36:24 -04:00
ggurdin
2bc421e6e7
make popup dimensions dynamic 2024-10-10 15:57:50 -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
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
b8bd90a44d
replace accessToken with matrix access token 2024-08-07 12:48:28 -04:00
ggurdin
7165060041
choreographer pulls roomID from chat so input bar key does not change after setting choreo roomID, resolving issues with input bar auto-focus 2024-08-07 09:59:01 -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
ggurdin
ca9dcba4e7 removed any functionality attached to pangea profile, only use it to migrate. Made matrix profile a class with instance members. 2024-07-12 13:52:46 -04:00
ggurdin
303d2b1e17 switched accessToken back to be non-nullable 2024-07-11 13:11:20 -04:00
ggurdin
6ab62e2eff added functionality to look for data in the only matrix format if it's missing in the new format, make matrixProfile an instance member of userController 2024-07-11 10:02:53 -04:00
ggurdin
f69ab79c9d made matrix profile save one json value instead of one value per field, added documentation to user controller and user model 2024-07-10 16:55:52 -04:00
ggurdin
ef12529af4 use match data to construct input underlines, without using tokens 2024-07-09 15:28:33 -04:00
ggurdin
e6fa2b1b4b changed messages since update back to 10, re-enabled getting tokens after accepting matching in IGC, and allowed saving of initial empty analytics event 2024-07-01 11:57:17 -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
ffbc62ba55 consolidating language constants and using for unknown detection instance 2024-06-28 11:34:55 -04:00
ggurdin
b95080cee7 merge main into improve-interactive-translator branch 2024-06-28 10:04:02 -04:00
Matthew
bc2d4a3847 itAutoPlay moved from ToolSettings to PLocalKey 2024-06-27 16:56:52 -04:00
William Jordan-Cooley
c9d1b72773 igc tweaks 2024-06-26 11:34:41 -04:00
ggurdin
fcca323b69 Updated how analytics are saved to work better with the switch over to using user’s language settings instead of class-level language settings 2024-06-20 13:15:32 -04:00
ggurdin
a2fb240c6e inital work to combine class and exchanges into generalized spaces 2024-06-19 12:18:18 -04:00
Matthew
8310801981 Auto Play Interactive Translator 2024-06-13 15:16:28 -04:00
Kelrap
bb01635c9f Fixed text selection, removed translationEnabled 2024-06-07 10:35:02 -04:00
ggurdin
83b30dc084 add call to language detection after send without IGC 2024-06-05 10:51:26 -04:00
ggurdin
bdeb3d3b8f merge main 2024-06-05 09:24:51 -04:00
Kelrap
e90575efaf Move main extension files, rename secondary extension files 2024-05-27 14:32:04 -04:00
ggurdin
a077cc4f6a button to run IGC manually 2024-05-20 10:09:47 -04:00
ggurdin
308bd9ee49 ensure that users' analytics rooms are consistently made for users and that teachers are added to analytics rooms are soon as possible 2024-05-14 11:12:23 -04:00
William Jordan-Cooley
821fda7365 Merge branch 'main' into speech-to-text 2024-05-08 17:14:48 -04:00
ggurdin
c2f785795e refresh toolbar / input bar after activating free trial 2024-05-08 14:53:41 -04:00