Commit graph

453 commits

Author SHA1 Message Date
ggurdin
bb73892c18
fix: add custom token underline widget to make all text underlines equal height (#5170) 2026-01-12 11:27:56 -05:00
ggurdin
2b118e8185
fix: add reaction notifier to rebuild reaction picker and reaction display on reaction change (#5151) 2026-01-09 10:49:36 -05:00
ggurdin
33d8df3125
fix: disable emoji setting for non-L2 constructs (#5148) 2026-01-09 10:10:33 -05:00
ggurdin
c4adac38f0
fix: fix practice record construct id assignment for morph activities (#5133) 2026-01-08 11:39:30 -05:00
ggurdin
d512571792
feat: allow users to update bot's voice settings (#5119) 2026-01-07 14:33:35 -05:00
ggurdin
1b6dd5bd3f
chore: don't show practice tooltip if mode is complete (#5108) 2026-01-07 11:29:09 -05:00
ggurdin
af395d0aeb
4825 vocabulary practice (#4826)
* chore: move logic for lastUsedByActivityType into ConstructIdentifier

* feat: vocab practice

* add vocab activity progress bar

* fix: shuffle audio practice choices

* update UI of vocab practice

Added buttons, increased text size and change position, cards flip over and turn red/green on click and respond to hover input

* add xp sparkle, shimmering choice card placeholder

* spacing changes

fix padding, make choice cards spacing/sizing responsive to screen size, replace shimmer cards with stationary circle indicator

* don't include duplicate lemma choices

* use constructID and show lemma/emoji on choice cards

add method to clear cache in case the results was an error, and add a retry button on error

* gain xp immediately and take out continue session

also refactor the choice cards to have separate widgets for each type and a parent widget to give each an id for xp sparkle

* add practice finished page with analytics

* Color tweaks on completed page and time card placeholder

* add timer

* give XP for bonuses and change timer to use stopwatch

* simplify card logic, lock practice when few vocab words

* merge analytics changes and fix bugs

* reload on language change

- derive XP data from new analytics
- Don't allow any clicks after correct answer selected

* small fixes, added tooltip, added copy to l10

* small tweaks and comments

* formatting and import sorting

---------

Co-authored-by: avashilling <165050625+avashilling@users.noreply.github.com>
2026-01-07 10:13:34 -05:00
ggurdin
5aa3d759e0
fix: remove reaction subscription to prevent overlay jumping (#5100) 2026-01-07 09:31:05 -05:00
ggurdin
5563e43a4c
fix: disable new token collection for token not in L2 2026-01-06 15:09:46 -05:00
ggurdin
581288f220
remove duplicate subscription cancel 2026-01-06 14:17:49 -05:00
ggurdin
e5efb7fbab
fix: in emoji picker, don't set selected emoji based on old stream data 2026-01-06 14:16:42 -05:00
ggurdin
db5bc50694
chore: allow users to highlight main word in word card 2026-01-06 13:57:25 -05:00
ggurdin
20c0692d20
chore: style tokens in transcription like other clickable tokens (#5055) 2026-01-05 13:20:04 -05:00
ggurdin
288e11ffe5
fix: prevent word card overflow in vocab details (#5049) 2026-01-05 12:21:33 -05:00
Kelrap
306b830035
Reduce gap between lines in practice modes (#5041) 2026-01-05 12:03:29 -05:00
ggurdin
fa4de79b3b
chore: default to reactions maxWidth null if not available (#5047) 2026-01-05 11:50:59 -05:00
ggurdin
a6b522529d
fix: fix overlay reactions bouncing around (#5031) 2026-01-02 11:01:01 -05:00
ggurdin
83b993d0e1
chore: hide request regeneration button in practice mode (#5028) 2026-01-02 09:57:34 -05:00
ggurdin
18bd2e4b6a
chore: disable lemma emoji selection for word card in token feedback dialog (#5026) 2026-01-02 09:35:48 -05:00
ggurdin
7f09287bc7
fix: set exact reactions length in overlay (#5016) 2025-12-31 15:15:43 -05:00
ggurdin
857d369f41
chore: Don't show shimmer for unavailable modes (#5006) 2025-12-31 10:45:15 -05:00
ggurdin
cb141a7c4c
chore: set max lines for word card phonetic transcription (#5005) 2025-12-31 10:41:35 -05:00
ggurdin
43080978de
simplify message token renderer (#4994)
* simplify message token renderer

* token rendering and new word collection for tokens in activity summary / menu

* make tokens hoverable
2025-12-30 16:56:47 -05:00
ggurdin
f6d40866da
fix: show request regen button in overlay message (#4996) 2025-12-30 15:51:31 -05:00
ggurdin
2711ded979
fix: don't highlight new tokens until analytics initialize (#4990) 2025-12-30 14:26:30 -05:00
ggurdin
eef9a56275
fix: Latest sent message sinks when clicked on Mobile (#4989) 2025-12-30 14:20:29 -05:00
ggurdin
7e9ec32ab6
fix: fix word card overlay in mobile vocab details page (#4988) 2025-12-30 13:58:43 -05:00
ggurdin
d0a22c6618
chore: close lemma emoji snackbar on parent widget disposed (#4972) 2025-12-30 09:40:40 -05:00
ggurdin
9c4b8629e5
4726 word card in arabic goes way to the side (#4970)
* fix: initial work for word card positioning on RTL system

* fix: fix practice mode animation for RTL languages
2025-12-30 09:29:29 -05:00
ggurdin
c507c7b54b
feat: allow token feedback for word card in vocab analytics (#4900)
* feat: allow token feedback for word card in vocab analytics

* fix: remove duplicate global keys
2025-12-30 09:07:16 -05:00
ggurdin
b8c25cb2d7
fix: don't close word card on click (#4967) 2025-12-29 15:34:26 -05:00
ggurdin
82c8c1e4f6
chore: reduce padding between lines of message in practice mode (#4962) 2025-12-29 13:57:28 -05:00
ggurdin
eb3fd515fa
fix: remove clicked new token from new tokens cache immeadiatley instead of waiting for new token animation to finish (#4952) 2025-12-29 11:18:01 -05:00
ggurdin
d8caf8e481
feat: analytics database 2025-12-23 14:35:41 -05:00
ggurdin
11d00fdd12
fix: when not in column mode, don't add padding to top of practice tooltip 2025-12-22 14:12:12 -05:00
ggurdin
c223708673
fix: set emoji placeholder text colot 2025-12-22 14:08:09 -05:00
ggurdin
65c6c2af95
Merge pull request #4922 from pangeachat/grammar-practice-background
Add background to make dark mode icon stand out in own message grammar practice
2025-12-22 13:46:42 -05:00
ggurdin
410e2b80a6
simplify 2025-12-22 13:45:28 -05:00
ggurdin
b7763c3e46
fix: change how screen width metric changes are tracked 2025-12-22 13:35:00 -05:00
Kelrap
ac050539c8 Add background to make dark mode icon stand out in own message grammar
practice
2025-12-22 11:14:40 -05:00
ggurdin
4b122f6542
chore: more word card spacing adjustments 2025-12-19 10:14:58 -05:00
ggurdin
12b320dcf5
feat: Stay in audio mode after end of audio 2025-12-19 09:40:05 -05:00
ggurdin
dc6e7b0762
feat: play audio on token click and on construct click in vocab analytics 2025-12-18 14:59:44 -05:00
ggurdin
e9e4604aad
feat: While audio is playing, allow clicking of word to move audio to that spot 2025-12-18 14:48:51 -05:00
ggurdin
193e458b7f
fix: close message overlay when screen size changes 2025-12-18 14:02:26 -05:00
ggurdin
40cc517b82
chore: Level attention to emoji and audio icons 2025-12-18 13:08:29 -05:00
ggurdin
26fe60ddcf
chore: When first grammar question active, shimmer choices 2025-12-18 12:24:48 -05:00
ggurdin
0d3ab7e7c9
chore: Expand word card for meanings 2025-12-18 12:08:35 -05:00
ggurdin
048fab59bd
fix: restrict width of morph icon in practice token button 2025-12-18 12:04:03 -05:00
ggurdin
c3d1c0a81c
chore: Focus on word meanings in reaction choices 2025-12-18 11:50:42 -05:00