Commit graph

164 commits

Author SHA1 Message Date
ggurdin
0ebf3d6346
fix: use token offset and length to determine where to highlight in example messages 2026-01-23 10:49:01 -05:00
ggurdin
6cfa2b158b
chore: clamp number of points shown in gain points animation 2026-01-22 16:36:02 -05:00
ggurdin
ee882d3ea4
feat: show audio message transcripts in vocab practice 2026-01-20 14:31:15 -05:00
ggurdin
33b05f6f24
setup for grammar error practice 2026-01-19 15:34:20 -05:00
ggurdin
232f5342e2
fix: add bulk updating of uses list 2026-01-16 15:47:08 -05:00
ggurdin
ca3a866b8b
resolve merge conflict 2026-01-16 10:29:11 -05:00
ggurdin
d36ae65154
chore: analytics details page tweaks 2026-01-16 09:42:08 -05:00
ggurdin
326e5c3241
fix example messages for grammar activities, make practice activity model a sealed class 2026-01-15 09:59:28 -05:00
ggurdin
b698e2e84f
feat: grammar practice 2026-01-14 16:06:22 -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
8c2cd7d022
fix: add push rule to block notifications for analytics room invites (#5190) 2026-01-14 11:04:42 -05:00
avashilling
ce2e7778ce
chore: reduce negative points to 1 (#5162)
To eliminate the chance of having negative total, minimum upon completion now is 30XP
2026-01-09 13:24:30 -05:00
ggurdin
2aa0c42994
fix: show morph as unlocked in analytics if ever used (#5158) 2026-01-09 11:47:37 -05:00
ggurdin
33d8df3125
fix: disable emoji setting for non-L2 constructs (#5148) 2026-01-09 10:10:33 -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
6343c18ad1
chore: update message analytics feedback popup background color (#5061) 2026-01-05 13:48:59 -05:00
ggurdin
d0a22c6618
chore: close lemma emoji snackbar on parent widget disposed (#4972) 2025-12-30 09:40:40 -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
f35562f78d
chore: snackbar close button 2025-12-19 09:14:19 -05:00
ggurdin
7cfd7bb60e
more practice tweaks 2025-12-17 14:43:23 -05:00
ggurdin
ab0c12d4c8
update loading indicators in word zoom card 2025-12-17 10:52:06 -05:00
ggurdin
2897142b9d
show word card in image toolbar mode 2025-12-16 14:19:17 -05:00
ggurdin
2da3eb545a
feat: on first select lemma emoji, show snackbar with explanation 2025-12-15 14:45:36 -05:00
ggurdin
43014b3207
chore: simplify progress bar widget 2025-12-10 16:05:14 -05:00
Kelrap
fafddc2200 Remove userGender entries for individual requests 2025-12-08 12:18:28 -05:00
ggurdin
e79fd6ece1
chore: use translation icon for ConstructUseTypeEnum.ta 2025-12-05 12:49:59 -05:00
Kelrap
0575569505 Add gender to request JSONs 2025-12-05 11:22:39 -05:00
ggurdin
abab3923d9
resolve merge conflicts 2025-12-04 15:07:35 -05:00
ggurdin
836ace6196
fix: use chat view's context when leaving activity via header button 2025-12-04 14:56:49 -05:00
ggurdin
1e6cabc5d8
allow users to block constructs from their analytics 2025-12-04 14:07:38 -05:00
ggurdin
4d58b66bf1
feat: initial work for deleting lemmas from analytics 2025-12-04 12:59:17 -05:00
ggurdin
25bae8baf6
remove matrix widget reference from pangea controller 2025-12-04 10:44:04 -05:00
ggurdin
3ac8339817
split language related and learning settings related folders 2025-12-04 10:06:59 -05:00
ggurdin
16fe7f28e3
move language settings getter into user controller 2025-12-04 09:12:48 -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
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
98c373f299
resolve merge conflicts, 2025-11-11 15:16:48 -05:00
ggurdin
92dfa52e47
use lemma instead of construct ID for comparison 2025-11-11 14:24:39 -05:00
ggurdin
b120f3ef84
fix: exclude 'not proper' noun type from construct analytics popups 2025-11-11 14:15:17 -05:00
ggurdin
513184e1e1
reorganize files 2025-11-06 12:08:20 -05:00
avashilling
b6c61c6683
4480 restrict options in archived activity session chat UI (#4538)
* 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>
2025-10-30 09:11:02 -04:00
avashilling
84e6f8076d
fix reverse logic in level up stats math (#4521)
now placeholder data is the corrected calculated percent of vocab and grammar gained overall, and not an unreasonable number
2025-10-28 09:25:52 -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
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