Commit graph

469 commits

Author SHA1 Message Date
Kelrap
f130c35016 Disable l1 translation for audio messages 2026-01-23 10:46:38 -05:00
ggurdin
ea9a7570de
chore: update disabled toolbar button color 2026-01-22 16:49:49 -05:00
ggurdin
baa9324229
fix: add more space between text and underline for highlighted tokens (#5332) 2026-01-22 11:02:51 -05:00
ggurdin
ed1ade783a
chore: Remove sentence-level pronunciation (#5306) 2026-01-21 10:53:16 -05:00
ggurdin
529f12e028
5259 bot settings language settings (#5305)
* feat: add voice to user model

* update bot settings on language / learning settings update

* use room summary to determine member count

* translations
2026-01-21 10:44:21 -05:00
ggurdin
573ee4dddd
Merge pull request #5277 from pangeachat/5260-message-options-reorganization
chore: move regeneration button down to toolbar
2026-01-20 14:52:08 -05:00
ggurdin
79926a9ade
moved some logic around 2026-01-20 14:51:44 -05:00
ggurdin
eafa8f60f0
chore: replace message toolbar language mismatch popup with button in disabled snackbar 2026-01-20 12:33:25 -05:00
Ava Shilling
445ed0338d chore: move regeneration button down to toolbar 2026-01-20 12:04:30 -05:00
ggurdin
257fb465be
chore: reload info in word card in vocab details after submitting token feedback 2026-01-19 12:18:27 -05:00
ggurdin
ca3a866b8b
resolve merge conflict 2026-01-16 10:29:11 -05:00
ggurdin
d36ae65154
chore: analytics details page tweaks 2026-01-16 09:42:08 -05:00
ggurdin
38ff0022fa
normalize target construct selection for activity targets 2026-01-15 13:39:30 -05:00
ggurdin
f5a75b9f8b
cleanup 2026-01-15 13:13:56 -05:00
ggurdin
af92158fa1
update activity models to reduce duplicate data 2026-01-15 12:47:44 -05:00
ggurdin
326e5c3241
fix example messages for grammar activities, make practice activity model a sealed class 2026-01-15 09:59:28 -05:00
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