Skip to content

Remove legacy GetPretranslationAsync endpoint#3896

Merged
Nateowami merged 1 commit into
masterfrom
task/remove-legacy-get-pretranslations
May 19, 2026
Merged

Remove legacy GetPretranslationAsync endpoint#3896
Nateowami merged 1 commit into
masterfrom
task/remove-legacy-get-pretranslations

Conversation

@RaymondLuong3
Copy link
Copy Markdown
Collaborator

@RaymondLuong3 RaymondLuong3 commented May 19, 2026

This PR removes the endpoint to access legacy drafts in the PreTranslation[] format. Our system has been accessing drafts via the GetPretranslationDeltaAsync endpoint since May 2024 and the front-end has already been updated to not use the legacy endpoint in PR #3826


This change is Reviewable

@RaymondLuong3 RaymondLuong3 changed the title Remove legacy GePreTranslationAsync endpoint Remove legacy GetPretranslationAsync endpoint May 19, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.90%. Comparing base (0412d54) to head (e15fe0e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3896      +/-   ##
==========================================
- Coverage   80.96%   80.90%   -0.07%     
==========================================
  Files         632      630       -2     
  Lines       40790    40654     -136     
  Branches     6614     6576      -38     
==========================================
- Hits        33027    32891     -136     
- Misses       6725     6738      +13     
+ Partials     1038     1025      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Nateowami Nateowami force-pushed the task/remove-legacy-get-pretranslations branch from e7f68bb to e15fe0e Compare May 19, 2026 23:02
Copy link
Copy Markdown
Collaborator

@Nateowami Nateowami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Nateowami reviewed 11 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on RaymondLuong3).

@Nateowami Nateowami enabled auto-merge (squash) May 19, 2026 23:04
@Nateowami Nateowami deployed to screenshot_diff May 19, 2026 23:08 — with GitHub Actions Active
@Nateowami Nateowami merged commit 6f829e4 into master May 19, 2026
26 checks passed
@Nateowami Nateowami deleted the task/remove-legacy-get-pretranslations branch May 19, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants