@model StoryIntelligenceProgressViewModel @{ ViewData["Title"] = "Review knowledge"; }

Phase 3

Review Story Intelligence

Stage 6 of 6

Review Knowledge

Approve the facts, discoveries, beliefs and suspicions PlotDirector should add to the existing Knowledge Explorer.

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

Knowledge is already up to date, or there were no knowledge changes ready to import from the stored scene analysis.

@FutureStage("Review Continuity") @FutureStage("Timeline Events")
} else {
@for (var i = 0; i < Model.KnowledgeReview.Candidates.Count; i++) { var candidate = Model.KnowledgeReview.Candidates[i];
@candidate.CharacterName @candidate.KnowledgeStateName - @candidate.KnowledgeStatement @candidate.Confidence
Character
@candidate.CharacterName
Knowledge statement
@candidate.KnowledgeStatement
First scene
@Display(candidate.FirstScene)
Existing match
@(candidate.ExistingKnowledgeLabel ?? "None")
@if (!string.IsNullOrWhiteSpace(candidate.ExampleScene)) {
Example scene

@candidate.ExampleScene

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

@candidate.Evidence

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

This fact may already exist in PlotDirector. Choose whether to link it or create a separate knowledge record.

}
Decision
}
Back to relationships
}
@section Scripts { } @functions { private static string Display(string? value) => string.IsNullOrWhiteSpace(value) ? "Not detected" : value; private static Microsoft.AspNetCore.Html.IHtmlContent FutureStage(string label) => new Microsoft.AspNetCore.Html.HtmlString($"
{System.Net.WebUtility.HtmlEncode(label)}Coming Soon
"); }