Commit graph

68 commits

Author SHA1 Message Date
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
ggurdin
3f61607995
remove unreferenced widget 2026-01-19 09:32:03 -05:00
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
1505ce7538
chore: make emoji base shimmer transparent (#5142) 2026-01-09 09:50:58 -05:00
ggurdin
57ecf08801
chore: make emoji choice shimmer background match word card background (#5116) 2026-01-07 12:16:05 -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
354e3a14d1
4919 further optimizing message info (#5033)
* remove original sent from message content

* don't add null fields to message content JSON
2026-01-02 14:30:05 -05:00
ggurdin
18bd2e4b6a
chore: disable lemma emoji selection for word card in token feedback dialog (#5026) 2026-01-02 09:35:48 -05:00
ggurdin
ef2df8ec5a
feat: Do gold shimmer every 5 seconds on unselected emojis (#4999) 2025-12-30 16:02:14 -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
d8caf8e481
feat: analytics database 2025-12-23 14:35:41 -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
ab0c12d4c8
update loading indicators in word zoom card 2025-12-17 10:52:06 -05:00
ggurdin
3bbf6e4f6c
lemma emoji picker style updates 2025-12-17 10:27:50 -05:00
ggurdin
1effc21cde
only show emoji selection shimmer if no emoji is selected 2025-12-17 09:37:00 -05:00
ggurdin
1da3ed16f7
add shimmer background to match choices 2025-12-16 16:25:26 -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
2897142b9d
show word card in image toolbar mode 2025-12-16 14:19:17 -05:00
ggurdin
84737dbca1
update lemma meaning and phonetic transcription repos 2025-12-09 16:20:17 -05:00
ggurdin
c2defa9023
fix: always pass lemma info and phonetic transcription in token feedback request 2025-12-09 14:37:15 -05:00
ggurdin
652f5731b4
build: file reorganization 2025-12-04 16:36:04 -05:00
ggurdin
1e6cabc5d8
allow users to block constructs from their analytics 2025-12-04 14:07:38 -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
9399bbe195
chore: on add lemma emoji reaction, redact other emoji reactions for same lemma (#4710) 2025-11-20 11:21:35 -05:00
ggurdin
5e0e049f81
fix: throw more specific errors, always send stack trace to sentry, don't try to access client directly after logout 2025-11-03 11:10:59 -05:00
ggurdin
ffc600caf8
fix: disable lemma emoji row buttons when onSelect does nothing 2025-11-03 09:27:26 -05:00
avashilling
ed83b0934c
shimmer color depends on theme brightness (#4463)
for better visibility in both modes
2025-10-21 13:10:19 -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
ggurdin
181c4a369b
refactor: remove ability to directly edit lemma defintions and morph assignments (#4347) 2025-10-13 11:08:44 -04:00
wcjord
9790d2e56d
feat: allow users to give token feedback in word card 2025-10-06 11:13:39 -04:00
ggurdin
54918d4969
4036 playtest 91825 (#4051)
* chore: improve constrast in message practice

* fix typo

* chore: disable learning settings save button until change is made

* show word card on click vocab in activity dropdown
2025-09-19 12:04:48 -04:00
ggurdin
802465c92c
3895 emoji sequence on clicking the words in a sentence of the target language (#4004)
* cleanup

* feat: toolbar emoji mode
2025-09-17 11:38:11 -04:00
ggurdin
d951d5eee9
3921 display unsubscribed errors for users (#3991)
* url cleanup

* chore: display unsubscribed errors differently
2025-09-15 15:58:08 -04:00
ggurdin
b5650b1bca
chore: if emoji info is cached, show first emoji in vocab analytics if user hasn't assigned an emoji (#3805) 2025-08-25 17:04:35 -04:00
avashilling
bae5765a97
3680 emoji population in vocab page (#3754)
* more consistent emojis and emoji selection in vocab page

- Makes emoji row always visible in vocab page and highlights selection
- selects one by default so more emojis show on the page
- Saves spot in vocab page on navigation
- Doesn't override emoji choice from emoji activity

* code and import formatting

* reduce calls to lemma_definition, remove unused widget file, prevent copy-related errors, don't show emoji activities for messages with less-than 2 relevant tokens

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-08-18 11:12:01 -04:00
avashilling
1843a2cd84
Darken emojis in word card after use (#3580) 2025-07-29 12:54:09 -04:00
ggurdin
3bd840c621
feat: set app language to user's L1 (#3554) 2025-07-24 13:03:19 -04:00
ggurdin
a98aeed5ed
chore: pass lemma meaning results to emoji picket instead of re-fetching, return STT langcode for audio messages (#3507) 2025-07-21 12:18:39 -04:00
avashilling
8e5dc610f8
3396 collect on selection animation not line up (#3468)
* fix: switch to overlayUtil instead of manual overlay entry to fix alignment, and comment out second seed animation

*still needs some work on the top right seed in word card

* fix: fix construct xp widget bug and comment out previous animation

also change message selection overlay to trigger update when animation is finished rather than on two conflicting timers

* merge conflicts and code formatting

* format

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-07-16 09:40:24 -04:00
ggurdin
32355ddffd
chore: redact already-sent emoji reactions on select identical reaction in word zoom widget (#3447) 2025-07-14 09:15:48 -04:00
ggurdin
f396e5d32a
chore: send lemma emoji reaction on click (#3424) 2025-07-11 13:07:10 -04:00
ggurdin
182269da97
merge main 2025-07-08 09:19:17 -04:00
ggurdin
f50f202c03
chore: save lemma edits to database (#3360) 2025-07-07 14:48:00 -04:00
ggurdin
46a8477172
fluffychat merge 2025-06-27 15:46:05 -04:00
ggurdin
956b2af88f
feat: make tokens in STT transcript clickable 2025-06-20 15:02:39 -04:00
ggurdin
16db460ae2
chore: in lemma constructs button, don't execute onTap if no points 2025-06-18 10:43:00 -04:00
ggurdin
9139c992ac
chore: update emojis when switching between different tokens 2025-06-16 12:00:53 -04:00