Commit Graph

85 Commits (b25676a58d63963d1c533938078c0058173e8bb1)

Author SHA1 Message Date
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>
7 months ago
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
7 months ago
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
7 months ago
ggurdin 5326b3684b
chore: refresh choreographer on change learning settings (#2155) 8 months ago
ggurdin 69ea5f2e44
chore: add loading state to subscription controller, act as if user is subscribed if loading (#2148) 8 months ago
ggurdin c6e5c2ad29
chore: fix scrolling bug and issues with lemma edit widget (#2133) 8 months ago
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>
8 months ago
ggurdin 888cc7e13d
chore: stop audio when route changes and before playing token audio (#2054) 8 months ago
ggurdin 714613f871
chore: only trigger onPaste callback when text left increases by >1 character (#2046) 8 months ago
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
8 months ago
Wilson e560f2345d
bake language detections into pangea message events, change relative imports to absolute imports (#1947)
Co-authored-by: ggurdin <ggurdin@gmail.com>
8 months ago
ggurdin 4ddc15deb0
chore: don't stop TTS after IT choice selection (#1962) 8 months ago
ggurdin 907ad15f79
chore: when choices array goes off screen, stop playing TTS (#1945) 8 months ago
ggurdin d43d176aec
fix: Prevent Discarded unknown attribute error by using known attributes in breadcrumbs (#1638) 9 months ago
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
9 months ago
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
10 months ago
ggurdin 027158e286
1435 refactor into function specific groupings (#1440)
* fix: deleted unreferenced files

* fix: sort files based on function
10 months ago
ggurdin bc3cda6dda
feat: added ignored span cache to prevent showing match again after ignoring it (#1432) 10 months ago
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
10 months ago
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
10 months ago
ggurdin 0e312417d0
fix: if isFetching IGC, don't call getLanguageHelp again in message send function (#1361) 10 months ago
ggurdin 317cf88aca
fix: if user is unsubscribed, and shouldn't show paywall, send message without running IGC (#1344) 10 months ago
ggurdin 0fdd8a62b2
fix: don't play button click sound on click message button (#1334) 10 months ago
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>
10 months ago
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>
10 months ago
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>
11 months ago
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
11 months ago
ggurdin 50b435b7e9
added clicking sounds on button click (#1236) 11 months ago
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>
11 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
11 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
12 months ago
ggurdin 4c1ecc6512
fix some null check errors in IT 12 months ago
Wilson 2ddd07791d
relax reconstruction error criteria (#959)
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
12 months ago
ggurdin 3b3c8729f5
don't call grammar_lite if l1 or l2 are unknown 12 months ago
ggurdin de927aa6b4
resolve merge conflict 1 year ago
ggurdin a7b6003c89
comment out references to itAutoPlay setting 1 year ago
ggurdin 66e7eb79fa
don't run languageAssistance after dismissing IT 1 year ago
ggurdin 9af29d1d0c
start language assistance on enter 1 year ago
William Jordan-Cooley a3c5ab15d8 allow sending if in manual igc mode 1 year ago
ggurdin df9f8e0916
prevent null check error in send button 1 year ago
ggurdin 380689cf03
if running language assistance after going through IT, clear the itController 1 year ago
ggurdin 49588b91cf
don't allow send + make send button red while running IT 1 year ago
ggurdin cf1f79147a
don't allow users to edit the input bar during IT 1 year ago
William Jordan-Cooley 31b77c6d99 some name cleanup, error handling and dont open overlay if click outside text 1 year ago
ggurdin 2bc421e6e7
make popup dimensions dynamic 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 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>
1 year ago
ggurdin b8bd90a44d
replace accessToken with matrix access token 1 year ago
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 1 year ago
ggurdin 280915fc96 removed excessive calls to setState in chat.dart and replaced them with smaller, stateful widgets 1 year ago