-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
need to require PropTypes to use it #9095
Conversation
By analyzing the blame information on this pull request, we identified @caabernathy and @hramos to be potential reviewers. |
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 - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
Thanks for the pull request! Can you please mention NavigatorIOS in the title and update the description (which will become the commit message once this is merged)? |
require PropTypes explicitly |
done
|
Also, can you open this PR against master instead? |
created a new pull request on master: #9141 |
in the future, if you want people to make their PR's on master, you should change the "Edit on Github" link in the docs. When I clicked it, it sent me here: https://github.com/facebook/react-native/blob/0.30-stable/Libraries/Components/Navigation/NavigatorIOS.ios.js |
Good catch |
That's something I'd like to fix, though I don't have a good solution for now. Many documentation pull requests are opened against the current release branch, but we actually want these to be opened against master to ensure the edits make it to the next release. As you pointed out, the Edit on GitHub links point to the release branch and not master. This is expected because the doc site is versioned and built from release branches, and linking to master may produce broken links when files are renamed. We want to make it easy to find the source file used to generate any given doc page. A quick fix would be to update these "Edit on GitHub" links to say "View on GitHub" instead, as our contribution guidelines already mention that PRs should be opened against master. I am not confident that this will mitigate the problem of new doc PRs being created against release branches, however. Do you have any suggestions? |
Hmmm...you probably know more about this than I do. I don't fully understand why just linking to the master branch would ever On Mon, Aug 1, 2016 at 11:09 AM Héctor Ramos notifications@github.com
|
A new documentation site is built for every release. If you look at the upper left of the window while browsing the docs, you'll see the current release number (0.30 as of this writing). If you click on that, you can choose a previous release, or select master/next to view the docs as they are on the master branch. We don't display docs from master by default as they may document APIs or features that have landed in master but have not yet been cherry picked into a React Native release. It's rare that we change links around (it happened most recently during our documentation lockdown at the end of June) so we may want to just link to master directly when clicking on Edit on GitHub, then. |
Summary: We've been getting a lot of documentation PRs opened against `0.29-stable`, `0.30-stable`, and so on, instead of `master`. This is because our doc site is also based on RN release cuts, so clicking on the "Edit on GitHub" links on a document will take you to the markdown source for that release branch instead of the latest doc on `master`. See #9095 for an example of such a PR. In this PR we edit the link to say View on GitHub. Though it may not prevent PRs from being opened against a release branch, removing the "Edit" CTA may help in this regard. Closes #9149 Differential Revision: D3664368 Pulled By: vjeux fbshipit-source-id: 395c0813f736bfbe1be4b4fb1182f9060169365d
Summary: We've been getting a lot of documentation PRs opened against `0.29-stable`, `0.30-stable`, and so on, instead of `master`. This is because our doc site is also based on RN release cuts, so clicking on the "Edit on GitHub" links on a document will take you to the markdown source for that release branch instead of the latest doc on `master`. See facebook#9095 for an example of such a PR. In this PR we edit the link to say View on GitHub. Though it may not prevent PRs from being opened against a release branch, removing the "Edit" CTA may help in this regard. Closes facebook#9149 Differential Revision: D3664368 Pulled By: vjeux fbshipit-source-id: 395c0813f736bfbe1be4b4fb1182f9060169365d
Summary: We've been getting a lot of documentation PRs opened against `0.29-stable`, `0.30-stable`, and so on, instead of `master`. This is because our doc site is also based on RN release cuts, so clicking on the "Edit on GitHub" links on a document will take you to the markdown source for that release branch instead of the latest doc on `master`. See facebook#9095 for an example of such a PR. In this PR we edit the link to say View on GitHub. Though it may not prevent PRs from being opened against a release branch, removing the "Edit" CTA may help in this regard. Closes facebook#9149 Differential Revision: D3664368 Pulled By: vjeux fbshipit-source-id: 395c0813f736bfbe1be4b4fb1182f9060169365d
Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:
(You can skip this if you're fixing a typo or adding an app to the Showcase.)
Explain the motivation for making this change. What existing problem does the pull request solve?
Prefer small pull requests. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.
Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
Make sure tests pass on both Travis and Circle CI.
Code formatting
Look around. Match the style of the rest of the codebase. See also the simple style guide.
For more info, see the "Pull Requests" section of our "Contributing" guidelines.