cabal-cli icon indicating copy to clipboard operation
cabal-cli copied to clipboard

Notify users when update is available

Open okdistribute opened this issue 5 years ago • 1 comments
trafficstars

This is helpful for breaking protocol changes + future command support! Better to get it in earlier than later. I think it's relatively straightforward to use.

https://www.npmjs.com/package/update-notifier

okdistribute avatar May 08 '20 20:05 okdistribute

Brainstorming integration UX:

  • showing a npm-style notification box once someone quits the app (I personally really dislike these)
  • showing a message in the !status channel on cli init, or if the cli periodically checks for updates
  • show a short notification message somewhere on the top bars

This approach will only work for npm installs, since installs from e.g. a package manager that didn't come from npm may not be in sync with our release cycles. It would be rad if we had an /upgrade command that could update in place, not unlike running youtube-dl -U.

hackergrrl avatar Jun 20 '20 05:06 hackergrrl