[workbench2] UX improvements for collections 3rd party access information
This came up while writing up instructions for novice users on how to download data from a collection.
Here are a few suggestions about the "Open as Network Folder or S3 Bucket" popup.
1) Can we rename it to "Access with 3rd party client" or something like that?
2) the "Cyberduck/Mountain Duck or Gnome Files" tab could be renamed "WebDAV"? And Cyberduck/Mountain Duck could be mentioned as WebDAV clients on that tab.
3) the "wget" command line is provided on the keep-web page linked from the top of the "Windows or MacOS" tab. Can we add a new tab (called "wget/curl"? with the wget command copyable, right there? Would have to look at the keep-web logic that generates the command. Would also need to list the username/password.
4) the instructions for "Windows or MacOS" may be better with one more step that says to use the "internet address" and credentials listed above. Something like:
4. Use the "internet address" and credentials listed under Settings, above.
3. Use the "internet address" and credentials listed under Settings, above.
I also wonder what the best "default" first tab is.
#12 Updated by Stephen Smith 10 months ago
Updates at 9df0dc3888f9d63ae0844e7425cd02b21af9da68 - branch 17526-3rd-party-access-ui
Tests: developer-tests-workbench2: #450
- Rename webdav dialong to Access with 3rd party client
- Rename cyberduck tab to webdav, mention credentials in mac/win tab
- Add wget/curl tab to webdav dialog
#13 Updated by Lucas Di Pentima 10 months ago
- As the context menu items are ordered by label, I think it would be better to name it "Open with 3rd party client" to keep it on the same place and avoid user confusion.
- The "wget / curl" tab:
supportsWebdavboolean I guess it should be renamed to something like
isCollectionbecause that's what the
4zz18prefix means (https://doc.arvados.org/v2.2/api/methods/collections.html)
- It already provides the username/password on the
wgetcommand (good idea!), so I think it isn't necessary to specify them separately.
- The "Copy to clipboard" button just copies the collection's URL, I think it would be better to copy the entire command so that the user can easily paste it on the shell.
- How about adding a
curlcommand too for completeness' sake?
- Also, I think it would be nice to format those commands using monospaced fonts as we do on the "Get API Token" user menu dialog, wdyt?
#14 Updated by Stephen Smith 10 months ago
All good suggestions - a note about curl since it seems it doesn't support parsing the html and downloading the whole folder, I added a <FILENAME> at the end of the curl url. Do you think that's ok and/or should I add a note? I don't see this dialog option on files so I think the url should be a folder in every case unless I'm missing a path to make the dialog come up for a specific file.
Updates at 41a579060898b29e6d50000e6f95c93d97a7a433
Tests developer-tests-workbench2: #451
- Change webdav dialog title to "Open" to preserve ordering
- Rename supportsWebdav to isCollection
- Fix webdav dialog > wget tab command copy button only copying url
- Use codesnippet component on webdav dialog wget command for monospace
- Remove redundant user/pass from webdav wget tab and add curl command
#16 Updated by Lucas Di Pentima 10 months ago
Some small comments:
- You're right, I forgot that
curldoesn't do mirroring, I think it would be nice to have a brief note by the "Curl command" label to clarify that's meant for downloading individual files, because the
<FILENAME>tag isn't visible at first unless the user scrolls to all the way to the right.
- One additional nit: In the WEBDAV tab, I think it's more correct to mention GNOME (all caps) instead of Gnome. GNOME is an acronym IIRC.
The rest looks good to merge, thanks!