fluffychat/lib/pangea/instructions
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
..
instruction_settings.dart chore: reduce calls to subscription endpoint and profile endpoint (#3377) 2025-07-08 15:35:12 -04:00
instructions_enum.dart 4825 vocabulary practice (#4826) 2026-01-07 10:13:34 -05:00
instructions_inline_tooltip.dart chore: add tooltip to describe vocab highlighting in activity dropdown menu (#4412) 2025-10-15 14:18:50 -04:00
instructions_toggle.dart build: fix lints for new flutter version (#4154) 2025-09-26 09:31:55 -04:00
reset_instructions_list_tile.dart split language related and learning settings related folders 2025-12-04 10:06:59 -05:00