Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:4
-
Epic Link:
-
Sprint:Summer 2019 Sprint 7, Summer 2019 Sprint 8, Summer 2019 Sprint 9, Summer 2019 Sprint 10, Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 2, Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep, Fall 2: 28 Sep - 9 Oct, Fall 3: Oct 12 - Oct 23
Description
Task: Implement a right-click/three dot menu option to download a file from BioViz Connect. To implement, pass the access token from the server to the client and have the client initiate an authenticated download. This will allow the user to download the file directly without requiring the file to be made public.
Note: Make sure files are downloaded and not opened in the browser.
Initially we tried to implement the download functionality using the download API. However, there was no way to directly stream the data to the user, which would lead to large volumes of data passing through our server. Instead, we have opted to make the files public and then use the public link to download the file.