ssbc / ssb-first-aid-kit

A user-friendly app for diagnosing and fixing problems with your Scuttlebutt installation
GNU Affero General Public License v3.0
15 stars 3 forks source link

Maybe add an action for exporting diagnostic data/log files #11

Open Powersource opened 4 years ago

Powersource commented 4 years ago

Was just looking over my old notes to see if there was any old idea that I hadn't implemented. Found one, a button with the label

Export diagnostic data and log files

I'm not entirely sure what diagnostic data and/or log files but it sounds like a neat feature. Will look around a bit for potential things to collect.

Powersource commented 4 years ago

The only things I can think of atm are these files in .ssb

could maybe zip them up. What's the best way of giving the user a .zip file though

Powersource commented 4 years ago

Could use https://electronjs.org/docs/api/download-item , or one of several npm modules that seem to help out with this. Might be weird to implement when downloading from a local source, but should work right. Maybe the download api is overkill, maybe there's a way to just show a file-location picker.