Repository navigation
Polish welcome flow - #624
Conversation
So it works on Node 7 (which I upgraded to and broke dev as a result.)
Am I doing this right?
|
Finally ready for review 🙏 |
|
Gonna review this as soon as #681 lands |
- Change variable name from titleBarStyle to titleBarClass so it's different from the app property - Minor formatting changes
Invisible titlebar
| return ( | ||
| <button | ||
| className='button-component' | ||
| className={this.props.className ? this.props.className : '' } |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| <Button type='submit' disabled={disableSubmission}>Continue</Button> | ||
| <form className='sign-in-form' id='enterprise-server-entry' onSubmit={this.onSubmit}> | ||
| <div className='field-group'> | ||
| <label>Enterprise server address</label> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| public render() { | ||
| const href = this.props.uri || '' | ||
| const className = 'link-button-component' | ||
| const className = this.props.className ? `link-button-component ${this.props.className}` : 'link-button-component' |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| {this.renderError()} | ||
| <form id='2fa-form' className='sign-in-form' onSubmit={this.signIn}> | ||
| <div className='field-group'> | ||
| <label>Authentication code</label> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| <input placeholder='[email protected]' value={this.state.email} onChange={this.onEmailChange}/> | ||
| </label> | ||
| <div className='field-group'> | ||
| <label>Email</label> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| position: relative; | ||
|
|
||
| &:before { | ||
| background: linear-gradient(to bottom, white, rgba(255,255,255,0), white); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
|
|
||
| .commit { | ||
| padding: var(--spacing-half) !important; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
| } | ||
|
|
||
| .field-group { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| width: 320px; | ||
| } | ||
|
|
||
| .commit-list-example { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| button { | ||
| &:hover { | ||
| background-color: #e5e5e5; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This adds a little more specificity to our example styles so that we don't have to use `!important` flags to force certain styles.
aka the horizontal rule line aka the "or" line
|
@niik Huge 🙇 for going through this and leaving feedback. I think I addressed all of your suggestions so this is ready for another review! 👀 |
|
So happy with this @donokuda! |

Adds a little ✨ to the welcome flow by updating the form styles. I think there's still more we could do with the welcome flow (maybe with more illustrations) but that can be saved for another conversation.
I also have opened a separate PR for showing and hiding the titlebar while in the welcome flow here: #681
Other changes:
Signing into GitHub
2FA flow
Example of error styles
Signing into GitHub Enterprise
This flow could probably use a little illustration love in the future
Configuring Git