GithubHelp home page GithubHelp logo

isabella232 / sentry-zendesk-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getsentry/sentry-zendesk-app

0.0 0.0 0.0 16 KB

Pull up Sentry issues for user tickets in Zendesk

CSS 30.78% JavaScript 69.22%

sentry-zendesk-app's Introduction

NOTE: THIS VERSION OF THE APP USES THE OLD ZENDESK APP INTERFACE, WHICH HAS BEEN DEPRECATED. THIS VERSION OF THE APP IS THEREFORE ALSO DEPRECATED. YOU CAN FIND THE NEW VERSION AT https://github.com/getsentry/getsentry-zendesk-v2.

Sentry Zendesk app

Display Sentry issues for user being viewed in Zendesk.

Project view

/app.js                 - Main logic for Zendesk app
/app.css                - CSS that Zendesk will load for app
/manifest.json          - Configuration file for app, also used by Zendesk
/assets                 - contains Sentry icon, required by Zendesk
/templates              - where Zendesk loads handlebar templates from
/templates/layout.hdbs  - Default Zendesk template, which all others are inserted into
/templates/issues.hdbs  - Template for displaying issues for the current user
/templates/error.hdbs   - Template to display when an error is received from API
/translations/en.json   - mostly empty, required by Zendesk

Testing the app locally

The app is deployed by the admin but can be tested locally before it's deployed.

1. Setting up the Zendesk tools

Use Zendesk tools to serve the local app in a way that the Zendesk interface can access. There's detailed instructions here on how to use their tools.

First, install the tools:

$ sudo gem install zendesk_apps_tools

If you get compilation errors on OS X, you may need to run this first (Choose install, you only need the command line tools, not all of Xcode):

$ xcode-select --install

Once installed, run the local development environment using

$ zat server

2. Telling Zendesk to use local apps

Add ?zat=true to any Zendesk URL. For example:

https://sentry.zendesk.com/agent/tickets/701?zat=true

When the page loads, the right corner of the URL bar will have a little shield telling you it prevented unsafe scripts from loading. Press the Load Unsafe Scripts button and the page will reload again with your app.

3. Packaging and deploying

Covered more here

Run

$ zat package

This will spit out a zip file. You'll upload the app as an admin: Admin -> Apps -> Manage -> Upload App.

sentry-zendesk-app's People

Contributors

dcramer avatar lobsterkatie avatar mattrobenolt avatar sean-lynch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.