-
Notifications
You must be signed in to change notification settings - Fork 111
Add docs notification if GitHub oAuth is not setup #969
Conversation
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
I suggest something like that:
And only single button: |
if (this.machineToken && this.machineToken.length > 0) { | ||
const timer = setTimeout(() => { | ||
this.messageService.warn( | ||
'Authentication is taking too long, the oauth pop-up may be blocked by your browser, ' + |
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.
oauth -> OAuth
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.
fixed
const timer = setTimeout(() => { | ||
this.messageService.warn( | ||
'Authentication is taking too long, the oauth pop-up may be blocked by your browser, ' + | ||
'if so, allow popup windows for the current url and restart the workspace' |
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.
popup -> pop-up
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.
fixed
) { | ||
theia.commands.executeCommand( | ||
'theia.open', | ||
'https://www.eclipse.org/che/docs/che-7/administration-guide/configuring-authorization/#configuring-github-oauth_che' |
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.
Is it the correct link for the downstream as well?
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.
I think the eclipse docs page is relevant for downstream as well.
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.
@azatsarynnyy Looks like there is no git project in your workspace. It's my mistake, I haven't included it to the example |
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.
The flow works as described. Thanks!
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
[crw-ci-test] |
fyi: HappyPath running depends on the fix eclipse-che/che#18918 |
[crw-ci-test] |
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
@vinokurig
OK so something like
For the button, avoid |
@sunix |
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
What does this PR do?
Screenshot/screencast of this PR
What issues does this PR fix or reference?
fixes eclipse-che/che#18237
How to test this PR?
quay.io/eclipse/che-server:nightly
image. It contains the authentication fixPR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.
Happy Path Channel
HAPPY_PATH_CHANNEL=stable