Skip to content

feat(ui): Show restore completion percentage - #468

Draft
jgordon00 wants to merge 1 commit into
kopia:mainfrom
jgordon00:codex/restore-progress
Draft

feat(ui): Show restore completion percentage#468
jgordon00 wants to merge 1 commit into
kopia:mainfrom
jgordon00:codex/restore-progress

Conversation

@jgordon00

@jgordon00 jgordon00 commented Aug 18, 2026

Copy link
Copy Markdown

Summary

  • extract a percentage from a task's progressInfo
  • display it beside the elapsed time for running tasks
  • leave statuses without percentage progress unchanged
  • add coverage for integer, decimal, and missing percentages

Why

Kopia reports detailed restore progress from the server, but the Tasks table previously showed only a spinner and elapsed time. Showing the percentage gives users a clear indication of whether a restore is near the beginning or completion.

This is the HTML UI portion of kopia/kopia#3609. The companion server PR kopia/kopia#5572 supplies restore progress for directory restores and individual file downloads.

Validation

  • npm test -- --run tests/utils/uiutil-components.test.jsx (14 tests passed)
  • npm run lint
  • npm run prettier:check
  • npm run build

Tested end-to-end in a locally built macOS ARM64 KopiaUI application.

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.

1 participant