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-5: Fetch links from deepLink values #2

Closed macrouch closed 1 year ago

macrouch commented 1 year ago

Overview

What is the feature?

Using deep link to launch application, will call an API to retrieve the download links.

Testing

Can work with the EDSC-3761 branch in EDSC (nasa/earthdata-search#1640). Visit downloads page in EDSC with a download, opendap or harmony access method. Click on 'Download Files' to launch EDD and begin fetching links from EDSC

Checklist

codecov-commenter commented 1 year ago

Codecov Report

Merging #2 (55dba23) into main (11cdc0b) will increase coverage by 5.17%. The diff coverage is 92.00%.

@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
+ Coverage   67.70%   72.87%   +5.17%     
==========================================
  Files          35       42       +7     
  Lines         644      719      +75     
  Branches      167      190      +23     
==========================================
+ Hits          436      524      +88     
+ Misses        208      195      -13     
Impacted Files Coverage Δ
src/app/constants/humanizedDownloadStates.js 100.00% <ø> (ø)
src/app/pages/Downloads/Downloads.jsx 43.10% <ø> (+0.24%) :arrow_up:
src/main/eventHandlers/reportProgress.ts 92.30% <0.00%> (-3.70%) :arrow_down:
src/main/main.ts 0.00% <0.00%> (ø)
src/main/preload.ts 0.00% <ø> (ø)
src/main/utils/initializeDownload.ts 0.00% <0.00%> (ø)
...main/eventHandlers/willDownloadEvents/onUpdated.ts 88.88% <50.00%> (-11.12%) :arrow_down:
src/main/utils/fetchLinks.ts 97.22% <97.22%> (ø)
src/app/components/DownloadItem/DownloadItem.jsx 96.77% <100.00%> (+1.53%) :arrow_up:
.../dialogs/InitializeDownload/InitializeDownload.jsx 100.00% <100.00%> (ø)
... and 10 more