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

[EP-2362] Deduplicate sign in modals #1132

Open
wants to merge 5 commits into
base: 2362-okta
Choose a base branch
from

Conversation

canac
Copy link
Contributor

@canac canac commented Jan 10, 2025

Previously, the sign in modal could be opened from the session modal directly or from the register account modal inside of the session modal. The main difference was that the direct sign in modal didn't have the "Welcome back!" header/sidebar.

This PR removes the sign in modal from the session modal so that it will always be displayed inside of the register account modal. I added the minimal binding that when set to true hides the Welcome back header/sidebar.

I also cleaned up the bindings of signInModal so that no longer directly changes the state of the parent modal.

@canac canac requested a review from dr-bizz January 10, 2025 18:36
@dr-bizz
Copy link
Contributor

dr-bizz commented Jan 10, 2025

We need to look at the sign in link on AEM to see if we need to change it with this change.

@dr-bizz
Copy link
Contributor

dr-bizz commented Jan 10, 2025

We need to look at the sign in link on AEM to see if we need to change it with this change.

As I was reading your code, I see that we won't need to as you have kept the signin function on sessionModal.

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