Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Comments

Close side panel

Add the ilab-public org signup link to the login page#278

Closed
nerdalert wants to merge 1 commit intoinstructlab:maininstructlab/ui:mainfrom
nerdalert:inviter-linknerdalert/ui:inviter-linkCopy head branch name to clipboard
Closed

Add the ilab-public org signup link to the login page#278
nerdalert wants to merge 1 commit intoinstructlab:maininstructlab/ui:mainfrom
nerdalert:inviter-linknerdalert/ui:inviter-linkCopy head branch name to clipboard

Conversation

@nerdalert
Copy link
Collaborator

@nerdalert nerdalert commented Oct 16, 2024

Screencap:

image

Tracked in #277

Signed-off-by: Brent Salisbury <bsalisbu@redhat.com>
Copy link
Contributor

@andybraren andybraren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Brent! Here are a few small tweaks that I think would increase the likelihood that first-time visitors join the org first before clicking the "Sign in with GitHub" button.

With these tweaks it'd look like this:

2024-10-18 16 32 34

style={{ backgroundColor: 'black' }}
onClick={handleSignUpClick}
>
Sign up
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Sign up
Join the beta (required)

Copy link
Contributor

@andybraren andybraren Oct 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wording isn't perfect since they're technically joining an org, but for now this would indicate to the user that this is a "beta" and that clicking this button is also required (just once) until we improve this flow in the future.

icon={<CustomLogoIcon />}
iconPosition="left"
size="lg"
style={{ backgroundColor: 'black' }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
style={{ backgroundColor: 'black' }}
style={{ backgroundColor: '#24274e' }}

Quick hack to make this slightly less primary-looking (only required once).

iconPosition="left"
size="lg"
style={{ backgroundColor: 'black' }}
style={{ backgroundColor: 'black', marginRight: '20px' }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mind flipping the order of these buttons so that "Sign in with GitHub" is on the right instead?

For left-to-right readers, placing the one-time/required button on the left will make it likelier to be noticed and clicked on first. Hopefully in the future we won't need two buttons, but reordering would work as a quick improvement for now.

@vishnoianil
Copy link
Contributor

@nerdalert As per our discussion, based on your inviter code, i created this PR. #282

@andybraren Please take a look at the PR.

@nerdalert and myself did some brainstorming around this and decided that we should ask user to login, and once authenticated with the github, if user is not part of the instructlab-public org, show a popup to join the organization. Pop up has button to self-invite, and once user accept the invitation it can access the UI. So user doesn't have to worry about any invited link or password.

@andybraren
Copy link
Contributor

Nice! That's even more streamlined. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.