Class SerenityHubFinishSetupBannerPolicy
Pure decision logic for Home's "Finish setup" banner (spec §3): visible only when the row identified by
InstallationWiring or ProjectWiringHealth
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 Id —
a stable identifier shared with every row producer — rather than Title,
which is free-form presentation text a producer can reword without breaking this policy.
Inherited Members
Namespace: Serenity.Hub.Infrastructure.Editor.Views
Assembly: Serenity.UnityHub.Infrastructure.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 |