Bug #19153
closedIssues with opening and sharing links to files in collections
100%
Description
- link to /collections/uuid/filename
- expected that it should open file, but just shows wb2 collection
- .tsv files downloading instead of showing inline
- TSV files aren't interpreted as text files so they're downloaded even when directly clicking on them on the collection panel.
- Using the "Copy to clipboard" feature to get a
https://example.com?redirectTo=/c=zzzzz-4zz18-zzzzzzzzzzzzz/somefile.jpg
link makes the browser download the file instead of showing them inline, even if the file is correctly interpreted as images or text.
More detail:
User process is:
- User uses "copy URL" on a HTML file in a collection
- User sends URL to another person
- Person clicks on the URL
- Person logs into Arvados
- Person expects to see the HTML file rendered, but gets a download dialog instead
Also reported that clicking directly on HTML in file browser doesn't render it but also sends to download dialog.
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-05-25 sprint to 2022-06-08 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-06-08 sprint to 2022-06-22 Sprint
Updated by Ward Vandewege over 2 years ago
- Related to Bug #18171: cannot view HTMLs from arvados workbench added
Updated by Peter Amstutz over 2 years ago
- Assigned To changed from Daniel Kutyła to Stephen Smith
Updated by Stephen Smith over 2 years ago
Changes at arvados-workbench2|9876549a482c2c330143f5c9eebc8ab47cb8fa1d branch 19153-sharing-links-inline
Tests developer-tests-workbench2: #758
- Added login redirect support for keep inline url
- Generate inline redirect urls for clipboard actions
This brings the copy to clipboard behavior in line with the onclick behavior, but a separate fix is likely needed involving keep and mime types to work around browser behavior for tsv files.
Updated by Stephen Smith over 2 years ago
- Status changed from New to In Progress
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-06-22 Sprint to 2022-07-06
Updated by Peter Amstutz over 2 years ago
Stephen Smith wrote in #note-10:
Changes at arvados-workbench2|9876549a482c2c330143f5c9eebc8ab47cb8fa1d branch 19153-sharing-links-inline
Tests developer-tests-workbench2: #758
- Added login redirect support for keep inline url
- Generate inline redirect urls for clipboard actions
This brings the copy to clipboard behavior in line with the onclick behavior, but a separate fix is likely needed involving keep and mime types to work around browser behavior for tsv files.
This LGTM.
Updated by Stephen Smith over 2 years ago
Updated by Stephen Smith over 2 years ago
- Status changed from In Progress to Resolved