-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[v16] Display warning if a user that wants to authorize a web session is not logged in Connect #50046
Conversation
We don't have the addon on v16.
This pull request is automatically being deployed by Amplify Hosting (learn more). |
<Link | ||
css={` | ||
cursor: pointer; | ||
`} | ||
onClick={() => { | ||
ctx.commandLauncher.executeCommand('cluster-logout', { | ||
clusterUri: rootCluster.uri, | ||
}); | ||
}} | ||
> |
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.
This is not great, but <ButtonText>
seems to be even worse. If we ever need to do something like this on master, it'd be a good idea to add some kind of inline
prop to <ButtonText>
that adds underline and removes font-size, color and min-height.
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.
Agree, I wasn't very happy doing it :(
Backport #49836 to branch/v16
I had to modify the warning to the old
Alert
API. Also, we don't have the storybook control addon on v16, so I reverted the stories to the non-control version.