Commit graph

7 commits

Author SHA1 Message Date
ggurdin
612d3d6adf
fix: use canonical activity time in display for completed activity (#5164) 2026-01-09 14:01:01 -05:00
avashilling
7631af3117
fix: remove duplicates from answer choices (#5161) 2026-01-09 13:27:56 -05:00
avashilling
ce2e7778ce
chore: reduce negative points to 1 (#5162)
To eliminate the chance of having negative total, minimum upon completion now is 30XP
2026-01-09 13:24:30 -05:00
ggurdin
709126e563
chore: decrease text sizes in vocab practice complete page in one column mode (#5152) 2026-01-09 11:10:08 -05:00
ggurdin
c4adac38f0
fix: fix practice record construct id assignment for morph activities (#5133) 2026-01-08 11:39:30 -05:00
ggurdin
13efe9463e
fix: remove invalid expanded widget (#5124) 2026-01-08 10:01:03 -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