Commit graph

165 commits

Author SHA1 Message Date
Kelrap
dbeb36e463
Optimize choreo (#3567)
* Basic setup of choreo changes

* Make unit test for basic bsdiff functionality

* Create class for efficiently storing choreo step edits

* Edited unit test to use ChoreoEdit instead of bsdiff

* Edit ChoreoRecord/Step to use ChoreoEdit

* Test and debug ChoreoRecord

* Accounting for more edge cases

* Remove empty string redundancy in choreo edit

* Save originalText to record instead of step

* Make originalText non-nullable

* Make test run properly with non-nullable originalText change

* make originalText final

* Tweak ChoreoEdit for slightly improved efficiency

* chore: fix how edits are constructed for choreo records

* fix issue with manual changes not being accounted for in fromJSON

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-07-31 10:08:31 -04:00
ggurdin
3bd840c621
feat: set app language to user's L1 (#3554) 2025-07-24 13:03:19 -04:00
ggurdin
77e8eae2ed
chore: don't erase source text before converting it into original written after IT (#3459) 2025-07-14 16:51:44 -04:00
ggurdin
f6f4c60287
chore: add more specific error messages 2025-07-11 12:57:48 -04:00
ggurdin
956b2af88f
feat: make tokens in STT transcript clickable 2025-06-20 15:02:39 -04:00
ggurdin
0c4597226f
refactor: improvements to fake message display, allow users to send more than one fake message at a time (#2925) 2025-06-04 14:01:19 -04:00
ggurdin
ddc60b0a4f
chore: fully update match info after auto-accepting replacement, add more error handling in construct token span (#2865) 2025-05-21 16:06:30 -04:00
ggurdin
75f70c7fdb
2843 timeout on igc (#2846)
* chore: add timeout to tokenization call after message send

* chore: add timeout to IGC

* chore: add timeout to IT
2025-05-20 12:50:29 -04:00
ggurdin
3359cfe25d
fix: make TTS button pause when it's stopped by the other TTS button playing (#2831) 2025-05-19 12:19:17 -04:00
ggurdin
7c3861d2a7
chore: close level up / constructs notifications on close chat (#2656) 2025-05-05 12:19:29 -04:00
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
327160c2a7
2505 have to click on other options multiple times for the click to go through after selecting an incorrect choice in it (#2516)
* chore: prevent overlays from blocking IT choices

* chore: prevent IGC card from interfering with buttons below it
2025-04-21 10:52:42 -04:00
ggurdin
9015edb5c1
chore: highlight selected span during IGC (#2514) 2025-04-21 09:51:32 -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
sienna-sterling
ddbc215252
2353-add-number-animation-xp-earned-in-it-bar (#2363)
* fix(IT Controller): fixed accuracy issues with star calcultion and point calculation for vocab + grammar. Added number animation. Staggered animations

* generated

* chore: redirect to new group page on click new chat button in space view (#2354)

* chore: disable custom message text sizing (#2355)

* 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

* fix(emoji_activity_generator): ensure unique choices

* fix(intl_en): two copy edits

* fix(lemma_meaning_widget): fix text alignment

* chore(practice_selection): preferencing tokens without activities in selection

* 2364 on chat creation with activity if no room image set activity image (#2371)

* chore: formatting

* chore: on chat creation without activity, set avatar to activity image if no image set

* chore: in empty chat popup, listen for changes to participant count and close self if it increases (#2372)

* chore: constrain width of unsubscribed card (#2373)

* chore: fix dialogs in report offensive message flow (#2380)

* chore: fix off-center close button in level up notifications (#2382)

* chore: fix discrepency between original message and centered message border radius (#2383)

* chore: don't show presence indicator on small avatars (#2386)

* chore: give max height to image in activity suggestion dialog (#2403)

* chore: when navigating to space details, always open space view (#2405)

* chore: fix vertical alignment of tokens in HTML-formatted messages (#2406)

* added robot animation and message to instruct user to wait after too … (#2415)

* added robot animation and message to instruct user to wait after too many join with code attempts

* chore: formatting

* replaced hardcoded text with intl_en.arb

* Resolving missing import

* generated

* chore: formatting

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* refactor: separate token and message reading assistance modes (#2416)

* refactor: separate token and message reading assistance modes

* chore: apply same token styling to HTML formatted messages

* chore: don't wait for lemma responses before showing reading assistance content

* 2421 reading assistance mode split feedback from will (#2422)

* chore: make input bar shorter in token mode

* chore: retry showing reading assistance content for initial token

* chore: make background lighter in token mode

* Added 'JoinByCode' button on new group view (#2417)

* Added 'JoinByCode' button on new group view

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>

* fix(IT): added chreo code back + added original feedback star class back

* generated

* chore: revert change to it controller, use choreo record to determine which constructs are new

---------

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: wcjord <32568597+wcjord@users.noreply.github.com>
Co-authored-by: Sofanyas Genene <123987957+Sofanyas@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-04-14 11:54:32 -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
sienna-sterling
96197138ba
1949-changing-it-feedback (#2088)
---------

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-01 15:04:33 -04:00
ggurdin
162a264cf5
2233 usability test todos (#2261)
* chore: always get span details on press why button

* chore: increase construct XP needs to show notification

* chore: don't give mouse feedback in IGC button does nothing
2025-03-28 15:46:07 -04:00
ggurdin
ba7a9ebf53
refactor: position points animation by keys instead of as a positioned widget in a stack (#2230) 2025-03-26 10:51:16 -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
71f4652390
fix: made nextITStep a completer so it will not be set twice (#1978) 2025-03-05 10:16:03 -05:00
ggurdin
4ddc15deb0
chore: don't stop TTS after IT choice selection (#1962) 2025-02-27 09:23:37 -05:00
ggurdin
6ddb18b6ec
fix: added fix to remove matches if they don't align with tokens and to use characters when replacing originalInput (#1948) 2025-02-26 15:51:09 -05:00
ggurdin
907ad15f79
chore: when choices array goes off screen, stop playing TTS (#1945) 2025-02-26 13:31:22 -05:00
ggurdin
419e08479f
fix: don't call span_details on IT match (#1889) 2025-02-21 15:51:09 -05:00
wcjord
d773347d6e
Morph-repo-2 (#1681)
* feat(morphs): repo for getting lang-specific list of morphs

* integrated repo into use of morph features and tags

* generated

* merged with previous push

* generated

* generated

* chore: fix .env file path

---------

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-02-03 12:21:29 -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
58cfbdeac9
dev: move toolbar positioning logic into its own file and move some d… (#1519)
* dev: move toolbar positioning logic into its own file and move some dimension values into AppConfig

* fix: dart format
2025-01-22 11:22:50 -05:00
wcjord
cffc697df1
Move-cache-logic (#1501)
* fix(igc-cache): fix logic not to ignore ignores :P

* fix(cache logic): fix incorrect return

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-01-22 11:20:42 -05:00
ggurdin
e8d1bba77c
fix: don't hide message at end of IT (#1480) 2025-01-16 13:12:20 -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