Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

EVG-20173: Allow users to log out via user dropdown #2025

Merged
merged 5 commits into from
Sep 8, 2023

Conversation

minnakt
Copy link
Contributor

@minnakt minnakt commented Sep 7, 2023

EVG-20173

Description

Adds a "Log out" button under the user menu.

I changed the axios calls to fetch since that seems to be what we prefer. (I didn't remove the axios dependency since there's still one other part of the codebase that uses it.)

Screenshots

Screenshot 2023-09-07 at 4 20 29 PM

Testing

  • Added Cypress and Jest tests
  • Manual testing locally and on staging
  • How to test: open an incognito window, log in, then log out

@cypress
Copy link

cypress bot commented Sep 7, 2023

Passing run #12563 ↗︎

0 577 7 0 Flakiness 0

Details:

Merge branch 'main' into EVG-20173
Project: Spruce Commit: 5fef5546ef
Status: Passed Duration: 18:08 💡
Started: Sep 8, 2023 3:52 PM Ended: Sep 8, 2023 4:10 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@minnakt minnakt marked this pull request as ready for review September 8, 2023 14:08
@minnakt minnakt requested a review from a team September 8, 2023 14:09
Copy link
Contributor

@khelif96 khelif96 left a comment

Choose a reason for hiding this comment

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

💯

Is there a ticket to get rid of axios?

@minnakt
Copy link
Contributor Author

minnakt commented Sep 8, 2023

💯

Is there a ticket to get rid of axios?

there is now :shipit: EVG-20849

@minnakt minnakt changed the title EVG-20173: Add log out button EVG-20173: Add logout button Sep 8, 2023
@minnakt minnakt changed the title EVG-20173: Add logout button EVG-20173: Allow users to log out via user dropdown Sep 8, 2023
@minnakt minnakt merged commit 47097c4 into evergreen-ci:main Sep 8, 2023
2 checks passed
@minnakt minnakt deleted the EVG-20173 branch September 8, 2023 16:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants