Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Bug Reporter example #7

Open
asayers opened this issue Dec 9, 2014 · 0 comments
Open

Implement Bug Reporter example #7

asayers opened this issue Dec 9, 2014 · 0 comments

Comments

@asayers
Copy link
Collaborator

asayers commented Dec 9, 2014

From @meiersi:

Another option would be to implement generic GUI-bug-reporting support in blaze-react. In its simplest form it would consist of one application transformer that works as follows.

  • The rendered application gets wrapped with a toolbar that allows to switch between running the app, reporting a bug, and browsing bugs.
  • When reporting a bug, the application is paused, and the user can fill out a form describing the problem.
  • Submitted bugs get stored in a backend DB. For demo purposes, it might work pretty well to submit the bug straight to a github project using the Github API. I'd suggest to use a particular tag to identify them and to embed the application state as JSON in the issue text.
  • When browsing bugs, we read the bug DB from github and allow the user to restore the application from the state stored in the issue.

This version would require to log-in with their github account. For more real-world production use cases, we'd probably want to add support for.

  • Bug triaging
  • Drawing on the App UI to support handwritten annotation.
  • Recording a limited set of actions that were applied before the bug-report was submitted.

Note also that we could easily extend the application state with data about the browser version and the current time, by just using another application transformer that adds this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant