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

docs: Add guidance for PR titles and testing in an application #1028

Merged
merged 4 commits into from
Mar 26, 2021

Conversation

suzubara
Copy link
Contributor

Summary

I added some documentation to clarify the possible types and other parameters to use for our standard PR/commit format.

I also wrote some docs about how to test ReactUSWDS changes in an application, and added a note to the PR template to remind PR authors to do this testing when applicable.

@suzubara suzubara added the type: documentation Improvements or additions to documentation label Mar 19, 2021
@trussworks-infra-zz
Copy link

trussworks-infra-zz commented Mar 19, 2021

Warnings
⚠️

Changes were made to package.json, but not to yarn.lock - Perhaps you need to run yarn install?

Generated by 🚫 dangerJS against f0d4c91

@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook March 19, 2021 18:34 Inactive
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook March 19, 2021 18:37 Inactive
```

#### `type`:

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also include ! or BREAKING_CHANGE in the PR title as well if its a breaking change since we squash

Copy link
Contributor

Choose a reason for hiding this comment

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

Also this level of detail for contributors feels like a lot. Makes me wish for something like the form described here so maintainers could carry the bulk of this work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree, although since only Trussels are able to merge PRs right now maybe it's okay for now? definitely something to think about moving forward..

haworku
haworku previously approved these changes Mar 19, 2021
Copy link
Contributor

@haworku haworku left a comment

Choose a reason for hiding this comment

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

Small comment but looks good.

brandonlenz
brandonlenz previously approved these changes Mar 22, 2021
@suzubara suzubara dismissed stale reviews from brandonlenz and haworku via 44b5af5 March 23, 2021 19:52
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook March 23, 2021 19:55 Inactive
@suzubara
Copy link
Contributor Author

I pushed up some minor changes, including moving the whole "commit guidelines" section to the end of the contributing doc. @haworku I'm hoping that will indicate that this is more relevant to the end of the contributing workflow, and since only Truss org members can merge PRs it isn't really relevant to external contributors for now.

@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook March 23, 2021 20:07 Inactive
@suzubara suzubara merged commit be3bed4 into main Mar 26, 2021
@suzubara suzubara deleted the sr-doc-updates branch March 26, 2021 20:32
brandonlenz added a commit that referenced this pull request Apr 12, 2021
## [1.15.0](1.14.0...1.15.0) (2021-04-12)


### Features

* Identifier component ([#1044](#1044)) ([e79bc87](e79bc87))
* StepIndicator component ([#1047](#1047)) ([d61988e](d61988e))
* TimePicker component ([#1082](#1082)) ([c7bfdee](c7bfdee))
* Update to USWDS 2.9.0 ([#1048](#1048)) ([3859eea](3859eea))


### Documentation & Examples

* Add guidance for PR titles and testing in an application ([#1028](#1028)) ([be3bed4](be3bed4))
brandonlenz pushed a commit that referenced this pull request May 12, 2021
* Add docs with more info on commit message guidelines

* Add section about application testing to docs

* Fix links

* Minor updates to ordering
brandonlenz added a commit that referenced this pull request May 12, 2021
## [1.15.0](1.14.0...1.15.0) (2021-04-12)


### Features

* Identifier component ([#1044](#1044)) ([e79bc87](e79bc87))
* StepIndicator component ([#1047](#1047)) ([d61988e](d61988e))
* TimePicker component ([#1082](#1082)) ([c7bfdee](c7bfdee))
* Update to USWDS 2.9.0 ([#1048](#1048)) ([3859eea](3859eea))


### Documentation & Examples

* Add guidance for PR titles and testing in an application ([#1028](#1028)) ([be3bed4](be3bed4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants