Commit graph

124 commits

Author SHA1 Message Date
ggurdin
c454dc152c
Merge pull request #5352 from pangeachat/5244-grammar-practice-ui-updates
5244 grammar practice UI updates
2026-01-23 10:36:01 -05:00
ggurdin
93ee67fdba
chore: empty analytics usage dots display update 2026-01-22 16:41:46 -05:00
Ava Shilling
c881f61c4f forgot to push file and formatting 2026-01-22 13:06:57 -05:00
Ava Shilling
0068ef5965 add translations for error questions
and some spacing tweaks to improve layout and overflow issues
2026-01-22 12:56:48 -05:00
ggurdin
768680178a
Merge pull request #5254 from pangeachat/5248-word-feedback-should-update-word-card-immediately
chore: reload info in word card in vocab details after submitting tok…
2026-01-19 12:19:01 -05:00
ggurdin
257fb465be
chore: reload info in word card in vocab details after submitting token feedback 2026-01-19 12:18:27 -05:00
Ava Shilling
c3f7472224 replace constructXpWidget with progress bar
for consistent graphics between vocab and grammar
2026-01-16 16:52:32 -05:00
ggurdin
ca3a866b8b
resolve merge conflict 2026-01-16 10:29:11 -05:00
ggurdin
b9e32cf9f5
Merge pull request #5216 from pangeachat/vocab-prac-weight
Add weight icon to practice vocab button
2026-01-16 10:07:07 -05:00
Kelrap
3d43469291 Add weight icon to practice vocab button 2026-01-16 10:01:10 -05:00
ggurdin
633c82a6d0
fix: show usage dots for 0 xp usage in grey 2026-01-16 10:00:26 -05:00
ggurdin
d36ae65154
chore: analytics details page tweaks 2026-01-16 09:42:08 -05:00
ggurdin
2b21329266
resolve merge conflicts 2026-01-15 16:04:16 -05:00
ggurdin
5b2482feed
chore: ignore diacritics in vocab analytics sortings (#5203) 2026-01-15 14:29:32 -05:00
ggurdin
b698e2e84f
feat: grammar practice 2026-01-14 16:06:22 -05:00
ggurdin
2aa0c42994
fix: show morph as unlocked in analytics if ever used (#5158) 2026-01-09 11:47:37 -05:00
ggurdin
2784c9b913
chore: prevent user from spamming disabled vocab practice button (#5138) 2026-01-08 15:15:48 -05:00
ggurdin
8a669b75e9
chore: add padding to bottom of vocab list view so practice button doesn't block last vocab entries (#5132) 2026-01-08 11:18:08 -05:00
ggurdin
69fbe58378
chore: base level icon spacing on xp needed to reach level in vocab details (#5131) 2026-01-08 11:12:26 -05:00
ggurdin
0e768b12b9
chore: normalize accents in vocab search (#5128) 2026-01-08 10:34:18 -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
2c176c052d
5053 can get points from lemma with max score (#5078)
* make uses a private field for ConstructUses

* expose capped list of uses in ConstructUses

* filter capped construct uses in getUses
2026-01-06 11:39:49 -05:00
ggurdin
288e11ffe5
fix: prevent word card overflow in vocab details (#5049) 2026-01-05 12:21:33 -05:00
ggurdin
bba33b3a21
fix: don't lowercase construct keys in morph analytics list view (#5014) 2025-12-31 12:23:13 -05:00
ggurdin
2bc093f9f5
chore: add focus node to vocab list view search bar (#5011) 2025-12-31 11:23:20 -05:00
ggurdin
6c344a36e1
fix: separate block construct and update construct updates in vocab list view (#4998) 2025-12-30 15:56:06 -05:00
ggurdin
0dbbba5a27
chore: update analytics page on construct update (#4987) 2025-12-30 13:42:51 -05:00
ggurdin
9a36662083
chore: Use hyphen instead of seed/sprout/flower in list view (#4985) 2025-12-30 13:33:03 -05:00
ggurdin
e7f9452cb6
chore: delete construct navigation (#4984) 2025-12-30 13:28:48 -05:00
ggurdin
c507c7b54b
feat: allow token feedback for word card in vocab analytics (#4900)
* feat: allow token feedback for word card in vocab analytics

* fix: remove duplicate global keys
2025-12-30 09:07:16 -05:00
ggurdin
061b667b8b
fix: fix white box error and add opacity variation to construct levels in progress bar (#4966) 2025-12-29 15:19:49 -05:00
ggurdin
0eeec052b2
4907 construct details changes (#4961)
* chore: remove delegation analytics page

* feat: vocab construct analytics level bar

* chore: analytics mobile navigation

* feat: cap construct XP
2025-12-29 13:39:37 -05:00
ggurdin
d8caf8e481
feat: analytics database 2025-12-23 14:35:41 -05:00
ggurdin
75b60781af
fix: use construct id json in route for analytics details page 2025-12-19 16:12:45 -05:00
ggurdin
dc6e7b0762
feat: play audio on token click and on construct click in vocab analytics 2025-12-18 14:59:44 -05:00
ggurdin
d2a539e4dd
chore: Swap seed for hyphen for not-yet-chosen emojis in analytics 2025-12-18 12:49:56 -05:00
ggurdin
13d43611fa
feat: send message info in lemma info request 2025-12-18 11:45:58 -05:00
ggurdin
602020cb40
feat: show word card in vocab details page 2025-12-17 11:31:52 -05:00
ggurdin
b795ba3c06
use the same widget for word card and vocab details emoji pickers 2025-12-16 16:01:40 -05:00
ggurdin
2da3eb545a
feat: on first select lemma emoji, show snackbar with explanation 2025-12-15 14:45:36 -05:00
ggurdin
ba4d05c8af
chore: update morph meaning repo 2025-12-15 13:49:32 -05:00
ggurdin
db13b962a4
chore: add label to emoji selector in vocab analytics 2025-12-15 12:09:59 -05:00
ggurdin
652f5731b4
build: file reorganization 2025-12-04 16:36:04 -05:00
ggurdin
16fe7f28e3
move language settings getter into user controller 2025-12-04 09:12:48 -05:00
ggurdin
22ab4baa6e
4490 highlight going behind menu in vocab (#4494)
* fix: wrap inkwell in material to prevent highlight showing out of widget bounds

* chore: update all language dropdown option copy
2025-10-22 12:27:16 -04:00
ggurdin
f53b010105
fix: add new analytics update type for initial data (from local and s… (#4484)
* 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
2025-10-21 16:04:09 -04:00
ggurdin
9829be619c
chore: message on empty vocab filter (#4410) 2025-10-15 13:44:48 -04:00
ggurdin
f59f72c53d
fix: stop rebuilding whole course settings tab on screen size change (#4368) 2025-10-13 16:17:57 -04:00
Copilot
60caaa5218
Hide vocab analytics instructions when filtering or searching (#4362)
* Initial plan

* Hide instructions tooltip when searching or filtering vocabulary

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-10-13 14:35:01 -04:00
avashilling
bfc6356247
3976 making emoji selection more of an activity (#4255)
* add shimmer in vocab page when no emoji selected

* fix shimmer in 2 column mode and add XP for first emoji selection

* add xp sparkle on emoji selection

* formatting, imports, widget name typo fix

* dont rebuild analytics page on every analytics stream update

* remove listener

* move animation and selection visual after slow function

for better visual flow and hopefully not noticeable stutter

* change transformTargetId into variable, update local display state before awaiting saving to analytics room

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-10-13 14:22:11 -04:00