Skip to content
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

Extension popup with Sign In / Sign Out #14

Merged
merged 5 commits into from
Jan 17, 2024
Merged

Extension popup with Sign In / Sign Out #14

merged 5 commits into from
Jan 17, 2024

Conversation

jdgarcia
Copy link
Contributor

https://gitkraken.atlassian.net/browse/GKCS-4908

  • adds cookies as a required permission
  • adds gitkraken.dev as a site this extension can access info about
  • adds an extension popup
    • shows a Sign In link when not logged into gk.dev
    • shows user info and a Sign Out link when logged into gk.dev

Note: the referenced Figma shows more UI elements but this PR this PR / Jira card focuses just on auth

As the popup UI becomes more complicated, it might be worth considering utilizing a framework (such as React) and webpacking it. Not sure if that would be overkill or not for just a popup though.

@jdgarcia
Copy link
Contributor Author

jdgarcia commented Jan 16, 2024

Oh, UI icons are also missing from this PR. I need to figure out how to add those.

@jdgarcia
Copy link
Contributor Author

Oh, this also only works for prod. Not sure how we'd setup support for other environments yet.

Copy link
Collaborator

@miggy-e miggy-e left a comment

Choose a reason for hiding this comment

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

LGTM, I agree with the approach to not start with a framework,

@jdgarcia jdgarcia merged commit 18ecd16 into main Jan 17, 2024
1 check passed
@jdgarcia jdgarcia deleted the task/login branch January 17, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants