Skip to content

I for one welcome our overlords again - #1254

Merged
niik merged 67 commits into
masterfrom
i-for-one-welcome-our-overlords-again
Apr 28, 2017
Merged

niik merged 67 commits into
masterfrom
i-for-one-welcome-our-overlords-again

Conversation

@donokuda

@donokuda donokuda commented Apr 21, 2017 •

Copy link
Copy Markdown
Contributor

This cleans up the welcome flow as discussed in #1174

There are still a handful of things I need to do / test:

  • Make sure zoom works on wider monitors
  • Check and fix the titlebar / button order on Windows
  • Find a better place for all the loading spinners

The right hand illustration is still FPO until we get a final illustration

screen shot 2017-04-20 at 8 32 02 pm
screen shot 2017-04-20 at 8 32 33 pm
screen shot 2017-04-20 at 8 32 38 pm
screen shot 2017-04-20 at 8 33 09 pm
screen shot 2017-04-20 at 8 33 12 pm

screen shot 2017-04-20 at 8 33 43 pm
screen shot 2017-04-20 at 8 33 47 pm

Since login form component is also used inside the app to authenticate when trying to publish a repo. I made sure those styles didn't break:

screen shot 2017-04-20 at 8 43 38 pm
screen shot 2017-04-20 at 8 43 24 pm
screen shot 2017-04-20 at 8 33 22 pm

--font-size-md: 14px;
--font-size-lg: 28px;
--font-size-xl: 32px;
--font-size-xxl: 42px;

This comment was marked as spam.

@donokuda

Copy link
Copy Markdown
Contributor Author

@niik Can you guide me with using preventDefault() as mentioned in #1254 (comment)? I tried implementing it but I'm having issues declaring the correct T Y P E S or something.

@donokuda

Copy link
Copy Markdown
Contributor Author

🏓 Ready for another look aside from the question I had above.

@simurai

simurai commented Apr 28, 2017

Copy link
Copy Markdown

This looks super nice.. ✨

I've cut a branch for centering the content on the left side vertically.

Still planing to merge that branch? Vertically centered feels more balanced especially for the states that have only little content.

@donokuda

Copy link
Copy Markdown
Contributor Author

Still planing to merge that branch? Vertically centered feels more balanced especially for the states that have only little content.

At the moment we're leaning towards not vertically centering the content.

@niik

niik commented Apr 28, 2017

Copy link
Copy Markdown
Member

@niik Can you guide me with using preventDefault() as mentioned in #1254 (comment)? I tried implementing it but I'm having issues declaring the correct T Y P E S or something.

I'd be delighted to. I think something like this should work

-private signInWithBrowser = () => {
+private signInWithBrowser = (event: React.MouseEvent<HTMLButtonElement>) => {
+ event.preventDefault()
  this.props.onBrowserSignInRequested()
}

Normally what I do is find the source of the callback, in this case the onClick prop of the Button and look at its signature and copy that over.

Comment thread app/styles/ui/_welcome.scss Outdated
margin: var(--spacing-double) 0;
#sign-in-enterprise {
.welcome-title {
margin-bottom: 0;

This comment was marked as spam.

}

.welcome-graphic {
height: auto;

This comment was marked as spam.

This comment was marked as spam.

@niik

niik commented Apr 28, 2017

Copy link
Copy Markdown
Member

Still planing to merge that branch? Vertically centered feels more balanced especially for the states that have only little content.

At the moment we're leaning towards not vertically centering the content.

I am so torn on the centered approach, I can see both sides of this coin. Let's focus on getting this in without the center-alignment and then we can open a new PR with just that to discuss and collect feedback separately.

@donokuda donokuda mentioned this pull request Apr 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants