Commit graph

81 commits

Author SHA1 Message Date
ggurdin
f9ee134cdd
feat: course planner 2025-08-25 15:43:17 -04:00
ggurdin
ece75b7f74
3770 total vocab grammar and xp calculations per user and activity (#3775) 2025-08-19 10:15:22 -04:00
ggurdin
d8a9b6acd0
feat: add function for fetching l1 representation that accounts for messages that included IT (#3766) 2025-08-18 12:32:10 -04:00
ggurdin
7c03c70105
3517 non local storage of bookmarked activities (#3761) 2025-08-18 11:43:00 -04:00
ggurdin
9b72bd8a09
Sentry (#3655)
* chore: render newlines in html message properly

* chore: log timeouts as warnings

* chore: update log level
2025-08-07 14:25:07 -04:00
ggurdin
62140c56da
feat: activity sessions 2025-08-04 16:31:00 -04:00
Kelrap
dbeb36e463
Optimize choreo (#3567)
* Basic setup of choreo changes

* Make unit test for basic bsdiff functionality

* Create class for efficiently storing choreo step edits

* Edited unit test to use ChoreoEdit instead of bsdiff

* Edit ChoreoRecord/Step to use ChoreoEdit

* Test and debug ChoreoRecord

* Accounting for more edge cases

* Remove empty string redundancy in choreo edit

* Save originalText to record instead of step

* Make originalText non-nullable

* Make test run properly with non-nullable originalText change

* make originalText final

* Tweak ChoreoEdit for slightly improved efficiency

* chore: fix how edits are constructed for choreo records

* fix issue with manual changes not being accounted for in fromJSON

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-07-31 10:08:31 -04:00
ggurdin
cef27aa4ef
fix: return bot STT from speech to text local (#3581) 2025-07-29 12:48:02 -04:00
ggurdin
e029c38f7d
chore: normalize function for getting original written message content (#3514) 2025-07-21 13:59:51 -04:00
ggurdin
37341eccc5
chore: use more specific substring to check for temporary event IDs (#3508) 2025-07-21 12:54:43 -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
ggurdin
77e8eae2ed
chore: don't erase source text before converting it into original written after IT (#3459) 2025-07-14 16:51:44 -04:00
ggurdin
7fa1064c5d
merge main 2025-07-01 10:59:35 -04:00
ggurdin
c5b1f2ca9f
resolve merge conflicts 2025-07-01 10:56:33 -04:00
ggurdin
2efafbe3c1
chore: add bot speech to text to respresentations list 2025-06-30 14:46:14 -04:00
ggurdin
f3281d87d2
chore: if originalSent doesn't have tokens, don't include it in representations list because related token events cannot be sent to it 2025-06-26 11:25:38 -04:00
ggurdin
f86608bb0a
Revert "chore: add fake event to show when activity ended" 2025-06-24 16:21:35 -04:00
ggurdin
197778d3ac
Merge pull request #3206 from pangeachat/3125-after-the-activity-end-the-instruction-should-not-disappear
chore: add fake event to show when activity ended
2025-06-23 17:02:54 -04:00
ggurdin
414c01b616
chore: add fake event to show when activity ended 2025-06-23 17:02:24 -04:00
ggurdin
7613a63898
Merge branch 'main' into 3148-when-bot-responds-in-an-audio-message-play-that-message-without-a-click 2025-06-23 09:17:33 -04:00
ggurdin
956b2af88f
feat: make tokens in STT transcript clickable 2025-06-20 15:02:39 -04:00
ggurdin
d8911e7271
chore: phonetic transcription changes for bot audio messages 2025-06-20 11:35:25 -04:00
wcjord
daeaf900f3 fix(phonetic_transcription): fixed models 2025-06-16 16:13:40 -04:00
ggurdin
296ddef06d
chore: add SST translation event 2025-06-11 12:12:26 -04:00
ggurdin
524b8978f5
remove unused files 2025-06-10 11:50:07 -04:00
ggurdin
30b185cdcc
fluffychat merge 2025-06-09 16:02:38 -04:00
ggurdin
0c4597226f
refactor: improvements to fake message display, allow users to send more than one fake message at a time (#2925) 2025-06-04 14:01:19 -04:00
ggurdin
c45415749b
chore: add new default power levels (#2855)
* chore: add new default power levels

* chore: update permissions copy
2025-05-21 09:36:56 -04:00
ggurdin
75f70c7fdb
2843 timeout on igc (#2846)
* chore: add timeout to tokenization call after message send

* chore: add timeout to IGC

* chore: add timeout to IT
2025-05-20 12:50:29 -04:00
ggurdin
3adac7f63c
chore: use display event ID as token position cache key to prevent out-of-date positions being used to render edited messages (#2844) 2025-05-20 09:46:44 -04:00
ggurdin
542afa0506
feat: initial work for participant list leaderboard (#2579)
* feat: initial work for participant list leaderboard

* chore: normalize leaderboard header

* chore: fix some errors after fluffychat merge updates
2025-05-12 14:28:33 -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
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