@model ChapterWorkflowViewModel
@{
ViewData["Title"] = $"Chapter Workflow - {Model.Chapter.ChapterTitle}";
var blockedCount = Model.Scenes.Count(x => x.IsBlocked);
var readyDraftCount = Model.Scenes.Count(x => x.ReadyForDraft);
var readyRevisionCount = Model.Scenes.Count(x => x.ReadyForRevision);
var readyPolishCount = Model.Scenes.Count(x => x.ReadyForPolish);
}
Chapter workflow
Chapter @Model.Chapter.ChapterNumber: @Model.Chapter.ChapterTitle
Chapter intent, readiness, blockers, notes, and checklist progress.
@foreach (var scene in Model.Scenes)
{
Scene @scene.SceneNumber: @scene.SceneTitle
@scene.DraftStatus
@if (scene.Priority.HasValue) { Priority @scene.Priority }
@scene.WarningCount warnings
@scene.RemainingChecklistCount checklist remaining
@scene.UnresolvedNoteCount open notes
@if (scene.ReadyForDraft) { Ready for draft }
@if (scene.ReadyForRevision) { Ready for revision }
@if (scene.ReadyForPolish) { Ready for polish }
@if (scene.IsBlocked) { Blocked }
@if (!string.IsNullOrWhiteSpace(scene.BlockedReason))
{
@scene.BlockedReason
}
}