fluffychat/lib/pangea/toolbar/message_practice
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
..
dotted_border_painter.dart build: file reorganization 2025-12-04 16:36:04 -05:00
message_audio_card.dart fixed height audio player 2025-12-17 13:11:14 -05:00
message_morph_choice.dart chore: When first grammar question active, shimmer choices 2025-12-18 12:24:48 -05:00
message_morph_choice_item.dart chore: When first grammar question active, shimmer choices 2025-12-18 12:24:48 -05:00
message_practice_mode_enum.dart chore: add tooltips to each practice mode 2025-12-16 11:24:54 -05:00
morph_selection.dart build: file reorganization 2025-12-04 16:36:04 -05:00
practice_activity_card.dart build: file reorganization 2025-12-04 16:36:04 -05:00
practice_controller.dart 4825 vocabulary practice (#4826) 2026-01-07 10:13:34 -05:00
practice_match_card.dart chore: When first grammar question active, shimmer choices 2025-12-18 12:24:48 -05:00
practice_match_item.dart more practice mode updates 2025-12-17 13:38:54 -05:00
reading_assistance_input_bar.dart chore: Don't show shimmer for unavailable modes (#5006) 2025-12-31 10:45:15 -05:00
token_practice_button.dart Reduce gap between lines in practice modes (#5041) 2026-01-05 12:03:29 -05:00
toolbar_button.dart practice buttons shimmer 2025-12-17 13:08:15 -05:00