Class AttentionItem

Assembly: redb.Tsak.Web.dll

One thing on a node an operator should look at, in the form the overview renders: a level that decides the
badge, a headline, a detail line, and — when the thing is a route — where to go to act on it.

public sealed record AttentionItem : IEquatable<AttentionItem>

Inheritance

Object→AttentionItem

Implements

Properties

ContextName

Context of the route this is about, when it is about a route.

public string? ContextName { get; init; }

Detail

The numbers or the message behind it.

public string Detail { get; init; }

Icon

Name of the icon shown next to the headline.

public string Icon { get; init; }

Level

"error" or "warning": the badge variant, and the sort key.

public string Level { get; init; }

RouteId

Route this is about, when it is about a route.

public string? RouteId { get; init; }

Title

What happened, in one line.

public string Title { get; init; }

Constructors

AttentionItem(string, string, string, string, string?, string?)

One thing on a node an operator should look at, in the form the overview renders: a level that decides the