Skip to content

Polish welcome flow - #624

Merged
niik merged 53 commits into
masterfrom
polish-welcome-flow
Nov 29, 2016
Merged

niik merged 53 commits into
masterfrom
polish-welcome-flow

Conversation

@donokuda

@donokuda donokuda commented Nov 11, 2016 •

Copy link
Copy Markdown
Contributor

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:

  • Add error styles
  • Remove underline from link-button style

01 - welcome

Signing into GitHub

02 - dotcom - 02 - login form pt2

2FA flow

02 - dotcom - 03 - 2fa

Example of error styles

02 - dotcom - 04 - error

Signing into GitHub Enterprise

This flow could probably use a little illustration love in the future

02 - enterprise login - 01 - server
02 - enterprise login - 02 - saml

Configuring Git

03 - configure

@niik niik mentioned this pull request Nov 16, 2016
@donokuda donokuda changed the title [WIP] Polish welcome flow Polish welcome flow Nov 22, 2016
@donokuda

Copy link
Copy Markdown
Contributor Author

Finally ready for review 🙏

@niik niik self-assigned this Nov 23, 2016
@niik

niik commented Nov 23, 2016

Copy link
Copy Markdown
Member

Gonna review this as soon as #681 lands

donokuda and others added 4 commits November 23, 2016 11:15
- Change variable name from titleBarStyle to titleBarClass so it's different from the app property
- Minor formatting changes

@niik niik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

❤️ Can't wait to get this in @donokuda!

Comment thread app/src/ui/lib/button.tsx Outdated
return (
<button
className='button-component'
className={this.props.className ? this.props.className : '' }

This comment was marked as spam.

<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.

Comment thread app/src/ui/lib/link-button.tsx Outdated
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.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.

Comment thread app/src/ui/welcome/configure-git.tsx Outdated
<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.

Comment thread app/styles/ui/_welcome.scss Outdated
position: relative;

&:before {
background: linear-gradient(to bottom, white, rgba(255,255,255,0), white);

This comment was marked as spam.

Comment thread app/styles/ui/_welcome.scss Outdated
}

.commit {
padding: var(--spacing-half) !important;

This comment was marked as spam.

Comment thread app/styles/ui/_welcome.scss Outdated
}
}

.field-group {

This comment was marked as spam.

Comment thread app/styles/ui/_welcome.scss Outdated
width: 320px;
}

.commit-list-example {

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.


button {
&:hover {
background-color: #e5e5e5;

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@donokuda

Copy link
Copy Markdown
Contributor Author

@niik Huge 🙇 for going through this and leaving feedback. I think I addressed all of your suggestions so this is ready for another review! 👀

@niik
niik merged commit b9f329b into master Nov 29, 2016
@niik
niik deleted the polish-welcome-flow branch November 29, 2016 07:53
@niik

niik commented Nov 29, 2016

Copy link
Copy Markdown
Member

giphy

So happy with this @donokuda!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants