Skip to content

docs(readme): add storybook-deploy notes as well as new pr template u… - #101

Merged
priley86 merged 1 commit into
patternfly:masterfrom
priley86:docs
Dec 11, 2017
Merged

priley86 merged 1 commit into
patternfly:masterfrom
priley86:docs

Conversation

@priley86

@priley86 priley86 commented Dec 8, 2017

Copy link
Copy Markdown
Member

What:
This change updates the README as well as the PR template for notes on storybook-deploy.

@priley86

priley86 commented Dec 8, 2017

Copy link
Copy Markdown
Member Author

cc: @danseethaler @jgiardino

@danseethaler danseethaler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking great! Added a couple small comments. Thanks for updating.

Comment thread .github/PULL_REQUEST_TEMPLATE.md Outdated
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
<!-- What changes are being made? (What feature/bug is being addresses here?) -->

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should be addressed?

<!-- How were these changes implemented? -->
**How**:
<!-- Are there any upstream issues or separate issues you need to reference? -->
**Additional issues**:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm wondering if it makes sense to add this in addition to the issues referenced from the npm run commit process that identifies them. Will this create duplicate referencing? It may be fine, just a thought.

@priley86 priley86 Dec 8, 2017 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@danseethaler good question... My understanding is that adding "Closes # X" within npm run commit OR adding "Closes # X" in the PR notes will close the issue. I guess my preference would be to include "Closes" in the PR comments (under the first question) instead of the commit b/c there are certain cases we might not close an issue, but still merge a commit (so you'd have flexibility to change it at any point). I'm flexible on this though (and think either is OK). Thoughts?

I made a note about additional issues at the end for a few things that you might list:

  • other upstream issues / PRs affected by this PR (or related to this PR)
  • other relevant issues that are related to this PR (but not closed by this PR)

I'm quite flexible on this and curious what others think...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah, it's also my preference to have the issues reference in the PR description rather than the commit message since it's much more visible when glancing at a PR. I'm mostly wondering if we're asking for it in both places if it will show multiple references in the issue we're closing. Not a huge deal either way.

I think what you've got here is good and we see how it goes 👍🏼

Comment thread README.md
For example, say you have `feature-branch`, you can deploy the storybook to a rawgit branch with:
```
npm run storybook:deploy -- --branch=feature-branch
npm run storybook:deploy -- --branch=feature-branch-storybook

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perfect 🎉

@priley86

Copy link
Copy Markdown
Member Author

@danseethaler @jgiardino I'm going to go ahead and merge this PR as to not confuse any new contributors.

I believe the Pull Request template will involve some further discussions so I have opened up #105 to address it there.

@priley86
priley86 merged commit d3e197b into patternfly:master Dec 11, 2017
@jgiardino jgiardino removed the review label Dec 11, 2017
HarikrishnanBalagopal pushed a commit to HarikrishnanBalagopal/patternfly-react that referenced this pull request Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants