Commit graph

311 commits

Author SHA1 Message Date
avashilling
198cd4c9bb
3480 animation when emoji reaction is addedremoved from a message (#3559)
* feat: add in grow/rise animation on react, and burst/shrink animation on unreact

 WIP. Also remove animatedSize around message_reactions to stop jerky movement when reactions change.

* made animation smoother, moved loading indicator on own message to left side

* Refactor to listen to the reaction stream for updates, fix choppy movement

* fix disposed ancestor reference error

* more robust reaction management to avoid duplicates

* delete weird merge leftover

* merge conflicts

* Format and sort code correctly

* fix pangea tags

* chore: formatting

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-07-24 16:08:06 -04:00
ggurdin
3bd840c621
feat: set app language to user's L1 (#3554) 2025-07-24 13:03:19 -04:00
ggurdin
8c16e50d5c
3431 accommodate wrapped reactions in message selection overlay (#3553)
* chore: accomodate wrapped emoji highlight in message overlay

* fix reaction alignment relative to message in overlay
2025-07-24 10:07:56 -04:00
ggurdin
891be5efe5
reaction placement (#3548) 2025-07-23 15:19:53 -04:00
ggurdin
98dfa09250
Revert "Reaction spacing (#3546)" (#3547)
This reverts commit f1f86780f0.
2025-07-23 15:13:24 -04:00
ggurdin
f1f86780f0
Reaction spacing (#3546)
* chore: fix mis-alignment for messages with emoji reactions

* remove testing border

* reaction spacing
2025-07-23 15:11:20 -04:00
ggurdin
be42203feb
chore: position message overlay relative to bottom of the screen instead of the top (#3544) 2025-07-23 14:01:19 -04:00
ggurdin
268ae8c443
chore: some fixes for overlay positioning (#3536) 2025-07-23 10:36:01 -04:00
ggurdin
75ff8cf845
chore: add space between the word card / emoji selector and the overlay message (#3533) 2025-07-23 09:31:05 -04:00
ggurdin
a24e00cc21
chore: on click play unsent audio message, show toolbar (#3527) 2025-07-22 14:16:45 -04:00
ggurdin
2d8b4c613d
chore: bring back old button style (#3525) 2025-07-22 13:16:02 -04:00
ggurdin
641a18a1fa
Message overlay updates (#3522)
* added slide animation to overlay

* re-enable practice mode

* chore: position overlay over original message

* chore: fix spacing on mobile

* chore: remove unreferenced files
2025-07-22 11:49:35 -04:00
ggurdin
37341eccc5
chore: use more specific substring to check for temporary event IDs (#3508) 2025-07-21 12:54:43 -04:00
ggurdin
a98aeed5ed
chore: pass lemma meaning results to emoji picket instead of re-fetching, return STT langcode for audio messages (#3507) 2025-07-21 12:18:39 -04:00
avashilling
8e5dc610f8
3396 collect on selection animation not line up (#3468)
* fix: switch to overlayUtil instead of manual overlay entry to fix alignment, and comment out second seed animation

*still needs some work on the top right seed in word card

* fix: fix construct xp widget bug and comment out previous animation

also change message selection overlay to trigger update when animation is finished rather than on two conflicting timers

* merge conflicts and code formatting

* format

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-07-16 09:40:24 -04:00
ggurdin
3dd0542703
chore: fix TTS voice initialization (#3469) 2025-07-15 16:22:57 -04:00
Kelrap
245471f7a2
Unselect word on close word zoom card (#3451) 2025-07-14 11:47:37 -04:00
ggurdin
32355ddffd
chore: redact already-sent emoji reactions on select identical reaction in word zoom widget (#3447) 2025-07-14 09:15:48 -04:00
ggurdin
f396e5d32a
chore: send lemma emoji reaction on click (#3424) 2025-07-11 13:07:10 -04:00
ggurdin
f6f4c60287
chore: add more specific error messages 2025-07-11 12:57:48 -04:00
avashilling
7934fc8b15
3385 speaker button switches back from pause button too quickly when clicked (#3415)
* fix: took out TextToSpeech use so windows uses FlutterTts instead

To fix glitchy audio/pause icon on windows

* chore: remove unused package, formatting

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-07-10 15:31:24 -04:00
ggurdin
48cb93af90
chore: reenable translation button for audio messages (#3411) 2025-07-10 14:17:53 -04:00
ggurdin
5c63aa95c5
chore: decrease token text size in word zoom card, don't deselect token on second click (#3410) 2025-07-10 14:11:30 -04:00
ggurdin
a03ce7e7b1
chore: only allow users to edit text messages (#3407) 2025-07-10 13:52:19 -04:00
ggurdin
d9635dd968
chore: only show language assistance buttons for messages in user's l2 (#3405) 2025-07-10 13:48:17 -04:00
ggurdin
67dda37c44
chore: do not scale other text in message bubble (#3404) 2025-07-10 13:43:03 -04:00
ggurdin
109fe3e278
chore: if token is highlighted while playing audio, always show underline color (#3392) 2025-07-10 11:47:43 -04:00
ggurdin
a660ba32c1
chore: fix some sizing issues on mobile, some updates to menu buttons (#3383) 2025-07-09 13:15:16 -04:00
ggurdin
612ab99ea8
fluffychat merge 2025-07-08 09:52:41 -04:00
ggurdin
182269da97
merge main 2025-07-08 09:19:17 -04:00
ggurdin
12752ef38e
chore: don't call lemma_defintion for all tokens when opening toolbar (#3364) 2025-07-07 16:46:38 -04:00
ggurdin
78b77cfe2e
chore: make toolbar key constant to prevent rebuilds (#3361) 2025-07-07 15:16:19 -04:00
ggurdin
f50f202c03
chore: save lemma edits to database (#3360) 2025-07-07 14:48:00 -04:00
ggurdin
41830f2f2d
chore: react to new token selection when token is initally selected (#3358) 2025-07-07 13:45:10 -04:00
Kelrap
4858e06295
Uses lowercase versions of lemma/form when comparing (#3346) 2025-07-07 10:50:35 -04:00
avashilling
66e4cbc6af
feat: add star and morph icon rain when new grammar concept unlocked (#3338) 2025-07-07 09:43:52 -04:00
ggurdin
491c13b28f
chore: fix jerking animation in word card 2025-07-03 15:45:36 -04:00
ggurdin
ca71286e40
resolve merge conflict 2025-07-03 15:16:57 -04:00
avashilling
15b1e68b74 clarify variable names and format code 2025-07-03 14:46:16 -04:00
ggurdin
a840146d04
Merge branch 'main' into 3331-clicking-analytics-header-items-navigates-to-full-page-display 2025-07-03 14:39:38 -04:00
ggurdin
280f54b55c
chore: redirect to analytics page instead of opening analytics popup 2025-07-03 14:39:12 -04:00
ggurdin
3b22d6b1c4
chore: some positioning fixes 2025-07-03 14:31:24 -04:00
ggurdin
aeb92b1b89
refactor: new message selection mode 2025-07-03 12:36:21 -04:00
avashilling
608ab95f1f Merge branch 'main' into 3223-marking-new-forms-and-simple-satisfying-collection-mechanic 2025-07-03 12:31:23 -04:00
avashilling
71e1423fd9 make overlay separate/stacked on top of word card 2025-07-03 11:44:59 -04:00
avashilling
cec627386b small fixes and refactoring
Change how NewWordOverlay is called and remove redundant variables, take repeat tokens/lemma out of newTokens on click
2025-07-02 16:58:41 -04:00
avashilling
1a08dda0ad add slightly different animation for smaller screens when not in column mode
vocab seed goes towards top right of card rather than top left of chat view, since there are no vocab stats on small screens
2025-07-02 15:02:17 -04:00
ggurdin
9250d5681f
chore: account for column width when calculating maxWidth for message bubble with extra content 2025-07-02 13:15:24 -04:00
avashilling
43ae91f96b Merge branch 'main' into 3223-marking-new-forms-and-simple-satisfying-collection-mechanic 2025-07-02 12:38:22 -04:00
ggurdin
90ada27ecc
Merge pull request #3318 from pangeachat/3313-punctuation-vertical-misalignment
chore: fix vertical misalignment of non-token text
2025-07-02 12:08:53 -04:00