Skip to content

Show translation model download progress and a cancel button - #1617

Open
cdrini wants to merge 1 commit into
internetarchive:masterfrom
cdrini:translate-download-progress
Open

cdrini wants to merge 1 commit into
internetarchive:masterfrom
cdrini:translate-download-progress

Conversation

@cdrini

@cdrini cdrini commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Description

Shows a progress bar, the download size and a Cancel button while the translation model downloads, instead of a spinner.

Technical

Testing

On the IA demo, enable the translate experiment, choose a language, and click Translate: progress shows, Cancel stops the download, and translating again downloads and translates the page.

Screenshots/Videos

translate-download-pr

🤖 Generated with Claude Code

Co-Authored-By: Drini Cami <cdrini@gmail.com>
@cdrini
cdrini force-pushed the translate-download-progress branch from 699ceda to 449a76b Compare October 24, 2026 00:58
@codecov

codecov Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 38.98305% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.76%. Comparing base (042a0e4) to head (449a76b).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/plugins/translate/plugin.translate.js 21.05% 30 Missing ⚠️
src/plugins/translate/TranslationManager.js 71.42% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1617      +/-   ##
==========================================
+ Coverage   64.65%   64.76%   +0.10%     
==========================================
  Files          69       69              
  Lines        6309     6357      +48     
  Branches     1400     1411      +11     
==========================================
+ Hits         4079     4117      +38     
- Misses       2190     2200      +10     
  Partials       40       40              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants