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 UI shell refactor #98

Merged
merged 5 commits into from
Jan 18, 2023
Merged

Fix UI shell refactor #98

merged 5 commits into from
Jan 18, 2023

Conversation

timrbula
Copy link
Member

@timrbula timrbula commented Jan 17, 2023

PR Template

Context

GitHub Issue: N/A

Version Number: 4.0.0

Checklist

  • Has been verified in an integrated environment
  • Has relevant unit and integration tests passing
  • Has no linting, test console, or browser console errors (best effort)
  • Has JSDoc comment blocks for complex code

PR Review Guidance

Make sure that when you open the PrivacyStatement confirm modal and exit out of it, you can re-open it without having to close the overall modal and the user profile menu.

Currently if you close the confirm modal but clicking outside of it it but within the larger privacy statement modal or use the X button, you can't reopen it without closing the entire user profile menu to un-mount it.

Additional Info

All did some small cleanup and added better types

@@ -86,7 +86,7 @@ function ProfileSettings({ baseServicesUrl, src, userName, isOpen, closeModal }:
setTeams(initialTeams);
}

async function handleSubmit({ closeModal }: { closeModal: Function }) {
Copy link
Member Author

Choose a reason for hiding this comment

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

closeModal is already defined within the component scope via a prop

@timrbula timrbula merged commit 5690279 into main Jan 18, 2023
@timrbula timrbula deleted the fix-ui-shell-refactor branch January 18, 2023 00:17
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