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

Button to generate "debug report" for users #857

Closed
lurch opened this issue Nov 9, 2016 · 24 comments
Closed

Button to generate "debug report" for users #857

lurch opened this issue Nov 9, 2016 · 24 comments

Comments

@lurch
Copy link
Contributor

lurch commented Nov 9, 2016

Sometimes when users report problems with Etcher, it's difficult to get all the info from them we need.

Perhaps there should be an button in the Etcher GUI somewhere (ping @konmouz ) that we could ask the users to click on that would generate a "debug report" they could send to us, which would contain all kinds of useful information, like:

  • Etcher version
  • OS (and version) that Etcher is being run on
  • Name of the image that was selected
  • Name of the drive that was selected
  • Output of the DevTools console
  • Output of the drivelist command
  • etc.
@jviotti
Copy link
Contributor

jviotti commented Nov 9, 2016

We should make sure we are super clear about what information we're retrieving though.

@lurch
Copy link
Contributor Author

lurch commented Nov 9, 2016

Of course. We should also allow the user to view all the info in the report, before they send it to us. Perhaps we could just dump a text file in the same location as the Etcher binary (if that dir is writable) or in the user's home directory otherwise?

@konmouz
Copy link

konmouz commented Nov 30, 2016

We can have an option in settings, where user can also review report's content and choose where to save, or send it directly to us (i.e. Apple has a very similar flow for this when something goes wrong).

@taahirisaacs
Copy link

Me and @konmouz were chatting about this, and thought it might be interesting to prompt the user on initial start-up of Etcher. They could still find the option within settings.

@lurch
Copy link
Contributor Author

lurch commented Dec 1, 2016

Hmmm, what would it prompt the user for on initial start-up?
Hopefully most users won't encounter errors, so we won't need to bother them about debug reports... ;-)

@konmouz
Copy link

konmouz commented Dec 1, 2016

This is in case we need to always get auto-generated reports when something goes wrong. Indeed it is an extra step, but if you think it could be something useful we can explore how this can be implemented.

@lurch
Copy link
Contributor Author

lurch commented Dec 1, 2016

IMHO asking every user at start-up about debug reports, might give the user the wrong impression that we expect Etcher to have problems? :-S

@konmouz
Copy link

konmouz commented Dec 1, 2016

This could be indeed an issue. So for now we can have an option in settings and just a dialog when something goes wrong.

@jviotti
Copy link
Contributor

jviotti commented Dec 1, 2016

I personally don't think we should bother with automatic error reporting, since as @lurch , this will be the exception rather than the rule, and we're pretty much covered in that aspect by TrackJS.

I propose to develop a button that users can click to generate a file containing all sorts of information about their system (generic stuff, no personal information), and they can send it to us by themselves (on a GitHub issue, or attaching to Gitter).

@konmouz
Copy link

konmouz commented Dec 1, 2016

I was thinking a modal with direct option to 'send to Resin' or 'just save'. Visuals will follow soon.

@jviotti
Copy link
Contributor

jviotti commented Dec 1, 2016

Lets do a "just save" for now. We don't know how beneficial these reports will be to us, so lets wait for some real benefits before polishing and automating the feature.

@konmouz
Copy link

konmouz commented Dec 1, 2016

screen shot 2016-12-01 at 16 06 18

screen shot 2016-12-01 at 16 06 04

@konmouz
Copy link

konmouz commented Dec 1, 2016

The ignore button redirects back to the settings. I guess that the 'debug report' modal can also appear after an unexpected error. In this case the ignore button will just dismiss the modal window.

@jviotti
Copy link
Contributor

jviotti commented Dec 1, 2016

I feel that having the "debug report" button inside the settings dialog feels a bit weird. We have this question mark icon right next to the settings that currently redirects user to https://github.com/resin-io/etcher/blob/master/SUPPORT.md. What about having that icon open a modal that allows you to either open such document or generate the bug report?

@konmouz
Copy link

konmouz commented Dec 1, 2016

This is a bit tricky. Indeed settings is not the best place to have the debug report, however, I am not sure if it a good practice to create a new modal to host basically just two options and complicate the help flow (which currently is very direct). Another concern is that normally users avoid 'help' unless they are really stuck (here we need some analytics to double check).

@jviotti
Copy link
Contributor

jviotti commented Dec 1, 2016 via email

@konmouz
Copy link

konmouz commented Dec 2, 2016

@jviotti do we have analytics regarding how many people use 'help' and at what stage?

@jviotti
Copy link
Contributor

jviotti commented Dec 2, 2016

@konmouz We don't have any event for the icon, even though we should (maybe @Shou can handle?). What we do have is GitHub analytics of how many times https://github.com/resin-io/etcher/blob/master/SUPPORT.md was visited here: https://github.com/resin-io/etcher/graphs/traffic, and its the second most viewed page in our GitHub repository (after the landing page).

@konmouz
Copy link

konmouz commented Dec 2, 2016

@jviotti can we find out where they are coming from?

@lurch
Copy link
Contributor Author

lurch commented Dec 2, 2016

I guess as far as GitHub is concerned, they can't tell the difference between people clicking on the 'help' button in Etcher, and people just typing https://github.com/resin-io/etcher/blob/master/SUPPORT.md directly into the URL bar of their browser.

@jviotti
Copy link
Contributor

jviotti commented Dec 3, 2016

Yeah, we can't know for sure, however its unlikely that users will open SUPPORT.md out of nowhere. I'd say at least 80% of those come from the application, but again, we don't know for sure.

@lurch
Copy link
Contributor Author

lurch commented Dec 3, 2016

Yeah, we can't know for sure, however its unlikely that users will open SUPPORT.md out of nowhere

Agreed. So presumably all visits with no referrer are coming direct from the application. It obviously doesn't account for the "long tail" effect, but adding up the top 10 "Popular content" views gives a total of 5,484 views, and adding up the top 10 "Referring sites" views gives a total of 4667 views, meaning 817 views have no referrer.

Interestingly, two of the top 10 Referring sites are from non-English webpages. I guess the simplicity of the Etcher interface makes it easy to use for non-English speakers :-)
(but perhaps it adds more weight to #308 ?)

@jviotti
Copy link
Contributor

jviotti commented Dec 7, 2016

As proposed by @lurch in #953 (comment), lets start prototyping this as an internal feature available through DevTools.

@jviotti jviotti modified the milestones: v1.0, Stability Dec 7, 2016
@jviotti
Copy link
Contributor

jviotti commented Feb 13, 2017

Apparently Sentry has support to generate and display error reports /cc @stefan-mihaila

@jviotti jviotti modified the milestones: Stability, v1.0 Mar 17, 2017
@jviotti jviotti modified the milestones: v1.0, Backlog May 9, 2017
@jviotti jviotti closed this as completed Oct 15, 2018
@ghost ghost removed the status:pending design label Oct 15, 2018
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

4 participants