-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Upgrade to Gatsby v2 #1104
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
Upgrade to Gatsby v2 #1104
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed. If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
Deploy preview for reactjs ready! Built with commit 59b6b1b |
There seems to be a difference in font sizes with https://reactjs.org/, at least for the homepage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to fix "Blog" in top bar. Marking as needs changes so we don't accidentally forget
Good catch, |
cc @kkemple and @jlengstorf, good candidate for pairing here |
Hey, @alexandernanberg! If you'd like to set up a pair programming session to work through any of the migration, please let me know. I'm happy to jump on a screen share and dig through any tricky bits. (This also helps us improve the migration guide.) Thanks! |
@jlengstorf I'd be down for that! Although I don't think there is really that much left, but as you said there were/are some tricky bits that I might need some guidance in |
@alexandernanberg Great! Do any of these slots work for you? https://calendly.com/gatsbyjs-jason/30min |
@jlengstorf Yes, booked one that works for me! |
I believe the font-size issue is related to gatsbyjs/gatsby#6760, so I'm curious what you find. |
@octalmage Yep that's correct, although in this case it was possible to solve in another way. We were using |
@alexandernanberg thanks for sharing! That makes sense, css is built in to Gatsby so it gets loaded first. Switching to normalize.css forces it to the top. |
If it works without it, that seems fine. Might be worth checking the blame to see who built this so you can ask for more context, but that's up to you and @gaearon. |
Looks like it's been there since the migration to Gatsby v1. @bvaughn looks like you were the one to add that, can you provide some context? |
Nope, sorry. 😄 If it isn't still necessary, maybe it was at some earlier time? Gatsby changed a lot since we began using it. I don't remember anything specific about these few lines from 10+ months ago though. |
@bvaughn Okay, thanks anyway 😄 Removed that logic and looks like everything is working now. Would love for other people to try the site to verify this. The Netlify link can be found in the top of the comments!
|
I noticed two small things:
Other than that, looks good to me |
Yeah, looks like there were a problem with specificity on the old site causing the I've created a PR for the other problem you described. Was an issue with links that wasn't using the |
Is this ready to go in? |
Nope, not yet unfortunately. The bug with the links in the TOC is not solved (waiting on an upstream fix) |
@gaearon I think this should be ready now! |
Looks legit. Let's give it a go! Thank you ❤️ |
😮 ❤️ |
Yahoo! Thanks @alexandernanberg for your help here and fixes to Gatsby! |
Can you please look at this? #1201 |
Went through the site and followed the current migration guide.
In my local testing everything seems to be working, only problem I encountered was that the
/blog/
redirect stopped working for some reason, looks like it's an issue inside Gatsby but not 100% sure on that one.We might want to wait until Gatsby releases a RC or a stable release before merging this.