cornerstoneWADOImageLoader icon indicating copy to clipboard operation
cornerstoneWADOImageLoader copied to clipboard

Implements cancelFn to cancel pending XHR requests

Open diego0020 opened this issue 7 years ago • 13 comments

The behaviour can be seen in the /examples/wadors/index.html and /examples/wadouri/index.html. It will probably requires simulating a slow network.

What I did creating the cancelFn in xhrRequests.js and carry it all the way back to loadImage.js

diego0020 avatar Oct 10 '18 16:10 diego0020

Looks pretty good to me, I just don't understand where the multipart decoding changes came from. Could you figure out why the editor is changing all the whitespace though? I don't see why Travis is failing either..

swederik avatar Oct 27 '18 08:10 swederik

I will look into it

diego0020 avatar Oct 28 '18 21:10 diego0020

Fixed the tests

diego0020 avatar Oct 28 '18 21:10 diego0020

@diego0020 is this ready for review?

dannyrb avatar Nov 06 '18 02:11 dannyrb

Not yet, I still have to test some things. Give me two days

diego0020 avatar Nov 06 '18 02:11 diego0020

Should be ready for review now @dannyrb

diego0020 avatar Nov 08 '18 02:11 diego0020

The code changes seem fine. It's a breaking change for anyone depending on dataSetCacheManager.load but I guess that isn't too many people. Seems fine for me. Thanks @diego0020!

swederik avatar Feb 08 '19 07:02 swederik

Any news on this PR

hungnm2904 avatar Jan 18 '20 07:01 hungnm2904

Any updates on this please?

amrita-syn avatar Jan 30 '20 07:01 amrita-syn

Waiting on conflicts to be resolved.

dannyrb avatar Jan 30 '20 17:01 dannyrb

Sorry, I have been away from medical imaging for a while. Does anyone want to take a shot at solving the conflicts?

diego0020 avatar Jan 30 '20 20:01 diego0020

Any updates on this please?

fpt-mnes-phongtt6 avatar Jan 31 '20 08:01 fpt-mnes-phongtt6

@diego0020, thanks for the update! @fpt-mnes-phongtt6, @amrita-syn, @hungnm2904 my time is limited to complete this. If someone can resolve conflicts, this should be good to merge (you may need to create a new PR with current changes). Minimizing unnecessary changes, tests, etc. make it easier for me to merge as I have a higher degree of confidence the change:

  • Accomplishes what it intends to do
  • Does not have unwanted side effects

dannyrb avatar Jan 31 '20 14:01 dannyrb