Class SerenityHubFinishSetupBannerPolicy
Pure decision logic for Home's "Finish setup" banner (spec §3): visible only when the row titled
Installation Wiring or Project Wiring Health is currently in an Error
state — Required Unity Packages deliberately does not trigger it. Kept separate from
SerenityHubHomeView so the decision is testable without constructing any VisualElement.
Matches by title because SerenityHubStatus exposes no stronger identifier for its rows; if a
row's title ever changes there, this must track it (same class of coupling as the Learn view's DocFX path
note, ADR-9).
Inherited Members
Namespace: Serenity.Localization.Installation.Settings.Editor.Hub.Views
Assembly: Serenity.UnityLocalization.Installation.Editor.dll
Syntax
public static class SerenityHubFinishSetupBannerPolicy
Methods
ResolveErroredRow(IReadOnlyList<SerenityHubStatusRow>)
Returns the first Installation Wiring or Project Wiring Health row currently in an Error state, or null when neither is erroring — meaning the banner stays hidden.
Declaration
public static SerenityHubStatusRow ResolveErroredRow(IReadOnlyList<SerenityHubStatusRow> statusRows)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<SerenityHubStatusRow> | statusRows |
Returns
| Type | Description |
|---|---|
| SerenityHubStatusRow |