@model StoryIntelligenceProgressViewModel @{ ViewData["Title"] = "Review relationships"; const int previewLimit = 25; var relationshipCandidates = Model.RelationshipReview.Candidates.Take(previewLimit).ToList(); var hiddenCandidateCount = Math.Max(0, Model.RelationshipReview.Candidates.Count - relationshipCandidates.Count); }

Story Intelligence

Review Relationships

Review relationship suggestions by character pair and decide what should become canonical.

@if (TempData["OnboardingStoryIntelligenceError"] is string error) {
@error
} @if (TempData["OnboardingStoryIntelligenceMessage"] is string message) {
@message
}
@if (Model.RelationshipReview.Candidates.Count == 0) {
No relationship decisions are waiting.

Relationships are already up to date, or there were no relationship suggestions ready to import from the stored scene analysis.

Back to Review Centre
} else {
@if (hiddenCandidateCount > 0) { Showing @relationshipCandidates.Count.ToString("N0") of @Model.RelationshipReview.Candidates.Count.ToString("N0") }
@for (var i = 0; i < relationshipCandidates.Count; i++) { var candidate = relationshipCandidates[i];
@candidate.CharacterAName @candidate.RelationshipType / @candidate.CharacterBName - @candidate.AppearsInScenes.ToString("N0") scene@(candidate.AppearsInScenes == 1 ? string.Empty : "s") @candidate.Confidence
Character A
@candidate.CharacterAName
Character B
@candidate.CharacterBName
First seen
@Display(candidate.FirstAppearance)
Last seen
@Display(candidate.LastAppearance)
Existing match
@(candidate.ExistingRelationshipLabel ?? "None")
@if (!string.IsNullOrWhiteSpace(candidate.ExampleScene)) {
Example scene

@candidate.ExampleScene

} @if (!string.IsNullOrWhiteSpace(candidate.ExampleContext)) {
Supporting context

@candidate.ExampleContext

} @if (candidate.IsExistingMatch) {
Possible existing relationship

@candidate.CharacterAName and @candidate.CharacterBName may already have a relationship in PlotDirector. Choose whether to link them or create a separate relationship.

}
Decision
Story Intelligence observation

@candidate.RelationshipType

@if (!string.IsNullOrWhiteSpace(candidate.ExampleContext)) { Evidence

@candidate.ExampleContext

}
}
@if (hiddenCandidateCount > 0) { Save this batch to continue with @hiddenCandidateCount.ToString("N0") more relationship decision@(hiddenCandidateCount == 1 ? string.Empty : "s"). } Back to Review Centre
}
@section Scripts { } @functions { private static string Display(string? value) => string.IsNullOrWhiteSpace(value) ? "Not detected" : value; }