Commit graph

260 commits

Author SHA1 Message Date
ggurdin
740bf6da79
chore: don't show choreo error on timeout after canceling translation (#4189) 2025-09-30 10:05:20 -04:00
ggurdin
2a71193b71
chore: when igc has matches, make send button color disabled instead of red (#4185) 2025-09-29 16:16:22 -04:00
ggurdin
8261a34f17
chore: disable hover effect on loading span card icons (#4057) 2025-09-19 14:00:00 -04:00
ggurdin
802465c92c
3895 emoji sequence on clicking the words in a sentence of the target language (#4004)
* cleanup

* feat: toolbar emoji mode
2025-09-17 11:38:11 -04:00
ggurdin
d951d5eee9
3921 display unsubscribed errors for users (#3991)
* url cleanup

* chore: display unsubscribed errors differently
2025-09-15 15:58:08 -04:00
ggurdin
7d46892a39
3927 analytics tweaks (#3953)
* analytics page updates

* add back download buttons
2025-09-11 15:24:55 -04:00
ggurdin
39e01c320b
fix: when fetching translation, only consider a message to have included IT if the sent message body matches the message at the end of choreo (#3936) 2025-09-10 14:10:57 -04:00
ggurdin
296429928f
chore: trim currentText and originalInput before checking if they're different when settings IGC data (#3864) 2025-09-03 16:39:42 -04:00
ggurdin
8ea131bf5e
chore: fix scrolling issue (#3863) 2025-09-03 16:17:52 -04:00
ggurdin
ec5b37f6ea
chore: always show buttons in IGC popup (#3858) 2025-09-03 13:58:52 -04:00
ggurdin
4abfd6b091
chore: always reset lastChecked string in choreo on changed listener (#3678) 2025-08-11 10:36:51 -04:00
ggurdin
9b72bd8a09
Sentry (#3655)
* chore: render newlines in html message properly

* chore: log timeouts as warnings

* chore: update log level
2025-08-07 14:25:07 -04:00
Kelrap
f19d717e87
Add neutral option to choice animation (#3612) 2025-08-01 13:15:51 -04:00
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
8493e28d96
chore: make IGC button more prominent and added tooltip, set auto-IGC false by default (#3461) 2025-07-15 10:43:25 -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
280f54b55c
chore: redirect to analytics page instead of opening analytics popup 2025-07-03 14:39:12 -04:00
ggurdin
b3155c1f47
feat: unified analytics page 2025-06-30 11:57:41 -04:00
ggurdin
36141d4043
chore: formatting 2025-06-24 09:13:42 -04:00
wcjord
95a174c60f fix(it): give sametype of hint for incorrect and correct choice 2025-06-23 17:22:59 -04:00
ggurdin
956b2af88f
feat: make tokens in STT transcript clickable 2025-06-20 15:02:39 -04:00
ggurdin
30b185cdcc
fluffychat merge 2025-06-09 16:02:38 -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
Kelrap
454ddeb2c0
Adjust IT bar appearance (#2820)
* Adds gap above inline instruction, rounds top corners of IT bar

* chore: formatting

* chore: formatting

* chore: allow moderators to download chats

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-05-16 09:37:47 -04:00
Kelrap
757ffae1bb
Invite page tweaks (#2735)
* Remove buttons, fix web margin issue

* generated

* Don't share link for non-spaces

* generated

* Revert "generated"

This reverts commit 93907a836d01063cf551f8da0dde2621ab201a62.

* Hide share buttons if not space

* dart-formatting

* delete unused widgets

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-05-12 14:50:49 -04:00
ggurdin
7c3861d2a7
chore: close level up / constructs notifications on close chat (#2656) 2025-05-05 12:19:29 -04:00
wcjord
31b2d49bcf
2484-simplify-igc-popup (#2592)
* feat(span_card): simplifying popup

* 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>
2025-05-01 13:48:16 -04:00
Sofanyas Genene
1e20d5fb2c
style and functionality changes to level up notification (#2444)
* style and functionality changes to level up notification

* generated

* chore: return construct summary directly from function instead of waiting for state event to be sent

* generated

* XP animation bug, asking wilson to take a look

* updated XP attributes but still facing XP retrieval bug

* generated

* Added new DinoBot image

* updated dinoBot image, added padding on sides to table row, fixed duplicate variable naming error

* generated

* chore: some updates to simplify level up widget

* chore: remove dino asset from pubspec.yaml

* chore: revert testing changes to analytics controller

* See details categories do not display unless XP gained above threshold

* generated

* chore: update icons in construct update popup above messages

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-04-29 09:09:03 -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
63ade4c995
chore: wrap autocorrect popup in material widget (#2558) 2025-04-25 09:53:10 -04:00
ggurdin
7f11a5dba9
Adjust translation animation (#2556)
* chore: some edits to message toolbar

* chore: some updates to reading assistance
2025-04-25 09:41:07 -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
fe88836e89
chore: require passing of langCode to TTS, log langCode (#2529) 2025-04-22 13:42: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
e5d839b20f
2464 the empty space above the message is not pleasing any solution (#2475)
* chore: shrink message token buttons when empty

* chore: fix message overlay overflow error
2025-04-17 12:23:51 -04:00
ggurdin
3abfffd227
chore: replace some instruction popups with inline tooltips (#2452) 2025-04-16 09:47:11 -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
8b859ccb81
chore: only show STT for .wav audio messages (#2423) 2025-04-11 12:10:11 -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
wcjord
6e7ae5c044 chore(reading_assistance): several fixes and an enhancement to gain points animation 2025-04-01 14:13:16 -04:00
ggurdin
8a84925452
chore: don't hide inline tooltip icons until tooltip is closed (#2278) 2025-03-31 13:37:19 -04:00