Auto-filing of issues
Two use cases:
- Parts not implemented in code-gen
- Exceptions in general
Allow the user to click on a URL from the visualizer UI, and autofill an issue.
Related: #19
ATM this isn't very relevant. There might be a use case for exceptions handled within the visualizer; when we implement some sort of logging this might have value (e.g. see https://github.com/sindresorhus/new-github-issue-url/blob/master/index.js; we could do something similar with the exception data, passing it to an autogenerated issue).
ATM, most of the visualizer failures are because the visualizer can't be loaded, or a specific type cannot be loaded; in these cases, VS presents a standardly vague messagebox -- "The custom visualizer failed to load" or some such; this cannot be customized, and AFAICT cannot provide any loggable information.
However, we can provide a link to the appropriate issues page, and perhaps autofill certain details. This is tracked at this has now been implemented -- see https://github.com/zspitz/Periscope/issues/12.
Even for a user-generated issue, there is one piece of information we could provide in creating a new issue: the structure of the expression tree, and the current settings.