Commit graph

61 commits

Author SHA1 Message Date
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
e316517c1e
fix: return bot local stt, ensure stt rep exists in request stt translation function (#5003) 2025-12-31 10:30:42 -05:00
Kelrap
711ae38f4a
Model key cleanup (#4983)
* refactor: Group redundant ModelKey entries

* Add python script to find and replace hardcoded ModelKey values

* Edited Python script to not automatically use ModelKey for files not
already using it

* refactor: Ran script and accepted obvious changes

* rename 'duration' model key

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-12-31 09:26:06 -05:00
ggurdin
d929ed0230
fix: allow translation of bot audio transcripts 2025-12-23 09:34:05 -05:00
Kelrap
fafddc2200 Remove userGender entries for individual requests 2025-12-08 12:18:28 -05:00
Kelrap
0575569505 Add gender to request JSONs 2025-12-05 11:22:39 -05:00
ggurdin
652f5731b4
build: file reorganization 2025-12-04 16:36: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
97bfdb2603
remove space code controller from pangea controller 2025-12-03 16:36:41 -05:00
ggurdin
e184e9a76f
move text to speech controller out of pangea controller 2025-12-03 15:39:29 -05:00
ggurdin
9cb155fcf1
reorganize pangea rep / pangea message event files 2025-12-03 15:22:45 -05:00
ggurdin
19d11994d6
removed message data controller 2025-12-03 13:58:46 -05:00
ggurdin
a56ba59316
initial work to remove speech to text controller from pangea controller 2025-12-03 12:07:36 -05:00
ggurdin
895654b2b5
refactor: reduce duplicate data-fetching related logic in select mode controller 2025-12-02 15:18:37 -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
941827bb8a
refactor: remove chat controller dependency from choreographer 2025-11-10 15:23:15 -05:00
ggurdin
3afd97fe07
formatting 2025-11-06 13:23:45 -05:00
ggurdin
513184e1e1
reorganize files 2025-11-06 12:08:20 -05:00
ggurdin
a48a799af7
chore: update tokens repo 2025-11-04 16:05:27 -05:00
ggurdin
c85ba9ad14
Merge branch 'main' into choreographer-refactor 2025-11-03 11:15:05 -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
749517fafb
clean up models 2025-10-28 14:45:34 -04:00
ggurdin
2637308891
refactor: remove unused files in choreo folder, remove request and response models into their own files 2025-10-24 14:27:09 -04:00
ggurdin
570d5e511d
chore: wait for user to send at least 3 text or audio messages before showing overlay with instructions about clicking activity status button 2025-10-01 10:00:53 -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
39e01c320b
fix: when fetching translation, only consider a message to have included IT if the sent message body matches the message at the end of choreo (#3936) 2025-09-10 14:10:57 -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
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
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
956b2af88f
feat: make tokens in STT transcript clickable 2025-06-20 15:02:39 -04:00
ggurdin
296ddef06d
chore: add SST translation event 2025-06-11 12:12:26 -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
8b859ccb81
chore: only show STT for .wav audio messages (#2423) 2025-04-11 12:10:11 -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
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