Commit graph

14 commits

Author SHA1 Message Date
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
30b185cdcc
fluffychat merge 2025-06-09 16:02:38 -04:00
ggurdin
ddc60b0a4f
chore: fully update match info after auto-accepting replacement, add more error handling in construct token span (#2865) 2025-05-21 16:06:30 -04:00
ggurdin
03a5bed450
chore: allow users to undo autocorrection of normalization errors (#2538) 2025-04-23 14:13:57 -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
9015edb5c1
chore: highlight selected span during IGC (#2514) 2025-04-21 09:51:32 -04:00
ggurdin
278219b163
2409 automatically apply accentpunctuation corrections (#2449)
* feat: automatically accept normalization error matches

* chore: on text change, if assistance state changes, update the IGC button
2025-04-15 15:48:03 -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
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
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
6ddb18b6ec
fix: added fix to remove matches if they don't align with tokens and to use characters when replacing originalInput (#1948) 2025-02-26 15:51:09 -05:00
ggurdin
32d314c026
feat: fetch new tokens for messages without originalsent representations (#1853) 2025-02-19 15:21:18 -05:00
ggurdin
8a272ae7c1
feat: function to convert RepresentationEvent => IGCTextData (#1452) 2025-01-15 12:07:00 -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