Commit graph

54 commits

Author SHA1 Message Date
ggurdin
8a8ca1026a
Vocab practice updates (#5180)
* reorganization, reload on language change

* make choice card widget

* make completed activity view stateless

* use analytics updater mixin to display points gained animation

* simplify animation in game card

* better encapsulate practice session data

* reset session loader instead of dispose

* simplify practice session model

* queue activities

* visually remove duplicate answers without editing activity content

* review updates

* don't shuffle filtered choices
2026-01-14 12:54:27 -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
ggurdin
066517a204
chore: force span card to always go above input bar (#5096) 2026-01-06 15:34:19 -05:00
ggurdin
84737dbca1
update lemma meaning and phonetic transcription repos 2025-12-09 16:20:17 -05:00
ggurdin
652f5731b4
build: file reorganization 2025-12-04 16:36:04 -05:00
ggurdin
abab3923d9
resolve merge conflicts 2025-12-04 15:07:35 -05:00
ggurdin
1e6cabc5d8
allow users to block constructs from their analytics 2025-12-04 14:07:38 -05:00
ggurdin
3ac8339817
split language related and learning settings related folders 2025-12-04 10:06:59 -05:00
ggurdin
613a4cce9c
feat: show language mismatch popup on select message not in L2 2025-12-03 11:38:36 -05:00
ggurdin
895654b2b5
refactor: reduce duplicate data-fetching related logic in select mode controller 2025-12-02 15:18:37 -05:00
ggurdin
c70e066e9e
add mixin with function to set lemma emoji and send analytics 2025-12-02 12:33:09 -05:00
ggurdin
8c404758ef
initial work to normalize sending on emoji analytics / settings of user lemma emojis 2025-12-01 15:21:06 -05:00
ggurdin
660b92fdf1
refactor: reorganize / simplify practice mode (#4755)
* refactor: reorganize / simplify practice mode

* cleanup

* remove unreferenced code

* only use content words in emoji activities
2025-12-01 13:33:51 -05:00
ggurdin
a504b8b832
fix: update how top overflow is calculated for overlays (#4718) 2025-11-20 16:10:07 -05:00
avashilling
6e8a6f8332
rain confetti on activity finish (#4715)
* 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>
2025-11-20 14:55:27 -05:00
ggurdin
4eebc4b820
return domain-specific models from choreo-related repos, use future builders on async data when possbile 2025-11-12 10:18:58 -05:00
ggurdin
4b9fd02baf
some tweaks 2025-11-11 16:31:09 -05:00
ggurdin
c256388e8b
remove unnecesary choreographer extensions 2025-11-10 15:57:40 -05:00
ggurdin
f681ffa71f
refactor: move all messaging sending logic into the chore controller, reduce full rebuilds of the chat view 2025-11-10 13:56:12 -05:00
ggurdin
3afd97fe07
formatting 2025-11-06 13:23:45 -05:00
ggurdin
513184e1e1
reorganize files 2025-11-06 12:08:20 -05:00
ggurdin
2b522b6dd7
widgets refactor 2025-11-03 12:52:22 -05:00
ggurdin
d945959ba0
full refactor of all chore-related controllers 2025-10-29 17:07:15 -04:00
ggurdin
8c388a76f8
feat: add notification volume setting (#4310) 2025-10-09 15:19:31 -04:00
ggurdin
97163ce221
4199 prevent activity menu tooltip from being interfered with my other overlays to ensure it always shows (#4215)
* 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
2025-10-01 14:00:14 -04:00
ggurdin
e10f2bebeb
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
Brord van Wierst
598820295f
Android in Google Analytics (#3685)
* android GA

* test for now

* removed test android

* formatting and pangea comments

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-08-18 09:29:01 -04:00
ggurdin
f6f4c60287
chore: add more specific error messages 2025-07-11 12:57:48 -04:00
ggurdin
aeb92b1b89
refactor: new message selection mode 2025-07-03 12:36:21 -04:00
ggurdin
d88c2a1525
chore: increase background blur when toolbar is open 2025-06-23 14:25:04 -04:00
ggurdin
30b185cdcc
fluffychat merge 2025-06-09 16:02:38 -04:00
ggurdin
33425f4406
feat: allow users on staging to switch their environment (#2799) 2025-05-14 15:46:44 -04:00
ggurdin
7c3861d2a7
chore: close level up / constructs notifications on close chat (#2656) 2025-05-05 12:19:29 -04:00
Sofanyas Genene
1e20d5fb2c
style and functionality changes to level up notification (#2444)
* style and functionality changes to level up notification

* generated

* chore: return construct summary directly from function instead of waiting for state event to be sent

* generated

* XP animation bug, asking wilson to take a look

* updated XP attributes but still facing XP retrieval bug

* generated

* Added new DinoBot image

* updated dinoBot image, added padding on sides to table row, fixed duplicate variable naming error

* generated

* chore: some updates to simplify level up widget

* chore: remove dino asset from pubspec.yaml

* chore: revert testing changes to analytics controller

* See details categories do not display unless XP gained above threshold

* generated

* chore: update icons in construct update popup above messages

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-04-29 09:09:03 -04:00
ggurdin
7f11a5dba9
Adjust translation animation (#2556)
* chore: some edits to message toolbar

* chore: some updates to reading assistance
2025-04-25 09:41:07 -04:00
ggurdin
327160c2a7
2505 have to click on other options multiple times for the click to go through after selecting an incorrect choice in it (#2516)
* chore: prevent overlays from blocking IT choices

* chore: prevent IGC card from interfering with buttons below it
2025-04-21 10:52:42 -04:00
ggurdin
9015edb5c1
chore: highlight selected span during IGC (#2514) 2025-04-21 09:51:32 -04:00
ggurdin
b7a6ee6fe2
refactor: separate token and message reading assistance modes (#2416)
* refactor: separate token and message reading assistance modes

* chore: apply same token styling to HTML formatted messages

* chore: don't wait for lemma responses before showing reading assistance content
2025-04-10 16:51:42 -04:00
ggurdin
6c87814c07
Sentry (#2347)
* chore: replace late animations with nullable to prevent late init error

* chore: remove null check operator in showToolbarButtons

* chore: don't call setState in CustomSVG if not mounted
2025-04-03 15:09:32 -04:00
ggurdin
f34f3acabc
chore: uncomment sentry initialization (#2319) 2025-04-02 12:58:18 -04:00
ggurdin
448fbbf668
refactor: move construct notifications to the top of the screen (#2298)
* refactor: move construct notifications to the top of the screen

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-01 10:57:58 -04:00
ggurdin
0faeb6f6ae
2220 separate animation logic from choice array and apply to messge match activity (#2232)
* chore: abstract choice array animation

* chore: smoother animation
2025-03-26 13:38:25 -04:00
ggurdin
ba7a9ebf53
refactor: position points animation by keys instead of as a positioned widget in a stack (#2230) 2025-03-26 10:51:16 -04:00
wcjord
87f60857e9
Emoji-assignment (#2218)
* feat(lemma_emoji_row): vocab assignment and some reading assistance tweaks

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-25 14:24:05 -04:00
wcjord
379e4a8db9
Reading assistance (#2175)
* still in draft

* feat(reading_assistance): whole message activity oriented

* chore: fix .env file path

* feat: animate selected toolbar into middle of screen

* chore: initial work for message bubble size animation

* refactor(reading_assistance): hooking up the choice interactions and polishing UI

* chore: animate in content and buttons

* formatting

* position reading content relative to selected token

* working on limiting choices

* chore: fix positioning of toolbar animation

* chore: simplify positioning logic

* chore: animate in button height

* getting there

* rough draft with restricted activity number is complete

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-03-24 15:20:07 -04:00
ggurdin
af295b2817
chore: better error logging if subscription info is null (#2171) 2025-03-19 10:31:53 -04:00
sienna-sterling
4c1594d6f0
fix(storage optimization): Removed and replaced used of PStore with G… (#1730)
* fix(storage optimization): Removed and replaced used of PStore with GetStorage

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-02-21 15:09:54 -05:00
ggurdin
62d5a7190f
1846 word specific audio player not working (#1882)
* feat: tie TTS enabled to target lang, show warning popup when disabled

* fix: prevent top overflow for popups
2025-02-21 12:19:51 -05:00
wcjord
c72a2da7fc
Unborked locales (#1741)
* feat: localized languages

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-02-12 11:59:23 -05:00
ggurdin
d43d176aec
fix: Prevent Discarded unknown attribute error by using known attributes in breadcrumbs (#1638) 2025-01-29 16:27:55 -05:00