Before submitting a feature request be sure to review our issue history to confirm that your request is unique or not already in progress. When you're ready to submit, be sure to use the following template:
Name | About | Title | Labels | Assignees |
---|---|---|---|---|
Feature Request | Suggest an idea for this preoject |
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex: I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Like Feature Requests, before submitting a bug report, be sure to review our issue history to confirm that your bug fix is not already resolved or in progress. When you're ready to submit, be sure to use the following template:
Name | About | Title | Labels | Assignees |
---|---|---|---|---|
Bug report | Create a report to help us improve |
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
In addition to the default linting rules, Playbook Swift enforces a indentation width of 2 spaces.
- SwiftLint, within the
.swiftlint.yml
file, enforces theindentation_width: 2
rule- View all enforced rules via
swiftlint rules
in your Terminal
- View all enforced rules via
- SwiftFormat, within the
.swiftformat
file, only allows theindent
rule and sets it to--indent 2
These rules will also be enforced before you commit via pre-commit.
-
After installing pre-commit via
brew install pre-commit && pre-commit install
, the first time you try to commit, it will take some time to install the hooks: -
pre-commit will check for several rules and auto-corrects any violations. You will have to commit again if it finds an error. In the example below, one file did not have proper indentation which SwiftFormat detected and corrected:
When submitting a pull request use the following template:
- [First bullet point must be a short overall summary]
- [Runway Story]
- [Optional: add more details]
Before | After |
---|---|
[Before Pic] | [After Pic] |
[Yes/No (Explain)]
[Insert testing details or N/A]
- LABELS - Add a label:
breaking
,bug
,improvement
,documentation
, orenhancement
. See Labels for descriptions. - SCREENSHOTS - Please add a screenshot or two. For UI changes, you MUST provide before and after screenshots.
- RELEASES - Add the appropriate label:
Ready for Testing
/Ready for Release
- TESTING - Have you tested your story?