vega / editor

Editor/IDE for Vega and Vega-Lite
https://vega.github.io/editor/
BSD 3-Clause "New" or "Revised" License
166 stars 90 forks source link

"File Issue" share option #752

Open marcprux opened 4 years ago

marcprux commented 4 years ago

Whenever I file a bug against vega or vega-lite, I include a spec and a screenshot from vega-editor to provide a reproducible test. This workflow is a process of manual copying/pasting and creating the screenshot and uploading it to a new issue report.

A "File Issue" link in the "Share" menu could streamline this:

• Create a new issue for vega or vega-lite • Inline the formatted JSON spec in the body • Include the screenshot as an attachment • Include any additional vega-editor configuration options (such as which renderer is being used) • Include the current version of vega, vega-lite, etc. • Include information on the browser & OS that is being used

domoritz commented 4 years ago

Yep, that would be cool. As a first step, you can get a markdown link.

Screen Shot 2020-08-03 at 10 06 28

The editor already has a little link in the help dialog that sets the version.

Screen Shot 2020-08-03 at 10 07 01

We could base your suggestion on what we did there.

marcprux commented 4 years ago

One additional nice feature would be to include the current log messages/warnings/errors in the issue template.