fluffychat/lib/pangea/common/utils
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
..
any_state_holder.dart add mixin with function to set lemma emoji and send analytics 2025-12-02 12:33:09 -05:00
async_state.dart 4825 vocabulary practice (#4826) 2026-01-07 10:13:34 -05:00
cutout_painter.dart feat: show instruction overlay on first gain points in activity pointing user to click activity stats button (#4099) 2025-09-23 10:55:53 -04:00
error_handler.dart chore: add more specific error messages 2025-07-11 12:57:48 -04:00
firebase_analytics.dart Android in Google Analytics (#3685) 2025-08-18 09:29:01 -04:00
overlay.dart chore: force span card to always go above input bar (#5096) 2026-01-06 15:34:19 -05:00
p_vguard.dart build: file reorganization 2025-12-04 16:36:04 -05:00
play_click_sound.dart feat: add notification volume setting (#4310) 2025-10-09 15:19:31 -04:00