Commit graph

43 commits

Author SHA1 Message Date
ggurdin
c1e81ac5f8
chore: don't tokenize non-text messages (#2582) 2025-04-29 13:34:41 -04:00
ggurdin
51b5ec1163
chore: move STT into message bubble (#2564) 2025-04-28 10:22:32 -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
22f46caf80
2507 still requesting unlocking translation faster (#2549)
* initial work for new reading assistance modes

* feat: added select mode buttons

* chore: highlight audio tokens, always open selection mode first
2025-04-24 15:13:46 -04:00
ggurdin
fe88836e89
chore: require passing of langCode to TTS, log langCode (#2529) 2025-04-22 13:42:45 -04:00
wcjord
9b547d702b
2506 feedback on the new word card and message activities (#2525)
* fix(reading_assistance): fixed playing of sound and edited some copy

* chore: show token emojis for non-activity tokens, show morph defintion below choices once correct choice has been made

* chore(reading_assistance): added morph meaning for incorrect choices and adjusted some spacing

* chore(reading_assistance): adjusting spacing of morph choices to accomodate meaning text

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-04-21 18:17:36 -04:00
wcjord
11289c6267
2463-dont-do-activities-in-word-mode (#2481)
* chore(reading_assistance): give content outside of message mode

* 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-04-17 15:52:41 -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
11b8d64346
chore: prevent overflow of reading assistance content popup (#2460) 2025-04-16 13:12:40 -04:00
ggurdin
739e271cb4
2455 reading assistance feedback from linh (#2456)
* chore: show correct morph once matched

* fix: account for morph activities in function to determine is token activity is complete

* chore: on click already correctly matched item, open the toolbar for the corresponding token
2025-04-16 12:44:23 -04:00
ggurdin
a36a3417ba
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
2025-04-11 11:28:56 -04:00
ggurdin
b7a6ee6fe2
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
2025-04-10 16:51:42 -04:00
ggurdin
b333c45026
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
2025-04-07 10:58:38 -04:00
wcjord
868669484a fix(emoji_activity_generator): ensure unique choices 2025-04-05 12:43:47 -04:00
ggurdin
8b9fce8e56
chore: formatting (#2315) 2025-04-02 09:05:00 -04:00
wcjord
32ab738477 fix(reading_assistance): register end of activity 2025-04-01 17:20:24 -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
d935f6a501
chore: send error to sentry on report message (#2302) 2025-04-01 12:56:29 -04:00
wcjord
b4c1e1aa54 fix(reading_assistance): close word zoom on mode change 2025-04-01 11:21:22 -04:00
ggurdin
448fbbf668
refactor: move construct notifications to the top of the screen (#2298)
* refactor: move construct notifications to the top of the screen

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-01 10:57:58 -04:00
wcjord
b6e27d739a chore(reading_assistance): persistent distractor selection and fixes to analytics saving 2025-03-31 11:44:18 -04:00
ggurdin
35aa5ced02
chore: account for non-l2 message in token TTS (#2271) 2025-03-31 09:33:57 -04:00
wcjord
2e1da66006 refactor(reading_assistance): persistent practice records 2025-03-30 10:11:21 -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
592aa43089
2202 positioning to dos in reading assistance (#2214)
* chore: move toolbar buttons above reading assistance input bar

* chore: positioning on message relative to header and footer / positioning of tooltip between message and header

* chore: update inline tooltip color

* chore: animate reading assistance input bar height
2025-03-25 14:40:18 -04:00
wcjord
87f60857e9
Emoji-assignment (#2218)
* feat(lemma_emoji_row): vocab assignment and some reading assistance tweaks

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-25 14:24:05 -04:00
ggurdin
06ee5403bb
formatting (#2210) 2025-03-24 15:35:45 -04:00
wcjord
379e4a8db9
Reading assistance (#2175)
* still in draft

* feat(reading_assistance): whole message activity oriented

* chore: fix .env file path

* feat: animate selected toolbar into middle of screen

* chore: initial work for message bubble size animation

* refactor(reading_assistance): hooking up the choice interactions and polishing UI

* chore: animate in content and buttons

* formatting

* position reading content relative to selected token

* working on limiting choices

* chore: fix positioning of toolbar animation

* chore: simplify positioning logic

* chore: animate in button height

* getting there

* rough draft with restricted activity number is complete

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-03-24 15:20:07 -04:00
sienna-sterling
41ada11b53
fix(speech to text): speech to text now working. Also fixed overflow caused by tooltop message 2025-03-14 16:21:04 -04:00
wcjord
0128ac42cd
Vocab-details-v2 (#2093)
* started activity in chat creation

* starting vocab tile display

* refactor(vocab_analytics_list): made into little tiles that show the user chosen emoji

* chore: comment out unused file

* chore: remove unused variable

* chore: make eventID nullable for constructs so users can set emoji from vocab details popup

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-03-10 10:33:39 -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
a8b0c50a53
chore: if originalSent without tokens, edit message to add new tokens (#1976) 2025-02-27 13:17:05 -05:00
ggurdin
62d5a7190f
1846 word specific audio player not working (#1882)
* feat: tie TTS enabled to target lang, show warning popup when disabled

* fix: prevent top overflow for popups
2025-02-21 12:19:51 -05:00
ggurdin
32d314c026
feat: fetch new tokens for messages without originalsent representations (#1853) 2025-02-19 15:21:18 -05:00
wcjord
e2ca788f81
Add message meaning challenge activity (#1706)
* Add message meaning mode to toolbar

---------

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-06 17:03:21 -05:00
ggurdin
75a0d1e07b
feat: allow users to edit lemmas (#1694) 2025-02-04 11:02:30 -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
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
Kelrap
6f63a6d710
Highlight audio text (#1333)
* Highlight text as TTS plays - attempt 1

* Make highlighting actually work

* Fix to minor version of punctuation issue

* Highlights all applicable text

* fix: filter out punctuation tokens in the client side when highlighing audio tokens

* Highlight selection separate from normal selection

* cleanup: further decouple tts highlighting and token selection, renamed temporarySelection => _highlightedTokens

* fix: don't show token highlights for non-overlay messages

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-01-21 09:15:17 -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
Renamed from lib/pangea/widgets/chat/message_selection_overlay.dart (Browse further)