Skip to content

[dashboard] fixing redirects #16297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 10, 2023
Merged

[dashboard] fixing redirects #16297

merged 1 commit into from
Feb 10, 2023

Conversation

svenefftinge
Copy link
Contributor

@svenefftinge svenefftinge commented Feb 8, 2023

Description

Redirects to the right project (and org) for project URLs that don't exist.
Fixes redirect fro /tokens and /tokens/create

Related Issue(s)

Fixes #16243

How to test

Release Notes

NONE

Documentation

Build Options:

  • /werft with-github-actions
    Experimental feature to run the build with GitHub Actions (and not in Werft).
  • leeway-no-cache
    leeway-target=components:all
  • /werft no-test
    Run Leeway with --dont-test
Publish Options
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer Options
  • with-ee-license
  • with-slow-database
  • with-dedicated-emulation
  • with-ws-manager-mk2
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated

Preview Environment Options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-se-redirects.1 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat added the size/M label Feb 8, 2023
@svenefftinge
Copy link
Contributor Author

svenefftinge commented Feb 8, 2023

/werft run with-clean-slate-deployment

👍 started the job as gitpod-build-se-redirects.2
(with .werft/ from main)

@svenefftinge
Copy link
Contributor Author

svenefftinge commented Feb 9, 2023

/werft run with-gce-vm=true recreate-preview=true with-preview=true

👍 started the job as gitpod-build-se-redirects.4
(with .werft/ from main)

@svenefftinge
Copy link
Contributor Author

svenefftinge commented Feb 9, 2023

/werft run with-clean-slate-deployment

👍 started the job as gitpod-build-se-redirects.5
(with .werft/ from main)

@svenefftinge svenefftinge marked this pull request as ready for review February 9, 2023 12:52
@svenefftinge svenefftinge requested a review from a team February 9, 2023 12:52
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Feb 9, 2023
Copy link
Contributor

@selfcontained selfcontained left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple small comments, and one bug to check out w/ not being able to change orgs from a project page.

Copy link
Contributor

@gtsiolis gtsiolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UX LGTM.

Holding for addressing requested changed.

/hold

@svenefftinge
Copy link
Contributor Author

I have addressed all feedback

@gtsiolis
Copy link
Contributor

gtsiolis commented Feb 10, 2023

LGTM. Taking a bias for action and merging this—we can open follow-up issues or PRs for any nitpicks.

/unhold

@gtsiolis
Copy link
Contributor

gtsiolis commented Feb 10, 2023

@selfcontained Seems like you will have to approve this to get this merged. 🏓

Copy link
Contributor

@selfcontained selfcontained left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change lgtm - fixes the org switching issue, and checks personal projects as well now.

@roboquat roboquat merged commit 5efec1d into main Feb 10, 2023
@roboquat roboquat deleted the se/redirects branch February 10, 2023 16:36
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/L team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redirect back to /workspaces when selecting a different org when users are viewing project related pages
4 participants