Skip to content

avaya-dux/ncr-react-download

Repository files navigation

ReactDownload

Requirements

Development server

  • Run yarn && yarn start for a dev server.
  • Navigate to http://localhost:4200/.
  • The app will automatically reload if you change any of the source files.

Links to NPM packages

Links to free image generator sites (downloadable via chrome cors extension):

Links to free wav sample sites (downloadable via chrome cors extension):

Chrome cors extension setting:

Chrome cors extension options

Change log

4/6/2023

  • Replaced fetch with axios
  • Axios gets are cached correctly by axios-request-intercepter
  • Chrome cors extension must be on for ALL downloads including images;
  • Previously, fetching image must have the extension off. Now it is on for all.
  • To test for failure cases, toggle the extension off

4/7/2023

  • mock axios in unit tests
  • set node engine version to >=16.0.0

4/10/2023

  • bump avaya neo-react version to 0.8.6

4/11/2023

  • achieve 100% test coverage
------------------|---------|----------|---------|---------|-------------------
File              | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
------------------|---------|----------|---------|---------|-------------------
All files         |     100 |      100 |     100 |     100 |
 src              |     100 |      100 |     100 |     100 |
  cached-axios.ts |     100 |      100 |     100 |     100 |
 src/api          |     100 |      100 |     100 |     100 |
  download-zip.ts |     100 |      100 |     100 |     100 |
 src/app          |     100 |      100 |     100 |     100 |
  app.tsx         |     100 |      100 |     100 |     100 |
  helper.ts       |     100 |      100 |     100 |     100 |
------------------|---------|----------|---------|---------|-------------------

9/8/2023 major update:

   yarn nx migrate latest
   yarn  
   yarn nx migrate --run-migrations
   mv migrations.json migration.json.bkp

About

Demo downloading of files in the UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published