Chapter Must Include
@TextOr(goal?.MustInclude, "No chapter-level must-include notes yet.")
@model WritingIntentDisplayViewModel @{ var scene = Model.Context?.Scene; var goal = Model.ChapterWorkflow?.Goal; var plannedItems = scene?.ChecklistItems.OrderBy(x => x.IsCompleted).ThenBy(x => x.SortOrder).ThenBy(x => x.ItemText).ToList() ?? []; static string TextOr(string? value, string fallback) => string.IsNullOrWhiteSpace(value) ? fallback : value.Trim(); }
Chapter Must Include
@TextOr(goal?.MustInclude, "No chapter-level must-include notes yet.")
Scene Checklist
@if (!plannedItems.Any()) {No scene checklist items.
} else {Relevant Goals