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

cherry-pick:Update content of Join InstructLab on GitHub modal #298

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/app/login/githublogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ const GithubLogin: React.FC = () => {
const error = searchParams.get('error');
if (error === 'NotOrgMember') {
const errorMessage =
'You are not a member of the InstructLab Public Github Organization. \
To access the InstructLab UI, you need to be a member of InstructLab Public Github Organization.\
Please use the Send Invite button to receive an invitation to join the Organization. \
Once you accept the invitation please try again to access the InstructLab UI.';
'To access the InstructLab UI, you need to become a member of the \
InstructLab public GitHub organization. First, send yourself an invite on GitHub. \
Then, accept the invite and try accessing the InstructLab UI again.';
setErrorMsg(errorMessage);
setShowError(true);
}
Expand Down Expand Up @@ -135,7 +134,7 @@ const GithubLogin: React.FC = () => {
<div>
<Modal
variant={ModalVariant.medium}
title="Please Join The InstructLab Public Organization On GitHub"
title="Join InstructLab on GitHub"
titleIconVariant="warning"
isOpen={showError}
onClose={() => handleOnClose()}
Expand Down