diff --git a/PlotLine/Services/CoreServices.cs b/PlotLine/Services/CoreServices.cs index 7ca8589..cc2a1b5 100644 --- a/PlotLine/Services/CoreServices.cs +++ b/PlotLine/Services/CoreServices.cs @@ -2638,6 +2638,7 @@ public sealed class StoryStateService( LocationID = latest.LocationID, CurrentLocation = latest.LocationPath ?? latest.LocationName ?? "Unknown", State = latest.SceneID == currentSceneId ? "Explicit" : "Inferred", + LastConfirmedSceneID = latest.SceneID, LastConfirmed = SceneLabel(latest.SceneNumber, latest.SceneTitle) }; }) @@ -2684,6 +2685,7 @@ public sealed class StoryStateService( LocationID = latest.LocationID, CurrentHolderOrLocation = latest.Label, State = latest.SceneID == currentSceneId ? "Explicit" : "Inferred", + LastConfirmedSceneID = latest.SceneID, LastConfirmed = scenesById.TryGetValue(latest.SceneID, out var scene) ? SceneLabel(scene.SceneNumber, scene.SceneTitle) : "Unknown" diff --git a/PlotLine/ViewModels/CoreViewModels.cs b/PlotLine/ViewModels/CoreViewModels.cs index acac4bb..7e7d3c1 100644 --- a/PlotLine/ViewModels/CoreViewModels.cs +++ b/PlotLine/ViewModels/CoreViewModels.cs @@ -251,6 +251,7 @@ public sealed class CharacterStoryStateViewModel public int? LocationID { get; set; } public string CurrentLocation { get; set; } = "Unknown"; public string State { get; set; } = "Unknown"; + public int? LastConfirmedSceneID { get; set; } public string LastConfirmed { get; set; } = "Never"; } @@ -261,6 +262,7 @@ public sealed class AssetStoryStateViewModel public int? LocationID { get; set; } public string CurrentHolderOrLocation { get; set; } = "Unknown"; public string State { get; set; } = "Unknown"; + public int? LastConfirmedSceneID { get; set; } public string LastConfirmed { get; set; } = "Never"; } diff --git a/PlotLine/Views/ContinuityExplorer/Index.cshtml b/PlotLine/Views/ContinuityExplorer/Index.cshtml index f88715d..59d82b7 100644 --- a/PlotLine/Views/ContinuityExplorer/Index.cshtml +++ b/PlotLine/Views/ContinuityExplorer/Index.cshtml @@ -181,7 +181,21 @@
@foreach (var row in Model.StoryState.Characters) { -