Imison.Web.ErrorsLive (Imison v0.1.0)

Copy Markdown View Source

The error list, the dashboard's home page (docs/design/errors.html): one tab per status with its count, a search over kind, message and location, and the most recently seen errors first. The status and the search live in the URL (?status=resolved&q=timeout).

With the instance's pubsub set, the connected list subscribes to the errors it records and reloads the page and counts at most once a second, showing the design's Live indicator. Status changes and mutes made elsewhere reload it the same way. Broadcasts only reach lists on nodes that share the PubSub, so without pubsub, or while this node has no connected nodes, the connected list also refreshes from the database every few seconds, and the indicator says so.

Rows can be selected, one by one or all at once; while some are, the bulk bar offers the status changes that move them off the current tab. The selection lives on the server and holds only listed errors: changing tab or search, or acting on it, clears it.