Gleaming Wails: Improve handling of error state when starting daemon | Always Developing #255

Live coding an app with Gleam, Lustre, Go and Wails.

Just a quick session whereby I make sure when I show the Wails ErrorDialog after failing to start the daemon, the correct state is set in the Gleam frontend code.
A bonus change was noticing that the info notice wasn’t properly styled, so I updated the CSS used by the Gleam frontend to now have an info class it can use, and I set more notices to be InfoNotice type.

Snippet Expander:- https://snippetexpander.org

Source Code: https://git.sr.ht/~ianmjones/snippetexpander

Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS

Blog:- https://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones

Tech Used:
Gleam:- https://gleam.run
Lustre:- https://hexdocs.pm/lustre
Go:- https://golang.org
Wails:- https://wails.io