Commit graph

50 commits

Author SHA1 Message Date
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
ggurdin
e777010681
chore: give reported message sentry errors unique fingerprints to prevent grouping them together (#2518) 2025-04-21 12:44:26 -04:00
ggurdin
4864a46a77
chore: message report sentry error, include eventID in title and full event content in body (#2511) 2025-04-18 12:38:03 -04:00
ggurdin
8b859ccb81
chore: only show STT for .wav audio messages (#2423) 2025-04-11 12:10:11 -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
b6a6991e61
chore: fix dialogs in report offensive message flow (#2380) 2025-04-07 13:49:26 -04:00
ggurdin
3acab885d9
feat: initial work to prevent giving points for copy-pasted text (#2345)
* feat: initial work to prevent giving points for copy-pasted text

* chore: replace tokenization with comparing token content with pasted content
2025-04-04 13:47:14 -04:00
ggurdin
ea36ba4a17
chore: move message reporting copy to localizations file (#2303) 2025-04-01 13:05:21 -04:00
ggurdin
d935f6a501
chore: send error to sentry on report message (#2302) 2025-04-01 12:56:29 -04:00
wcjord
b6e27d739a chore(reading_assistance): persistent distractor selection and fixes to analytics saving 2025-03-31 11:44:18 -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
8ab7f38cb4
chore: move chat input row into new file, determine contents based on… (#2203)
* chore: move chat input row into new file, determine contents based on overlayController

* fix: don't show toolbar buttons if message is not yet sent
2025-03-28 16:14:40 -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
ggurdin
e3e81fbd68
feat: send activity plan state event 2025-03-24 15:28:02 -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
Wilson
b104069d31
feat: level up summary (#2182)
* remove send local analytics to matrix on level up

* complete implementation of level up summary

* generated

* fix model key issues that prevents parsing request and response

* fix env

* generated

* improve level up summary to utilize existing state event

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-03-21 12:19:06 -04:00
ggurdin
185595370e
fix: if tokens event is malformed look for other tokens events 2025-03-20 16:57:05 -04:00
Wilson
9cdba97a1c
(chore) save parse from json language detections (#2119)
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-03-12 11:44:34 -04:00
wcjord
0128ac42cd
Vocab-details-v2 (#2093)
* started activity in chat creation

* starting vocab tile display

* refactor(vocab_analytics_list): made into little tiles that show the user chosen emoji

* chore: comment out unused file

* chore: remove unused variable

* chore: make eventID nullable for constructs so users can set emoji from vocab details popup

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-03-10 10:33:39 -04:00
wcjord
8abf036381
Refactor: Move toolbar content to bottom of screen
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-03-06 15:52:07 -05:00
ggurdin
365b7f0a12
fix: resolve issues with token punctuation combination and HWL activities (#2051) 2025-03-05 16:08:32 -05:00
Wilson
e560f2345d
bake language detections into pangea message events, change relative imports to absolute imports (#1947)
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-03-05 10:20:54 -05:00
ggurdin
56b2d132e1
chore: don't show toolbar for redacted messages (#1992) 2025-02-28 11:45:25 -05:00
wcjord
14dc4ed187
fix(pangea_token_model): don't give activities on tokens you just use… (#1856)
* fix(pangea_token_model): don't give activities on tokens you just used in a message

* generated

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-02-21 09:35:26 -05:00
ggurdin
32d314c026
feat: fetch new tokens for messages without originalsent representations (#1853) 2025-02-19 15:21:18 -05:00
ggurdin
b1b5e998ce
fix: move shouldDoActivity function to pangeaMessageEvent to prevent giving activities for messages not in user's l2 (#1832) 2025-02-18 09:57:48 -05:00
ggurdin
87581e8cfc
fix: when merging punctuation into tokens to prevent line breaks, account for punctuation preceding tokens (#1812) 2025-02-17 11:52:00 -05:00
ggurdin
4fe67a9384
fix: combine token with following punctuation to prevent punctuation from causing newline (#1783) 2025-02-13 12:30:38 -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
wcjord
e2ca788f81
Add message meaning challenge activity (#1706)
* Add message meaning mode to toolbar

---------

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-06 17:03:21 -05:00
ggurdin
b98f2d3283
1547 level indicator for all users (#1722)
* feat: publicly viewable target language and level indicator

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-06 16:37:09 -05:00
ggurdin
527a835cd2
feat: don't award analytics data for messages not in l2 (#1686) 2025-02-03 13:53:24 -05:00
wcjord
d773347d6e
Morph-repo-2 (#1681)
* feat(morphs): repo for getting lang-specific list of morphs

* integrated repo into use of morph features and tags

* generated

* merged with previous push

* generated

* generated

* chore: fix .env file path

---------

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-03 12:21:29 -05:00
ggurdin
d5dd66bcc2
feat: grammar analytics popup redesign (#1670) 2025-01-31 13:39:10 -05:00
ggurdin
fa1bde06f6
fix: on update POS morph feature, also update token's POS (#1643) 2025-01-30 11:49:24 -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
wcjord
5f1c1887fc
1524 i still have to do too many exercises to unlock an audio message (#1562)
* feat(toolbar): moved audio to the left

* feat(toolbar): move tts to the left

* dev: dart formatting

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-01-23 14:41:30 -05:00
ggurdin
1d8e68a147
feat: different styling for activity plan messages (#1558)
* feat: different styling for activity plan messages
2025-01-23 13:03:21 -05:00
ggurdin
77e8b3f474
feat: add custom svgs to lemmas in word zoom card (#1540) 2025-01-22 16:18:11 -05:00
ggurdin
426e37b1a5
fix: remove analyticsRoom getter from PangeaToken (#1516) 2025-01-22 09:15:20 -05:00
ggurdin
5383a62502
fix: only show space analytics download button on web (#1492)
* fix: only show space analytics download button on web

* fix: don't close keyboard right after opening lemma meaning text field

* fix: make proportion the number of relevant tokens with completed activities over the number of relevant tokens
2025-01-17 11:00:09 -05:00
wcjord
d42c511bbb
feat(lemma meaning activities): exclude proper nouns (#1487)
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-01-17 09:23:06 -05:00
wcjord
77c4f711b0
feat(lemma meaning activity): widen distractor range, reduce lemmas w… (#1469)
* feat(lemma meaning activity): widen distractor range, reduce lemmas where meaning activity required

* feat(lemma meaning activities): make distractor lemmas have same pos

* dev(lemma meaning repo): use local storage instead of in-memory cache

* fix(lemma meaning activity): explicitly prevent the same meanings in distractors

* fix: dart formatting, deleted empty files

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-01-16 10:47:31 -05:00
ggurdin
87fca9f56a
Revert "revert recent changes to relevant files to test if that fixes hidden …" (#1456)
This reverts commit c1041dda70.
2025-01-15 12:51:26 -05:00
ggurdin
c1041dda70
revert recent changes to relevant files to test if that fixes hidden message bug (#1455) 2025-01-15 12:38:39 -05:00
ggurdin
027158e286
1435 refactor into function specific groupings (#1440)
* fix: deleted unreferenced files

* fix: sort files based on function
2025-01-14 14:00:30 -05:00