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

Add more clarity to the inviter popup text #290

Merged
merged 1 commit into from
Oct 22, 2024
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
7 changes: 5 additions & 2 deletions src/app/login/githublogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ const GithubLogin: React.FC = () => {
const error = searchParams.get('error');
if (error === 'NotOrgMember') {
const errorMessage =
'You are not a member of the InstructLab Public org. Please join the InstructLab Public Organization on Github and try again.';
'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.';
setErrorMsg(errorMessage);
setShowError(true);
}
Expand Down Expand Up @@ -132,7 +135,7 @@ const GithubLogin: React.FC = () => {
<div>
<Modal
variant={ModalVariant.medium}
title="Please Join The InstructLab Public Org On GitHub"
title="Please Join The InstructLab Public Organization On GitHub"
titleIconVariant="warning"
isOpen={showError}
onClose={() => handleOnClose()}
Expand Down