Commit graph

27 commits

Author SHA1 Message Date
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
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
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
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
Kelrap
306b830035
Reduce gap between lines in practice modes (#5041) 2026-01-05 12:03:29 -05:00
ggurdin
857d369f41
chore: Don't show shimmer for unavailable modes (#5006) 2025-12-31 10:45:15 -05:00
ggurdin
82c8c1e4f6
chore: reduce padding between lines of message in practice mode (#4962) 2025-12-29 13:57:28 -05:00
ggurdin
d8caf8e481
feat: analytics database 2025-12-23 14:35:41 -05:00
ggurdin
410e2b80a6
simplify 2025-12-22 13:45:28 -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
26fe60ddcf
chore: When first grammar question active, shimmer choices 2025-12-18 12:24:48 -05:00
ggurdin
048fab59bd
fix: restrict width of morph icon in practice token button 2025-12-18 12:04:03 -05:00
ggurdin
13d43611fa
feat: send message info in lemma info request 2025-12-18 11:45:58 -05:00
ggurdin
392b3e31c6
add space between rows of tokens in practice mode 2025-12-17 15:32:59 -05:00
ggurdin
7cfd7bb60e
more practice tweaks 2025-12-17 14:43:23 -05:00
ggurdin
60b01425f4
more practice mode updates 2025-12-17 13:38:54 -05:00
ggurdin
0dd76722f5
fixed height audio player 2025-12-17 13:11:14 -05:00
ggurdin
5dd7fffe10
practice buttons shimmer 2025-12-17 13:08:15 -05:00
ggurdin
1da3ed16f7
add shimmer background to match choices 2025-12-16 16:25:26 -05:00
ggurdin
60f572520d
initial work to add shimmer to match activity options 2025-12-16 11:37:47 -05:00
ggurdin
b35d109c0f
chore: add tooltips to each practice mode 2025-12-16 11:24:54 -05:00
ggurdin
43fc4f3daf
chore: use builder to style pressable buttons based on height 2025-12-16 11:17:35 -05:00
ggurdin
652f5731b4
build: file reorganization 2025-12-04 16:36:04 -05:00