ipfs-shipyard / go-ipfs-desktop

Other
12 stars 6 forks source link

use notification popups for errors #4

Open mvdan opened 3 years ago

mvdan commented 3 years ago

The systray UI is nice for showing passive status indicators and actions, but not for showing the user when something goes wrong.

For example, if the IPFS daemon crashes (#3), we want to tell the user. Changing the systray icon to the "off" status is fine, but not particularly visible. We should also show a notification.

We can use https://pkg.go.dev/gioui.org/x/notify for this.

mvdan commented 3 years ago

Errors will be printed as log lines, for now.

mvdan commented 3 years ago

I did not have enough time to get to this myself, before the demo anyway.