Commit graph

11 commits

Author SHA1 Message Date
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
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
d8caf8e481
feat: analytics database 2025-12-23 14:35:41 -05:00
ggurdin
26fe60ddcf
chore: When first grammar question active, shimmer choices 2025-12-18 12:24:48 -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
652f5731b4
build: file reorganization 2025-12-04 16:36:04 -05:00
Renamed from lib/pangea/toolbar/widgets/practice_controller.dart (Browse further)