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

Add contributor docs / guides, add pr + issue templates #6

Merged
merged 8 commits into from
Oct 27, 2016

Conversation

aaronlademann-wf
Copy link
Contributor

Pretty self-explanatory...

I added CONTRIBUTING.md, along with a PR / ISSUE template, and an update to the main readme with a word about our friend dartfmt, and our versioning scheme.

FYA: @jacehensley-wf @clairesarsam-wf @greglittlefield-wf @joelleibow-wf

@aviary2-wf
Copy link

Raven

Number of Findings: 0

@codecov-io
Copy link

codecov-io commented Oct 25, 2016

Current coverage is 96.96% (diff: 100%)

Merging #6 into master will not change coverage

@@             master         #6   diff @@
==========================================
  Files            26         26          
  Lines          1186       1186          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1150       1150          
  Misses           36         36          
  Partials          0          0          

Powered by Codecov. Last update 58682a4...6462f18

Copy link
Contributor

@greglittlefield-wf greglittlefield-wf left a comment

Choose a reason for hiding this comment

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

Some small things, otherwise looks fantastic!


__Please ask first__ before embarking on any significant pull request (e.g. implementing features, refactoring code, porting to a different language), otherwise you risk spending a lot of time working on something that the project's lead developers might not want to merge into the project.

Please adhere to the [Dart Style Guide][dart-style-guide] for all changes contained in your pull requests.
Copy link
Contributor

Choose a reason for hiding this comment

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

Broken link

5. Write tests for your changes.
1. There are no exceptions.
2. If your PR doesn't have accompanying test coverage - your code
will not get merged.
Copy link
Contributor

Choose a reason for hiding this comment

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

This wording isn't super friendly. Not saying we shouldn't require changes to be tested, but may be good to include something like: "if you're having trouble, reach out in your PR about how to best go about testing your changes."

2. If your PR doesn't have accompanying test coverage - your code
will not get merged.

6. Locally merge the upstream master branch into your topic branch:
Copy link
Contributor

Choose a reason for hiding this comment

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

May want to note that this is only necessary if there are merge conflicts


```bash
pub run test -p content-shell --pub-serve=8081 test/over_react_test.dart
```
Copy link
Contributor

Choose a reason for hiding this comment

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

There are the VM tests that we want to run as well, but wouldn't get run using these instructions. We should just recommend using pub run dart_dev test.

## Developer Workflow

The `over_react` developer workflow couldn't be any more simple!

Copy link
Contributor

Choose a reason for hiding this comment

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

"To serve the docs/examples/whatever, run:"




__POTENTIAL AREAS OF REGRESSION:__
Copy link
Contributor

Choose a reason for hiding this comment

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

#supernit...

I think using markdown headers and normal casing makes this much more readable:

## Ultimate problem:



## How it was fixed:



## Testing suggestions:



## Potential areas of regression:



---

__FYA:__ @greglittlefield-wf @aaronlademann-wf @jacehensley-wf @clairesarsam-wf @joelleibow-wf

Ultimate problem:

How it was fixed:

Testing suggestions:

Potential areas of regression:


FYA: @greglittlefield-wf @aaronlademann-wf @jacehensley-wf @clairesarsam-wf @joelleibow-wf

unnecessary null-checking in your business logic.

Also, if you fail to provide an initial value for all the fields in
`state`, your component will fail to build at run-time.
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't really accurate—or maybe the wording is just off?


 

* __AVOID__ specifying more than one cascading prop setter on the same line.
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be grouped with the first couple guidelines.

Also, would it make sense to have separate sections for guidelines around consuming components and guidelines around building components?

@@ -19,7 +19,9 @@
* __[DOM components and props](#dom-components-and-props)__
* __[Building custom components](#building-custom-components)__
* __[Component Boilerplates](#component-boilerplate-templates)__
* __[Component Formatting](#component-formatting)__
Copy link
Contributor

Choose a reason for hiding this comment

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

See my penultimate comment; may be good to have a "component formatting" set of guidelines in the first level of this list, and then "component best practices" under this "Building custom components" section.

@aaronlademann-wf
Copy link
Contributor Author

@greglittlefield-wf all feedback addressed.

@greglittlefield-wf
Copy link
Contributor

+1

@aaronlademann-wf
Copy link
Contributor Author

@leviwith-wf this is ready for merge.

@leviwith-wf
Copy link
Contributor

  • Docs look good, read well

QA +10

Merging.

@leviwith-wf leviwith-wf merged commit f94e9b4 into Workiva:master Oct 27, 2016
@colefeisthamel-wf
Copy link

RM +1 manually reviewed dependencies

clairesarsam-wf pushed a commit to clairesarsam-wf/over_react that referenced this pull request Jan 6, 2017
Add contributor docs / guides, add pr + issue templates
greglittlefield-wf pushed a commit that referenced this pull request Jun 19, 2020
Add boolean prop naming readability hint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants