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

Fix: ProfileType persistence #1074

Merged
merged 5 commits into from
Aug 27, 2021
Merged

Fix: ProfileType persistence #1074

merged 5 commits into from
Aug 27, 2021

Conversation

thewahome
Copy link
Collaborator

Overview

FIxes #1073
Refactors the profile component to ensure requests are outside the component
Moves profileType into the profile state property
Chains calls to the profile endpoints

Demo

Optional. Screenshots, curl examples, etc.

Notes

Optional. Ancillary topics, caveats, alternative strategies that didn't work out, anything else.

Testing Instructions

  • Log in to GE
  • Open dev tools
  • Look at the profileType in the profile state
  • Logout
  • Notice the profile is cleared

Copy link
Contributor

@ElinorW ElinorW left a comment

Choose a reason for hiding this comment

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

👍 LGTM!

@thewahome thewahome merged commit da30d67 into dev Aug 27, 2021
@thewahome thewahome deleted the fix/profile-persistence branch August 27, 2021 07:38
thewahome added a commit that referenced this pull request Sep 1, 2021
* Feature: Highlights the previously selected query (#1006)

* Task: upgrade packages flagged by dependabot (#1054)

* Task: Fluent upgrade (#1056)

* Fix: ProfileType persistence (#1074)

* Enhancement: error hints (#1060)

* Bug: Persisting request body (#1055)

* Fix: Sample queries UI bugs (#1084)

* Fix: Disable aria-required children rule (#1080)

* Task: Fix failing profile test (#1086)

* Enhancement: permissions radio buttons change (#1087)

* Task: add English file transfer automation (#1075)
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.

ProfileType not cleared from state when user logs out
2 participants