* 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>
* rain confetti on activity finish
also add continue button, and change copy for completed single practice activities
* fix: show confetti popup when finish all activities with grammar activity
* translations
---------
Co-authored-by: ggurdin <ggurdin@gmail.com>
* remove chat UI from archived activities
- only count current, non left or banned activities in list to remove directly deleted activities
- change learning indicators to reflect the same activity list
* revert accidental changes
* import sorting and edge case handling
* chore: update pangea comments
---------
Co-authored-by: ggurdin <ggurdin@gmail.com>
* fix: add new analytics update type for initial data (from local and server), listen for init updates in analytics page to rebuild on language change
* fix: URL encode construct IDs during construct analytics navigation
* chore: add tooltip to level analytics page, update divider in construct analytics details page
* don't show activity dropdown instructions if word card is open
* block other overlays from openning when tutorial overlay is open
* remove duplicate open overlay data, don't wait for construct banners to close if overlay fails to open
* visual tweaks and confetti rain on results generation
* create star rain widget to trigger when activity finishes
* delete commented out lines
* use new star confetti widget in levelup
---------
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
* Use L10n for 'Level up' text
* Replace drop down button with close button
---------
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
* Fix problem with unlockedLemmas that prevented grammar popups
* don't convert set into list
---------
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
* chore: don't lazy load members, account for left memebers when determining if activity is finished
* chore: always show continue button in unfinished activities