Skip to content

Signed out after switching endpoint, even if it's the same endpoint. #129

Closed
@kevjin

Description

@kevjin

What happens
If I am initially signed into leetcode.com (US Endpoint) and I decide to click "Switch Endpoint" and I choose the US Endpoint, the app will sign me out of my leetcode account anyway.

What should happen
If I am already signed into an endpoint and I choose the same endpoint again from the Switch Endpoint button, either A. nothing should happen, or B. a notification that says "You are already signed in. Use the Sign Out command to sign out" appears.

This is a very small issue pertaining to UX. It's not something a user would expect would happen and it doesn't make much sense for users to sign out by relying on the switch endpoint button. It would be nice to have this fixed, and I can make a PR for it as well. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions