Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 2.28 KB

CONTRIBUTING.md

File metadata and controls

54 lines (33 loc) · 2.28 KB

Contributing

Contributions are welcome and will be fully credited.

We accept contributions via Pull Requests on Github.

Local Development

Recommended reading:

Getting started:

  • Install the zat gem - $ gem install zendesk_apps_tools
  • Run the server - $ zat server
  • Preview the app - bring up zendesk, find a user or ticket, and add zat=true query string parameters to the url, like this:
  • https://{your-subdomain}.zendesk.com/agent/users/{user-id}/requested_tickets?zat=true
  • NOTE: if a shield icon appears in the browser, click on on and allow the script to run
  • reload the app to make changes active

Packaging and deploying:

  • Validate the app - $ zat validate
  • Package the app - $ zat package
  • Install the app

Please enter issues as you see fit.

Pull Requests

  • Document any change in behaviour - Make sure the README, CHANGELOG, and any other relevant documentation are kept up-to-date.

  • Consider our release cycle - We try to follow SemVer. Randomly breaking public APIs is not an option.

  • Create topic branches - Don't ask us to pull from your master branch.

  • One pull request per feature - If you want to do more than one thing, send multiple pull requests.

  • Send coherent history - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.

  • Ensure no coding standards violations - Please run PHP Code Sniffer using the PSR-2 standard (see below) before submitting your pull request. A violation will cause the build to fail, so please make sure there are no violations. We can't accept a patch if the build fails.

Validating your work

$ zat validate

Happy coding!