-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Updated docs: Feature branches, Recipes #624
Conversation
@@ -49,6 +49,7 @@ forked repo, check that it meets these guidelines: | |||
* [Squash](http://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git) | |||
your commits into one for each PR. | |||
* Run `npm test` to make sure that your code style is OK and there are no any regression bugs. | |||
* If you contributing to opt-in feature, prefix your PR title with `[feature/...]` tag. |
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.
When contributing to an opt-in feature, prefix your PR with the ...
When contributing to an opt-in feature, apply the .. tag as a prefix to your PR title
I'm not sure whether "if" or "when" is correct
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.
I like When contributing to an opt-in feature, apply the .. tag as a prefix to your PR title
Please 📯 when suggestions by @tobiasmuehl have been processed so I can do a final check. |
9a27a7f
to
a9daa30
Compare
@@ -52,6 +52,25 @@ expenses via [OpenCollective](https://opencollective.com/react-starter-kit) or | |||
<img src="https://opencollective.com/static/images/become_backer.svg" width="64" height="64" alt=""> | |||
</a> | |||
|
|||
### Feature branches | |||
|
|||
Some features aren't provided by default, but you can opt-in to them. |
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.
...but you can optionally add them.
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.
@tomByrer Thanks, updated
@bravo-kernel Now it should be ready |
@bravo-kernel & @langpavel I believe that adding features via a If a repo wants to add additional features, they usually either include the code in part of the main branch, and use a flag/gulpscript/option to turn it on or off. Or they have a separate repo for the new feature, & Plus what happens when someone forks your branch? |
It seems I can only github-comment on lines that have been changed and would prefer to proof-read the full documentation. Anybody know a workaround? |
When you checkout master and merge feature, why you cannot merge master again? It should work.
Why? If your work is based on feature branch, you just want to merge it in feature. If it is useful for someone using different branch then he can
No one of your suggestions does solve the situation of competiting decisions. Separate multiple repos is even more fragile to maintain and it breaks community.
Actually as you know, If request for
Result of this is that all the branches here can be merged without conflicts! If there will be I know this is an unproved theory but it may work. General idea is make react-starter-kit real kit with options and choices. Please @koistya, comment on this idea. |
@tomByrer Described scenario can have interesting side effects: You have three branches: one implementing Relay, other implementing Redux. Third implementing Intl. The third, bare Intl needs user provided code to works, pass messages into IntlProvider. Assume two new branches - Redux+Intl and Relay+Intl. Each provide own mechanism to feed IntlProvider with data. Assume that some good man improve Intl implementation and PR will be accepted. Now it can be merged by maintainers (or possibly by a bot when no conflict) to feature branches! Users going with Relay and users going with Redux will be satisfied! Even more: You can merge (and I wish try this) Redux and Relay. Now it will be interesting more: I'm wrong? Let me know! |
@bravo-kernel, Viewing the whole files is possible. Go to Files changed and click these: |
To do so, simply merge the corresponding feature branch. | ||
These branches should be in sync with master and all other features branches | ||
so there should not be any merging conflicts. | ||
If conflicts occure, please open an issue and report to us. |
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.
occur
instead of occure
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.
Fixed now, Thanks :-)
[`<FormattedNumber>`](https://github.com/yahoo/react-intl/wiki/Components#formattednumber) | ||
[`<FormattedPlural>`](https://github.com/yahoo/react-intl/wiki/Components#formattedplural) | ||
|
||
- Do not use `<FormattedHTMLMessage>` if possible, see how to use *Rich Text Formatting* with |
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.
If possible, do not use ..., see how to
@tobiasmuehl the problem is with not being able to add comments to the lines that show after expanding (the grey-colored lines). Would be nice but not being able to makes sense to me git-wise. @langpavel my review is done, looks fine to me |
@@ -49,6 +49,7 @@ forked repo, check that it meets these guidelines: | |||
* [Squash](http://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git) |
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.
I can see it, in the left pane. Interesting
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.
I don't understand you what do you mean?
@bravo-kernel I tried if there's some way to make line comments using Chrome Dev Tools. The position on the server is handled by the |
@tobiasmuehl thanks for investigating, great find and no problem at.. you are absolutely right, not worth the effort. 👏 |
Closes kriasoft#623 Closes kriasoft#612 Closes kriasoft#610 Closes kriasoft#595 Closes kriasoft#173 Many thanks to @tobiasmuehl and @tomByrer and @bravo_kernel for reviewing.
@koistya Reviewed by @tobiasmuehl, @tomByrer and @bravo-kernel. |
Updated docs, documented feature branches, added recipes
Closes #623, #612, #610, #595, #173 – all Redux issues.