Skip to content
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

Adds new video page #5497

Merged
merged 4 commits into from
Feb 9, 2018
Merged

Adds new video page #5497

merged 4 commits into from
Feb 9, 2018

Conversation

bogas04
Copy link
Contributor

@bogas04 bogas04 commented Feb 8, 2018

Summary

This is in response to issue #5484. As discussed, it creates a new videos page.

  • Adds a hyperlink to videos page beneath videos section on home page.
  • Adds videos key to siteConfig object.

Test plan

  • I need help with setting up <translate> for non-static strings. Should we even translate video title/descriptions?
  • I also need help with UI. I've built this page on top of layout of users page.

screen shot 2018-02-08 at 5 16 09 pm

@facebook-github-bot
Copy link
Contributor

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 cla@fb.com. Thanks!

{languages: true},
{search: true},
{href: repoUrl, label: 'GitHub'},
{ doc: 'getting-started', label: 'Docs' },
Copy link
Member

Choose a reason for hiding this comment

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

Can you revert these whitespace changes? Please run yarn lint!

Copy link
Contributor Author

@bogas04 bogas04 Feb 8, 2018

Choose a reason for hiding this comment

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

@cpojer I think there's no lint script. 🤷🏽‍♂️


const videos = [
{
title: 'Learn how to test JavaScript with Jest',
Copy link
Member

Choose a reason for hiding this comment

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

Can we swap this one out with a different one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, I thought it was removed from main page only to be included here.

@cpojer
Copy link
Member

cpojer commented Feb 8, 2018

I like it, this is awesome! Can you go on and find a number of Jest videos that you think are good that we should include on the page and post them here so we can make a selection? :)

@bogas04
Copy link
Contributor Author

bogas04 commented Feb 9, 2018

@cpojer
Copy link
Member

cpojer commented Feb 9, 2018

Awesome!

Let's put these into the page as a start:

I think these are already quite React heavy. The next ones we add should be less focused on React.

@bogas04
Copy link
Contributor Author

bogas04 commented Feb 9, 2018

Cool! What about your talk JSConf EU talk? Or it's better suited for homepage?

@cpojer
Copy link
Member

cpojer commented Feb 9, 2018

Yap, we'll keep that one only on the homepage.

@bogas04
Copy link
Contributor Author

bogas04 commented Feb 9, 2018

I've updated the video list. 🙌🏽

@cpojer cpojer merged commit b8a8b29 into jestjs:master Feb 9, 2018
@cpojer
Copy link
Member

cpojer commented Feb 9, 2018

Fantastic! Thanks so much for doing this :) I really appreciate your PR – feel free to send more PRs to make the Jest website better!

@bogas04 bogas04 deleted the videos-page branch February 9, 2018 09:46
@bogas04
Copy link
Contributor Author

bogas04 commented Feb 9, 2018

@cpojer No problem at all. In fact, thank you for being so welcoming. Will definitely try to send some more PRs, hopefully code related. 🍻

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
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