Gitpod: Clicking Login when already logged in causes 2 tabs to open

Created on 7 Mar 2019  路  7Comments  路  Source: gitpod-io/gitpod

  • be logged in
  • tab 1: on https://www.gitpod.io/index.html
  • click Open, tab 1 stays unchanged and opens tab 2 at api.gitpod.io or something like this.
  • tab 2 opens tab 3 at https://gitpod.io/workspaces/
  • tab 2 redirects itself to https://gitpod.io/workspaces/

You are left with 3 tabs, one at https://www.gitpod.io/index.html and two at https://gitpod.io/workspaces/

bug critical

All 7 comments

Outch. Thanks for reporting. We've changed a url (api.gitpod.io) today and it seems like the redirect logic is not working great...

Fixed now.

Nope, now it opens 2 tabs, both on https://gitpod.io/workspaces/, still that's 1 too many.

Hi @pzmarzly, thank you for reporting this issue! I was able to reproduce your problem, so re-opening.

  • be logged in

鉁旓笍

鉁旓笍

  • click Open, tab 1 stays unchanged and opens tab 2 at api.gitpod.io or something like this.

I don't find any "Open" that I can click on in https://www.gitpod.io/index.html. Do you mean "Login"?

I only have 1 tab at this point, but when I click on "Login" in that tab, it indeeds opens https://gitpod.io/workspaces/ in another tab.

But then it also redirects itself to https://gitpod.io/workspaces/, just like you said.

I have now two tabs on https://gitpod.io/workspaces/, which is really strange.

I faced this issue weeks ago, however I did not report it because I thought it was an error by my side - had mouse problems.

This happens because the button is inside a <a href="https://gitpod.io/api/login"> </a>, but it also has 'click'-listener () => { window.open('https://gitpod.io/api/login'); }.

I think the click listener can be removed.

The issue is no longer present with the new website.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ColbyWTaylor picture ColbyWTaylor  路  3Comments

alesanchezr picture alesanchezr  路  3Comments

Kreyren picture Kreyren  路  3Comments

LinqLover picture LinqLover  路  3Comments

kittaakos picture kittaakos  路  3Comments