Skip to content

Add a button to Web IDE for returning to previous product page

Michael Le requested to merge mle/358597-return-from-ide into master

What does this MR do and why?

Adds a button to the Web IDE to help the user return to the page that they launched the Web IDE from.

The root cause for this is that the back button navigates back to the last tab open if there are multiple tabs opened by the user. The new button allows a direct way for users to navigate back to the launching page.

This was raised in the Q1FY23 Create stage benchmarking study and past issues too.

Changes

  • Add icon button with go-back icon
    • When the previous page is in a page from the GitLab product, then the button navigates the user to that page.
    • When the previous page is an external website, then the go-back button takes the user to project root.
  • Project icon changes size from 48 to 32

Relates to #358597 (closed)

Screenshots or screen recordings

Current Updated
127.0.0.1_3000_-ide_project_gitlab-org_gitlab-shell_tree_mle-change-test-README.md___1 127.0.0.1_3000_-ide_project_flightjs_Flight_tree_master-README.md

Video

web-ide-back

How to set up and validate locally

  1. Open the Web IDE
  2. Open a few tabs
  3. Pressing on the go-back button takes the user back to the page they opened the Web IDE from.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Michael Le

Merge request reports

Loading