Project

General

Profile

Actions

Idea #20688

closed

Redirects to workbench send users to workbench 2

Added by Peter Amstutz 8 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench
Target version:
Story points:
-
Release relationship:
Auto

Description

No more "Workbench 1" and "Workbench 2" distinction, now there is only "Workbench"
  • Assumes Workbench 1 is fully retired and no longer available
  • Workbench2 domain should continue to work since things may now link to it
Nginx rewrites paths destined for Workbench 1 and automatically redirects user to equivalent location in Workbench 2
  • Identify "potentially bookmarked URLs" (not every single possible route but things the user might have copied and pasted or otherwise saved).
  • Need to go through the routes.rb in Workbench1 and make a list
  • Look at all the things the "/actions?uuid=..." Workbench 1 endpoint does and make sure those redirects work?
  • Redirects to keep that include Workbench in the link, e.g. /collections/PDH/file-in-collection.txt
  • Where possible, redirects to content (e.g. file content) should go directly to the content and not force a load of Workbench 2, because non-browser apps like e.g. curl will not be able to render/execute Workbench 2 in order to follow a redirect.

Remove the "Go to Workbench 1" link on Workbench 2


Files

routes (35.6 KB) routes Peter Amstutz, 07/18/2023 02:38 PM

Subtasks 2 (0 open2 closed)

Task #20760: Review 20688-wb1-to-wb2-redirectsResolvedPeter Amstutz08/03/2023Actions
Task #20799: Review 20688-redirect-urldecodeResolvedPeter Amstutz07/21/2023Actions

Related issues

Related to Arvados Epics - Idea #17001: Arvados uses WB2 by defaultNew08/01/202303/31/2024Actions
Actions

Also available in: Atom PDF