-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add Select Account Modal #3897
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
Add Select Account Modal #3897
Conversation
5e6e0ed
to
60e75fd
Compare
ccb30a0
to
3df3bdf
Compare
Let's see what we have here! 👀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great @AlexTugarev! 🗃️
<div className="mt-4 flex rounded-md w-full bg-gray-200 p-4 mx-auto"> | ||
<img className="w-4 h-4 m-1 ml-2 mr-4" src={info} /> | ||
<span> | ||
Disconnect a provider in one of you accounts, if you like to continue with the other account. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: WDYT of the following? Alternatively, we could split the following into two alert components, one for information (gray) and one for warning (red).
Disconnect a provider in one of you accounts, if you like to continue with the other account. | |
This will disconnect the non-selected account and delete all its associated workspaces data and user settings like environment variables. To continue using the other account, go user settings and disconnect the existing provider connection. |
} else { | ||
continueWithCurrentAccount(); | ||
} | ||
}}>Continue</button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: Shall we also offer a secondary option to go back to user settings, Integrations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- in case we're seeing this on the /integrations page, the continue with current basically means stay here ✅
- in case we're seeing this on creation of workspaces, then it's translated to visiting /integrations ✅
please verify
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a good MVC. Let's do it.
0a58495
to
312837a
Compare
Signed-off-by: Alex Tugarev <[email protected]>
312837a
to
47cf247
Compare
@AlexTugarev let me know if you need another review round for this one! 🏓 |
fixes #3754