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

Support #28

Open
andrewhowdencom opened this issue Jul 13, 2020 · 1 comment
Open

Support #28

andrewhowdencom opened this issue Jul 13, 2020 · 1 comment

Comments

@andrewhowdencom
Copy link
Contributor

andrewhowdencom commented Jul 13, 2020

Support from within the app itself

This includes bug report.

Bug report should collect whatever relevant information there is; for example, sample of errors and so (maybe in a pool stored in memory in app? Unsure)

Smth like:

./app support contact --with-telemetry path/to/telemetry # Telemetry serialized to disk
./app support contact --with-telemetry                   # Telemetry in memory

./app support report-issue --with-telemetry              # Reporting an issue is a different flow
./app telemetry inspect path/to/telemetry                 # Inspects a telemetry blob

When the app crashes, can serialize telemetry to disk and then recommend users reach out to report bugs (or even allow them to trigger that bug report automatically).

Implies that the application should always have a set of telemetry in memory, ready to push — a pool (for example). Catch all panics, serialize content to disk, exit.

Whenever this is triggered, runs $EDITOR (need to figure out how to do this cross platform — see git) with a particular template, asks users to fill that out, and then sends that to server which returns a link to where the user can see the bug.


$ cr support

You can get in touch with our support teams by:

1. (Preferred) Submitting a request directly from the CLI using the sub-commands below
2. Submitting a request via:

- email: [email protected]
- web: https://cr.de/support
- phone: +49 123 456 789

Usage:
  cr support [command]

Available Commands:
    contact
    report-issue

Flags:
  -h, --help                        help for cr support
  -t, --telemetry                 include telemetry at path/to/telemetry/file (default: memory) # Should be part of subcommand
  --no-telemetry                skip telemetry                                                            # ""      ""
  --message                      The content to include in the report (default: open editor) # Should be part of subcommand
@andrewhowdencom
Copy link
Contributor Author

When app is restarted, detect crash dump from previous exit. (Discovered in O2 APP)

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

No branches or pull requests

1 participant