Commit graph

87 commits

Author SHA1 Message Date
Brord van Wierst
c0680b5294
feat: trial using choreo (#2435)
* RC trial

* generated

* fixed mobile

* reverted to resetSubscription

* generated

* fix for unloaded state

* generated

* chore: clean up some unused variables

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-04-25 12:45:56 -04:00
ggurdin
03a5bed450
chore: allow users to undo autocorrection of normalization errors (#2538) 2025-04-23 14:13:57 -04:00
ggurdin
b25676a58d
refactor: remove tokens and detections from IGC text data model (#2528)
* refactor: remove tokens and detections from IGC text data model

* generated

* refactor: initial work to remove tokens from span_details and IT responses

* refactor: add xp field to construct use class, rewrite function for turning choreo record into construct uses

* refactor: add translation assistance construct use type

* refactor: move analytics feedback to popup above messages

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-23 12:29:45 -04:00
ggurdin
278219b163
2409 automatically apply accentpunctuation corrections (#2449)
* feat: automatically accept normalization error matches

* chore: on text change, if assistance state changes, update the IGC button
2025-04-15 15:48:03 -04:00
ggurdin
3acab885d9
feat: initial work to prevent giving points for copy-pasted text (#2345)
* feat: initial work to prevent giving points for copy-pasted text

* chore: replace tokenization with comparing token content with pasted content
2025-04-04 13:47:14 -04:00
ggurdin
5326b3684b
chore: refresh choreographer on change learning settings (#2155) 2025-03-17 14:29:07 -04:00
ggurdin
69ea5f2e44
chore: add loading state to subscription controller, act as if user is subscribed if loading (#2148) 2025-03-17 12:16:18 -04:00
ggurdin
c6e5c2ad29
chore: fix scrolling bug and issues with lemma edit widget (#2133) 2025-03-12 13:17:25 -04:00
wcjord
8abf036381
Refactor: Move toolbar content to bottom of screen
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-03-06 15:52:07 -05:00
ggurdin
888cc7e13d
chore: stop audio when route changes and before playing token audio (#2054) 2025-03-05 16:45:02 -05:00
ggurdin
714613f871
chore: only trigger onPaste callback when text left increases by >1 character (#2046) 2025-03-05 13:36:25 -05:00
ggurdin
c9dbbe73b8
feat: added util in choreographer to response to pasting in the input… (#2021)
* feat: added util in choreographer to response to pasting in the input bar
2025-03-05 13:25:52 -05:00
Wilson
e560f2345d
bake language detections into pangea message events, change relative imports to absolute imports (#1947)
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-03-05 10:20:54 -05:00
ggurdin
4ddc15deb0
chore: don't stop TTS after IT choice selection (#1962) 2025-02-27 09:23:37 -05:00
ggurdin
907ad15f79
chore: when choices array goes off screen, stop playing TTS (#1945) 2025-02-26 13:31:22 -05:00
ggurdin
d43d176aec
fix: Prevent Discarded unknown attribute error by using known attributes in breadcrumbs (#1638) 2025-01-29 16:27:55 -05:00
ggurdin
cb98328adf
1439 simplify accent and punctuation correction (#1511)
* feat: initial work to normalize error spans to reduce calls to span_details

* feat: if step is normalization error, don't add to choreo record so uses are saved as WA

* fix: add back null check
2025-01-27 16:05:31 -05:00
ggurdin
d8f484871e
feat: if message needs tokenization before send, send fake message to… (#1443)
* feat: if message needs tokenization before send, send fake message to look like the message is sending

* feat: make fake event replacement smoother
2025-01-15 14:27:53 -05:00
ggurdin
027158e286
1435 refactor into function specific groupings (#1440)
* fix: deleted unreferenced files

* fix: sort files based on function
2025-01-14 14:00:30 -05:00
ggurdin
bc3cda6dda
feat: added ignored span cache to prevent showing match again after ignoring it (#1432) 2025-01-13 15:50:46 -05:00
ggurdin
064e2c6dd3
feat: after completing match in igc, automatically go to next match (#1396)
* feat: after completing match in igc, automatically go to next match

* fix: if user ever chose correct choice in span card, auto-select it again on open
2025-01-13 12:56:41 -05:00
ggurdin
9ecf4e3bd2
fix: fix dart formatting for CI (#1368)
* fix: fix dart formatting for CI

* fix: sorted imports, updated deprecated flutter functions

* fix: format files

* fix: format files

* feat: replace syncfusion flutter package with excel flutter package

* fix: don't run enable google services patch in CI

* fix: update iOS supported platforms for enable ios build script

* fix: commented out linux build in integrate CI
2025-01-07 08:32:42 -05:00
ggurdin
0e312417d0
fix: if isFetching IGC, don't call getLanguageHelp again in message send function (#1361) 2025-01-06 11:47:07 -05:00
ggurdin
317cf88aca
fix: if user is unsubscribed, and shouldn't show paywall, send message without running IGC (#1344) 2025-01-02 13:39:36 -05:00
ggurdin
0fdd8a62b2
fix: don't play button click sound on click message button (#1334) 2024-12-31 12:26:56 -05:00
wcjord
93b1f7e21d
Wait-for-igc (#1311)
* feat: wait longer before calling igc

* fix: don't call showFirstMatch if running IT

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2024-12-30 09:37:25 -05:00
Kelrap
0d477ad5b4
Paywall on IGC click (#1310)
* Shows paywall when user clicks IGC button

* Always show paywall card on press IGC button

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2024-12-27 11:06:53 -05:00
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