Commit graph

50 commits

Author SHA1 Message Date
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
d8caf8e481
feat: analytics database 2025-12-23 14:35:41 -05:00
ggurdin
26fe60ddcf
chore: When first grammar question active, shimmer choices 2025-12-18 12:24:48 -05:00
ggurdin
048fab59bd
fix: restrict width of morph icon in practice token button 2025-12-18 12:04:03 -05:00
ggurdin
13d43611fa
feat: send message info in lemma info request 2025-12-18 11:45:58 -05:00
ggurdin
60f572520d
initial work to add shimmer to match activity options 2025-12-16 11:37:47 -05:00
ggurdin
84737dbca1
update lemma meaning and phonetic transcription repos 2025-12-09 16:20:17 -05:00
ggurdin
abab3923d9
resolve merge conflicts 2025-12-04 15:07:35 -05:00
ggurdin
54117f4f77
fix: fix type issue with keys in practice selection repo 2025-12-04 14:26:41 -05:00
ggurdin
16fe7f28e3
move language settings getter into user controller 2025-12-04 09:12:48 -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
ba4c914745
refactor: update toolbar selelction mode with value notifiers, show unsubscribed message tools error in message bubble 2025-11-17 11:52:58 -05:00
ggurdin
7d5e84b7be
fix: don't include duplicate lemmas in match activity token set (#4498) 2025-10-22 13:11:11 -04:00
ggurdin
a45c52add4
chore: saved activity copy updates, go directly back to course settings on save activity (#4482) 2025-10-21 14:26:54 -04:00
avashilling
188db715dd
4201 providing emoji options for the game based on vocabulary analytics (#4425)
* update sorting token method to not shuffle

* change linkedhashset to simpler list/set operation
2025-10-21 13:19:20 -04:00
avashilling
cd2f43c00c
add XP animation on match activity tokens (#4373) 2025-10-14 14:18:04 -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
c8e67a5c89
chore: shuffle practice tokens before selecting the ones to include (#4097) 2025-09-23 09:40:21 -04:00
ggurdin
740b2287f9
chore: fix error with duplicate lemma emojis in match activity (#3861) 2025-09-03 15:18:42 -04:00
ggurdin
cb3f4d191c
fix: only pass one emoji match option per token in emoji match activity (#3844) 2025-09-02 14:06:57 -04:00
ggurdin
be771abff1
fix: pick another emoji if duplicate emojis in activities (#3804) 2025-08-25 16:46:38 -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
ggurdin
233e5162d1
chore: don't show match activities for single-word messages 2025-06-17 13:39:46 -04:00
ggurdin
30b185cdcc
fluffychat merge 2025-06-09 16:02:38 -04:00
ggurdin
97876e5918
Merge prod into main (#2867)
* chore: fully update match info after auto-accepting replacement, add more error handling in construct token span

* bump version

* fix: don't stop activity language on fail to fetch image URL

* fix: don't show copy class code buttons into class code is null

* fix: use activity type enum name in key instead of string

* chore: fully update match info after auto-accepting replacement, add … (#2866)

* chore: fully update match info after auto-accepting replacement, add more error handling in construct token span

* bump version

* fix: don't stop activity language on fail to fetch image URL

* fix: don't show copy class code buttons into class code is null

* fix: use activity type enum name in key instead of string
2025-05-22 13:02:57 -04:00
ggurdin
e01166cf14
Sentry (#2825)
* fix: resolve typecast error

* chore: fix add to stream after close error
2025-05-16 13:57:37 -04:00
Sofanyas Genene
dcda192c79
Sorted meaning choices practice_match.dart (#2571)
* Sorted meaning choices practice_match.dart

* generated

* sorted choiceArray before mapping

* generated

* chore: remove print statement

---------

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-04-29 14:35:49 -04:00
ggurdin
b25676a58d
refactor: remove tokens and detections from IGC text data model (#2528)
* refactor: remove tokens and detections from IGC text data model

* generated

* refactor: initial work to remove tokens from span_details and IT responses

* refactor: add xp field to construct use class, rewrite function for turning choreo record into construct uses

* refactor: add translation assistance construct use type

* refactor: move analytics feedback to popup above messages

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-23 12:29:45 -04:00
wcjord
0027ce8536
fix(emoji_activity): don't give activity on any tokens with the same lemma or form (#2533) 2025-04-22 17:33:44 -04:00
ggurdin
92078265a4
chore: return a null practice entry if it does not match user's L2 (#2474) 2025-04-17 10:53:32 -04:00
ggurdin
739e271cb4
2455 reading assistance feedback from linh (#2456)
* chore: show correct morph once matched

* fix: account for morph activities in function to determine is token activity is complete

* chore: on click already correctly matched item, open the toolbar for the corresponding token
2025-04-16 12:44:23 -04:00
ggurdin
b333c45026
2364 on chat creation with activity if no room image set activity image (#2371)
* chore: formatting

* chore: on chat creation without activity, set avatar to activity image if no image set
2025-04-07 10:58:38 -04:00
wcjord
9971ca50b9 chore(practice_selection): preferencing tokens without activities in selection 2025-04-06 15:59:33 -04:00
wcjord
868669484a fix(emoji_activity_generator): ensure unique choices 2025-04-05 12:43:47 -04:00
ggurdin
8b9fce8e56
chore: formatting (#2315) 2025-04-02 09:05:00 -04:00
wcjord
32ab738477 fix(reading_assistance): register end of activity 2025-04-01 17:20:24 -04:00
sienna-sterling
96197138ba
1949-changing-it-feedback (#2088)
---------

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-04-01 15:04:33 -04:00
wcjord
6e7ae5c044 chore(reading_assistance): several fixes and an enhancement to gain points animation 2025-04-01 14:13:16 -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
wcjord
88369ba8f7 fix(reading_assistance): fixed a bug in scoring matches 2025-03-31 17:23:17 -04:00
ggurdin
8a84925452
chore: don't hide inline tooltip icons until tooltip is closed (#2278) 2025-03-31 13:37:19 -04:00
wcjord
b6e27d739a chore(reading_assistance): persistent distractor selection and fixes to analytics saving 2025-03-31 11:44:18 -04:00
ggurdin
07128e3c0a
2270 lemma missing and purple too dark (#2272)
* chore: make key unique in vocab details page, update example message background color

* chore: ensure widget keys are unique
2025-03-31 10:20:44 -04:00
ggurdin
35aa5ced02
chore: account for non-l2 message in token TTS (#2271) 2025-03-31 09:33:57 -04:00
wcjord
2e1da66006 refactor(reading_assistance): persistent practice records 2025-03-30 10:11:21 -04:00
ggurdin
027e13f32d
formatting (#2229) 2025-03-26 09:31:06 -04:00
wcjord
ac5356acd7 chore(reading_assistance): more tweaks based on feedback 2025-03-25 17:44:36 -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
ggurdin
06ee5403bb
formatting (#2210) 2025-03-24 15:35:45 -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