GithubHelp home page GithubHelp logo

bruffridge / pivotalfeedback Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 2.0 806 KB

A plugin that allows users to submit feedback including bugs and features to Pivotal Tracker.

License: MIT License

PHP 9.77% JavaScript 7.80% CSS 82.43%

pivotalfeedback's Introduction

Feedback for Pivotal Tracker

A plugin that allows users to submit feedback including bugs and features to Pivotal Tracker.

See it LIVE!
This demo is a view of the gh-pages branch of the repository. It is automatically updated as commits are made to the branch. Actually submitting the form will produce an error since it requires submitting an AJAX request to remoteInterface.php on a php server. But it will give you a look at what the UI looks like.

Tools used

It uses basic HTML, CSS that borrows from Twitter's Bootstrap and compiles with LESS, and javascript powered by jQuery. The backend is powered by vanilla PHP 5.3.

For those not familiar with LESS I left unminified versions of the css in the styles folder. The version of jQuery is 1.7.2 which is a little old so feel free to update it.

Setup

Add the class feedbackLink to any link to cause the dialog to show when the link is clicked.

The only modifications you need to make are in remoteInterface.php and Util.js. Search for the comments marked "todo:". You need to set the rootdir variable in remoteInterface.php and Util.js to the site subfolder of your site. So if your site is at 'mysite.com/pivotalfeedback' then set rootdir to '/pivotalfeedback/'. You also need to insert your Pivotal API token from your profile, and your Pivotal project id. You can also add the logged in user's name to see who submitted the feedback.

It will communicate with Pivotal over SSL but if you want to speed up performance change the parameter "443" in the http_request function to 80. If you have SSL only set in Pivotal though 80 won't work.

Update 1/15/2013: You can now add an attachment to your pivotal story through the plugin. It uses XMLHttpRequest 2's FormData object to upload the file using AJAX which is only supported by newer browers.

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.