nasa / earthdata-download

Download your Earth science data with only one click
https://nasa.github.io/earthdata-download/
Other
22 stars 6 forks source link

EDD-18: Creates Download History page, fixes various bugs #24

Closed macrouch closed 1 year ago

macrouch commented 1 year ago

Overview

What is the feature?

Creates Download History page, fixes various bugs with timers and app close warnings

What areas of the application does this impact?

Downloads list page, Download History list page

Testing

After a download finishes (completed, cancelled) the More Actions menu has a 'Clear Download' option. Clicking that will more the download to the Download History page. On the Download History page, selecting 'Restart Download' will move the download back to the Downloads page and start downloading

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #24 (1dddfd7) into main (cf0165e) will increase coverage by 0.98%. The diff coverage is 98.46%.

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   92.28%   93.26%   +0.98%     
==========================================
  Files          96      102       +6     
  Lines        1801     1960     +159     
  Branches      404      432      +28     
==========================================
+ Hits         1662     1828     +166     
+ Misses        139      132       -7     
Files Changed Coverage Δ
src/app/components/Layout/Layout.jsx 61.61% <ø> (+4.91%) :arrow_up:
src/app/constants/downloadStates.js 100.00% <ø> (ø)
src/main/main.ts 0.00% <ø> (ø)
src/main/utils/database/getDatabaseConnection.ts 20.00% <ø> (ø)
src/app/components/ListPage/ListPage.jsx 81.81% <90.90%> (+6.81%) :arrow_up:
...ownloadHistoryListItem/DownloadHistoryListItem.jsx 94.73% <94.73%> (ø)
src/app/pages/DownloadHistory/DownloadHistory.jsx 95.83% <95.74%> (-4.17%) :arrow_down:
...c/app/components/DownloadHeader/DownloadHeader.jsx 100.00% <100.00%> (ø)
...ts/DownloadHistoryHeader/DownloadHistoryHeader.jsx 100.00% <100.00%> (ø)
...ryListItem/DownloadHistoryListItemFileProgress.jsx 100.00% <100.00%> (ø)
... and 25 more
macrouch commented 1 year ago

Still working a few bugs with network interruptions and ensuring the files are correctly recoverable.