Class SerenityHubHomeView
The Hub's landing view (spec §3): status metric cards, a "Finish setup" banner shown only on an error state, a recents row, and a favorites row. Never triggers a synchronous full-project scan itself — it renders whatever BuildRows() currently returns.
Since Slice 6.4, SerenityHubStatus.BuildRows no longer calls
SerenityProjectValidationRunner.RunAll synchronously — its wiring-health row reads
SerenityHubValidationCache instead, rendering a "not yet run" state when nothing is cached. Opening
Home is therefore fully spec-compliant: no view triggers a synchronous full-project scan on open.
Implements
Inherited Members
Namespace: Serenity.Localization.Installation.Settings.Editor.Hub.Views
Assembly: Serenity.UnityLocalization.Installation.Editor.dll
Syntax
public sealed class SerenityHubHomeView : ISerenityHubView
Constructors
SerenityHubHomeView(Func<List<SerenityHubStatusRow>>)
Declaration
public SerenityHubHomeView(Func<List<SerenityHubStatusRow>> buildStatusRows = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<List<SerenityHubStatusRow>> | buildStatusRows |
Properties
Id
Stable identifier — one of SerenityHubViewIds.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
Root
The view's root visual tree, mounted into the window's content host.
Declaration
public VisualElement Root { get; }
Property Value
| Type | Description |
|---|---|
| VisualElement |
Methods
OnShow(SerenityHubContext)
Rebuilds the view's content from context. Called every time it becomes active.
Declaration
public void OnShow(SerenityHubContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerenityHubContext | context |