/ext_ux_feedback

An Extension for the Ext 4 Framework to present a Feedback-Form and send it with an attached ScreenShot of the App

Primary LanguageJavaScriptMIT LicenseMIT

Ext.ux.Feedback

The idea to this Ext 4 extension is based on Google+ feedback functionality. This extension allows you to put an feedback button somewhere inside you application. If your users click on this button, it will automatically take an ScreenShot of your application and ask your user to write some notes. The feedback will be send to your server. You can find a demo PHP script for sending an eMail with the feedback and attached ScreenShot and Session data inside the /server/ folder.

The ScreenShot functionality is realized by use of html2canvas.

If no canvas is supported by your users browser, it will only aks for some notes and send you some client information.

Usage

items: [
    {
        xtype: 'feedbackButton',
        text: 'Give Feedback !',
        remoteUrl: 'sendFeedback.php',
        listeners: {
            feedbackSuccess: function(){
                alert('Hey, you got feedback!');
            }
        }
    }
]

Demo

For an demo, please visit http://www.visualdrugs.net/ext_ux_feedback/demo/