Feature #21941
Updated by Peter Amstutz 4 months ago
* Add context menu option on collection files May also want to get a link identifier using the PDH instead of UUID. Should say something like "link to latest version" and "link to this exact version (immutable)" * Adjust consider supplying links (both for UUID and PDH) so they go directly to keep-web. The keep-web; the original reason for copy-to-clipboard to provide providing a workbench-based link (e.g. @?redirectToPreview=...@) was that at the time, keep-web didn't support redirecting to workbench login if the user didn't have a API token cookie for the collection. Keep-web now knows how to redirect the browser to Workbench if necessary to log in, and while this uses the same @?redirectToPreview=@ mechanism that copy-to-clipboard currently uses, it is better to treat it as an internal implementation feature for a few reasons: * If the user takes the link and wants to use it in something like @curl@, that won't work, because it requires loading and executing the entire Workbench web app * Similarly, even in the browser, it requires loading and executing the web app just to process the redirect, this adds several seconds * The URL where the user ultimately ends up is different than the one they copied, which goes against good web hygiene This has since been resolved.