shell
shell copied to clipboard
need a /feedback command which auto generates a report
when a user has trouble, it will be useful if they can auto generate a status report and report it to us. this might capture for example which api host they're pointing to, any errors codes recorded in the console, etc.
i very much like the UI from https://fonts.google.com/. The UI entry point is a bit obscure on the main page (the exclamation mark in the lower left). It's more apparent from sub pages. Mostly i like what you see after clicking on the exclamation mark.
here is the programmatic way to capture a screenshot from within electron. this could be helpful, as part of the feedback implementation
const { remote } = require('electron')
remote.getCurrentWindow().capturePage(img => {
remote.require('fs').writeFile('Screenshot.png', img.toPng(), callback...)
})