Combines shake.js and html2canvas to provide shake to report functionality for web.
- The module uses
Reporters
to integrate with 3rd party project management platforms. It Provides aJiraReporter
out of the box, but you could write a reporter for your platform of choosing by implementing theIReporter
interface. - The
WebShakeReport
class accepts ahtml2canvasOptions
property and passes it directly tohtml2canvas
$ yarn add web-shake-report
$ npm install web-shake-report
- visit atlassian developer console and create a new app
- create a new
JiraReporter
instance and passclient_id
,client_secret
andredirect_url
of your app to it - you could provide meta data for the issue that is to be reported.
project.id
andissue.id
are mandatory. - under the hood, the reporter uses atlassian's oauth2 authorization mechanism
Check out examples/jira
to see an implementation using this reporter.
As of now, there's really no perfect way for capturing a screenshot on a mobile device, since mobile browsers currently do not support the getDisplayMedia api.
This module uses the html2canvas
module for capturing screenshots, which has its limitations in terms of accuracy and supported html features and css properties. Consult its documentation to learn more.