Commit graph

248 commits

Author SHA1 Message Date
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
wcjord
b6e27d739a chore(reading_assistance): persistent distractor selection and fixes to analytics saving 2025-03-31 11:44:18 -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
0faeb6f6ae
2220 separate animation logic from choice array and apply to messge match activity (#2232)
* chore: abstract choice array animation

* chore: smoother animation
2025-03-26 13:38:25 -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
027e13f32d
formatting (#2229) 2025-03-26 09:31:06 -04:00
wcjord
ac5356acd7 chore(reading_assistance): more tweaks based on feedback 2025-03-25 17:44:36 -04:00
ggurdin
e3012f479f
chore: fix for null check error in getFeedback (#2174) 2025-03-19 10:45:48 -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
sienna-sterling
91000fd24b
fix (theme color): replaced all 'AppConfig.primaryColor' parts and added casts where needed 2025-03-14 16:42:57 -04:00
ggurdin
c6e5c2ad29
chore: fix scrolling bug and issues with lemma edit widget (#2133) 2025-03-12 13:17:25 -04:00
Wilson
9cdba97a1c
(chore) save parse from json language detections (#2119)
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-03-12 11:44:34 -04:00