diff --git a/PlotLine.Tests/Browser/context-assets.cjs b/PlotLine.Tests/Browser/context-assets.cjs
new file mode 100644
index 00000000..1a570038
--- /dev/null
+++ b/PlotLine.Tests/Browser/context-assets.cjs
@@ -0,0 +1,33 @@
+const {chromium}=require('playwright'),fs=require('node:fs'),assert=require('node:assert/strict');
+(async()=>{
+ const browser=await chromium.launch({headless:true});
+ try{
+ const page=await browser.newPage({viewport:{width:1280,height:850}});
+ await page.route('http://assets.test/**',r=>r.fulfill({contentType:'text/html',body:''}));
+ await page.goto('http://assets.test');
+ await page.addStyleTag({content:fs.readFileSync('PlotLine/wwwroot/css/context-spatial.css','utf8')+' main {height:750px}'});
+ for(const name of ['context-spatial','context-assets'])await page.addScriptTag({content:fs.readFileSync(`PlotLine/wwwroot/js/${name}.js`,'utf8')});
+ const frame={scope:{projectID:7,sceneID:3},assets:[1,2].map(id=>({asset:{storyAssetID:id,assetName:`Parcel ${id}`,kindName:'Object',description:'Saved description'},presence:id===1?'Mentioned':'Present',openingHolder:{value:id===1?'Recipient':'Unknown',sceneID:id===1?1:null,sceneLabel:'Handover'},openingLocation:{value:'Office',sceneID:2,sceneLabel:'Move'},changes:['Mentioned: parcel']}))};
+ async function mount(data,pane=0){await page.evaluate(({data,pane})=>{
+ const previous=document.querySelector(`[data-pane="${pane}"]`);if(previous){PlotDirectorContextLifecycles.assets.dispose(previous);previous.remove();}
+ const node=document.createElement('div');node.dataset.pane=pane;node.className='context-spatial';node.style.height='700px';node.innerHTML='
';
+ node.querySelector('script').textContent=JSON.stringify(data);document.querySelector('main').append(node);PlotDirectorContextLifecycles.assets.mount(node,{windowId:'window1',paneId:pane});
+ },{data,pane});}
+ await mount(frame);
+ assert.equal(await page.locator('[data-spatial-splitter]').getAttribute('aria-valuenow'),'30');
+ assert.match(await page.locator('[data-asset-detail]').innerText(),/Recipient/);
+ assert.deepEqual(await page.locator('[data-asset-detail] a').evaluateAll(nodes=>nodes.map(n=>n.getAttribute('href'))),['/StoryAssets/Details/1','/Scenes/Edit/1','/Scenes/Edit/2']);
+ await page.getByRole('button',{name:'Parcel 2 · Present'}).click();
+ const next=structuredClone(frame);next.scope.sceneID=4;await mount(next);
+ assert.equal(await page.locator('[data-asset-detail] h3').first().innerText(),'Parcel 2');
+ assert.match(await page.locator('[data-asset-detail]').innerText(),/Unknown/);
+ await page.locator('[data-spatial-splitter]').focus();await page.keyboard.press('ArrowRight');assert.equal(await page.locator('[data-spatial-splitter]').getAttribute('aria-valuenow'),'32');
+ await page.setViewportSize({width:460,height:850});await page.waitForFunction(()=>document.querySelector('[data-spatial-layout]').dataset.orientation==='vertical');
+ assert.equal(await page.locator('[data-spatial-splitter]').getAttribute('aria-orientation'),'horizontal');
+ const boxes=await page.locator('[data-spatial-layout]').evaluate(n=>[...n.children].map(x=>x.getBoundingClientRect().toJSON()));assert(boxes[2].y>boxes[0].y);assert(boxes.every(b=>b.width>0&&b.height>0));
+ await page.setViewportSize({width:1280,height:850});await page.waitForFunction(()=>document.querySelector('[data-spatial-layout]').dataset.orientation==='horizontal');assert.equal(await page.locator('[data-spatial-splitter]').getAttribute('aria-valuenow'),'32');
+ await mount(frame,1);assert.equal(await page.locator('[data-pane="1"] [data-spatial-splitter]').getAttribute('aria-valuenow'),'30');assert.equal(await page.locator('[data-pane="1"] [data-asset-detail] h3').first().innerText(),'Parcel 1');
+ next.assets=[];await mount(next);assert.match(await page.locator('[data-pane="0"] [data-asset-list]').innerText(),/No assets linked/);
+ console.log('PASS Context Assets source links, selection across scenes, unknown possession, shared splitter keyboard, narrow stacking, pane isolation and empty scene');
+ }finally{await browser.close();}
+})().catch(e=>{console.error(e);process.exitCode=1;});
diff --git a/PlotLine.Tests/ContextAssetsTests.cs b/PlotLine.Tests/ContextAssetsTests.cs
new file mode 100644
index 00000000..1e6a772d
--- /dev/null
+++ b/PlotLine.Tests/ContextAssetsTests.cs
@@ -0,0 +1,39 @@
+using PlotLine.Data;
+using PlotLine.Models;
+using PlotLine.Services.Context;
+internal static class ContextAssetsTests
+{
+ public static void Run()
+ {
+ var scenes = new Scene[] { new(){SceneID=10}, new(){SceneID=20}, new(){SceneID=30}, new(){SceneID=40} };
+ var asset = new StoryAsset { StoryAssetID=1, ProjectID=7, AssetName="Parcel", CurrentLocationName="Future metadata" };
+ var scope = new SpatialScope { ProjectID=7, SceneID=30 };
+ var history = new StoryPointHistory {
+ AssetLocations=[new(){StoryAssetID=1,SceneID=10,LocationPath="Depot"},new(){StoryAssetID=1,SceneID=20,LocationPath="Office"},new(){StoryAssetID=1,SceneID=40,LocationPath="Future"}],
+ Custody=[new(){StoryAssetID=1,SceneID=10,AssetCustodyEventID=1},new(){StoryAssetID=1,SceneID=20,AssetCustodyEventID=2},new(){StoryAssetID=1,SceneID=40,AssetCustodyEventID=3}],
+ Custodians=[new(){AssetCustodyEventID=1,RoleName="Has Custody",CharacterName="First"},new(){AssetCustodyEventID=2,RoleName="Transfers From",CharacterName="First"},new(){AssetCustodyEventID=2,RoleName="Transfers To",CharacterName="Second"},new(){AssetCustodyEventID=2,RoleName="Observes",CharacterName="Witness"},new(){AssetCustodyEventID=3,RoleName="Has Custody",CharacterName="Future"}]
+ };
+ var mention = new AssetEvent {StoryAssetID=1, SceneID=30, AssetEventTypeName="Mentioned", ToStateName="Legacy state"};
+ var row = ContextAssets.Build(scope,scenes,[asset],[mention],history).Assets.Single();
+ Check(row.Presence=="Mentioned" && row.OpeningHolder.Value=="Second" && row.OpeningHolder.SceneID==20,"Handover uses recipient, not sender/observer or future holder");
+ Check(row.OpeningLocation.Value=="Office" && row.OpeningLocation.SceneID==20,"Opening uses historical location, independently of holder and metadata");
+ Check(!row.Changes.Any(c=>c.Contains("Legacy state")),"Mention does not present a state transition");
+ var moveOnly = new StoryPointHistory {AssetLocations=history.AssetLocations, Custody=[history.Custody[0]], Custodians=history.Custodians};
+ row=ContextAssets.Build(scope,scenes,[asset],[mention],moveOnly).Assets.Single();
+ Check(row.OpeningHolder.Value=="First" && row.OpeningHolder.SceneID==10 && row.OpeningLocation.SceneID==20,"Location-only move retains independent holder source");
+ row=ContextAssets.Build(scope,scenes,[asset],[mention],new(){AssetLocations=history.AssetLocations}).Assets.Single();
+ Check(row.OpeningHolder.Value=="Unknown" && row.OpeningHolder.SceneID==null && row.OpeningLocation.Value=="Office","Move with no holder evidence stays unknown");
+ Check(ContextAssets.Holder(new(){AssetCustodyEventID=2,CustodyEventTypeName="Lost By"},history.Custodians)=="Unknown","Explicit loss clears holder despite participants");
+ Check(ContextAssets.Holder(new(){AssetCustodyEventID=99},[])=="Unknown","Explicit empty custody clears holder");
+ Check(ContextAssets.Holder(new(){AssetCustodyEventID=4},[new(){AssetCustodyEventID=4,RoleName="Observes",CharacterName="Witness"}])==null,"Observer is not possession");
+ Check(ContextAssets.Holder(new(){AssetCustodyEventID=4},[new(){AssetCustodyEventID=4,RoleName="Transfers To"}])=="Unknown","Unnamed recipient clears stale known possession");
+ mention.AssetEventTypeName="Present";
+ Check(ContextAssets.Build(scope,scenes,[asset],[mention],history).Assets.Single().Presence=="Present","Explicit presence recorded");
+ mention.AssetEventTypeName="Used";
+ Check(ContextAssets.Build(scope,scenes,[asset],[mention],history).Assets.Single().Presence=="Unrecorded","Legacy action does not imply presence");
+ Check(ContextAssets.Build(scope,scenes,[asset],[],new()).Assets.Count==0,"Unlinked asset omitted");
+ Check(ContextWorkspaceNavigation.IsAllowed("/StoryAssets/Details/1"),"Asset uses permitted main-window navigation");
+ Check(!ContextWorkspaceNavigation.IsAllowed("/StoryAssets/Delete/1"),"No destructive destination added");
+ }
+ private static void Check(bool value,string message){if(!value)throw new Exception(message);}
+}
diff --git a/PlotLine.Tests/Program.cs b/PlotLine.Tests/Program.cs
index 22187c96..c74bf604 100644
--- a/PlotLine.Tests/Program.cs
+++ b/PlotLine.Tests/Program.cs
@@ -15,6 +15,7 @@ using PlotLine.Models;
using PlotLine.Services;
using PlotLine.ViewModels;
+if(args.Contains("--context-assets")){ContextAssetsTests.Run();Console.WriteLine("PASS Context Assets historical custody and location");return;}
if(args.Contains("--context-warnings")){ContextWarningsTests.Run();return;}
if(args.Contains("--context-metrics")){ContextMetricsTests.Run();return;}
if(args.Contains("--scene-creation")){await SceneCreationTests.Run();return;}
@@ -242,6 +243,7 @@ var tests = new (string Name, Action Test)[]
("Context Family/Story projection and bounded reads",()=>ContextRelationshipLensTests.Run().GetAwaiter().GetResult()),
("Context Names Library query parity and bounded identities",()=>ContextNamesTests.Run().GetAwaiter().GetResult()),
("Context relationship state and focused editing",()=>ContextRelationshipTests.Run().GetAwaiter().GetResult()),
+ ("Context Assets historical custody and location",ContextAssetsTests.Run),
("Context warnings recorded evidence and freshness",ContextWarningsTests.Run),
("Context Metrics window and recorded values",ContextMetricsTests.Run),
("Context Threads narrative history and scope",ContextThreadsTests.Run),
diff --git a/PlotLine/Controllers/WritingController.cs b/PlotLine/Controllers/WritingController.cs
index bb910888..8533f480 100644
--- a/PlotLine/Controllers/WritingController.cs
+++ b/PlotLine/Controllers/WritingController.cs
@@ -153,6 +153,24 @@ public sealed class WritingController(
catch (Microsoft.Data.SqlClient.SqlException e) when (e.Number == 51010) { return Forbid(); }
}
+ [HttpGet("Context/Assets")]
+ public async Task ContextAssetsTab(int? projectId, int? bookId, int? chapterId, int? sceneId,
+ Guid? instanceId, Guid? sessionId, [FromServices] PlotLine.Services.Context.ContextAssets assets)
+ {
+ if (!ModelState.IsValid || bookId is not > 0 || sceneId is not > 0 || InvalidNativeSelection(instanceId, sessionId)) return BadRequest();
+ var native = instanceId.HasValue ? await NativeTarget(bookId, instanceId, sessionId) : null;
+ if (instanceId.HasValue && (native == null || native.SceneId != sceneId || chapterId.HasValue && native.ChapterId != chapterId)) return Conflict();
+ try
+ {
+ var frame = await assets.Read(bookId.Value, sceneId.Value);
+ var scope = frame.Scope;
+ if (projectId.HasValue && projectId != scope.ProjectID || chapterId.HasValue && chapterId != scope.ChapterID) return BadRequest();
+ if (instanceId.HasValue && !SameNativeTarget(native, await NativeTarget(bookId, instanceId, sessionId))) return Conflict();
+ return PartialView("_ContextAssets", frame);
+ }
+ catch (Microsoft.Data.SqlClient.SqlException e) when (e.Number == 51010) { return Forbid(); }
+ }
+
[HttpGet("Context/Locations")]
public Task ContextLocations(int? projectId,int? bookId,int? chapterId,int? sceneId,Guid? instanceId,Guid? sessionId,[FromServices] PlotLine.Services.Context.ContextSpatial spatial)
=>RenderSpatial("locations",projectId,bookId,chapterId,sceneId,instanceId,sessionId,spatial);
diff --git a/PlotLine/Program.cs b/PlotLine/Program.cs
index 37b800d3..dd7730c5 100644
--- a/PlotLine/Program.cs
+++ b/PlotLine/Program.cs
@@ -310,6 +310,7 @@ public class Program
builder.Services.AddScoped();
builder.Services.AddScoped();
builder.Services.AddScoped();
+ builder.Services.AddScoped();
builder.Services.AddScoped();
builder.Services.AddScoped();
builder.Services.AddScoped();
diff --git a/PlotLine/Services/Context/ContextAssets.cs b/PlotLine/Services/Context/ContextAssets.cs
new file mode 100644
index 00000000..098f623d
--- /dev/null
+++ b/PlotLine/Services/Context/ContextAssets.cs
@@ -0,0 +1,76 @@
+using PlotLine.Data;
+using PlotLine.Models;
+
+namespace PlotLine.Services.Context;
+
+public sealed record ContextAssetEvidence(string Value, int? SceneID, string? SceneLabel);
+public sealed record ContextAssetRow(StoryAsset Asset, string Presence, ContextAssetEvidence OpeningHolder,
+ ContextAssetEvidence OpeningLocation, IReadOnlyList Changes);
+public sealed record ContextAssetsFrame(SpatialScope Scope, IReadOnlyList Assets);
+
+// A projection of canonical events, never a persisted second continuity model.
+public sealed class ContextAssets(ContextSpatial spatial, ITimelineRepository timeline,
+ IAssetRepository assets, IStoryPointRepository history)
+{
+ public async Task Read(int bookId, int sceneId)
+ {
+ var scope = await spatial.Scope(bookId, sceneId);
+ var order = StoryStateService.OrderScenes(await timeline.GetByProjectAsync(scope.ProjectID, null, false, [], false)).ToArray();
+ var catalog = await assets.ListAssetsAsync(scope.ProjectID);
+ var events = await assets.ListEventsBySceneAsync(sceneId);
+ var point = await history.GetHistoryAsync(scope.ProjectID, sceneId);
+ return Build(scope, order, catalog, events, point);
+ }
+
+ public static bool IsMention(string type) => type is "Mentioned" or "First Mentioned";
+ public static bool IsReferenceOnly(string type) => IsMention(type) || type == "Present";
+ public static ContextAssetsFrame Build(SpatialScope scope, IReadOnlyList order,
+ IReadOnlyList assets, IReadOnlyList events, StoryPointHistory history)
+ {
+ var indexes = order.Select((s, i) => (s.SceneID, i)).ToDictionary(x => x.SceneID, x => x.i);
+ if (!indexes.TryGetValue(scope.SceneID, out var boundary)) throw new ArgumentException("Scene order unavailable.");
+ var labels = order.ToDictionary(s => s.SceneID, s => $"Scene {s.SceneNumber:0.##}: {s.SceneTitle}");
+ bool Before(int scene) => indexes.TryGetValue(scene, out var index) && index < boundary;
+ ContextAssetEvidence Evidence(string? value, int? scene) => new(string.IsNullOrWhiteSpace(value) ? "Unknown" : value,
+ scene, scene.HasValue ? labels.GetValueOrDefault(scene.Value) : null);
+ var linked = events.Where(e => e.SceneID == scope.SceneID).Select(e => e.StoryAssetID)
+ .Concat(history.AssetLocations.Where(e => e.SceneID == scope.SceneID).Select(e => e.StoryAssetID))
+ .Concat(history.Custody.Where(e => e.SceneID == scope.SceneID).Select(e => e.StoryAssetID)).ToHashSet();
+ var rows = new List();
+ foreach (var asset in assets.Where(a => a.ProjectID == scope.ProjectID && !a.IsArchived && linked.Contains(a.StoryAssetID)).OrderByDescending(a => a.Importance).ThenBy(a => a.AssetName))
+ {
+ var current = events.Where(e => e.StoryAssetID == asset.StoryAssetID && e.SceneID == scope.SceneID).OrderBy(e => e.UpdatedDate).ThenBy(e => e.AssetEventID).ToArray();
+ var presence = current.Any(e => e.AssetEventTypeName == "Present") ? "Present"
+ : current.Any(e => IsMention(e.AssetEventTypeName)) ? "Mentioned" : "Unrecorded";
+ var location = history.AssetLocations.Where(e => e.StoryAssetID == asset.StoryAssetID && Before(e.SceneID))
+ .OrderBy(e => indexes[e.SceneID]).ThenBy(e => e.UpdatedDate).ThenBy(e => e.SceneAssetLocationID).LastOrDefault();
+ var holder = Evidence(null, null);
+ foreach (var custody in history.Custody.Where(e => e.StoryAssetID == asset.StoryAssetID && Before(e.SceneID))
+ .OrderBy(e => indexes[e.SceneID]).ThenBy(e => e.UpdatedDate).ThenBy(e => e.AssetCustodyEventID))
+ {
+ var value = Holder(custody, history.Custodians);
+ if (value != null) holder = Evidence(value, custody.SceneID);
+ }
+ var changes = current.Select(e => $"{e.AssetEventTypeName}: {e.EventTitle}" +
+ (string.IsNullOrWhiteSpace(e.EventDescription) ? "" : $" · {e.EventDescription}") +
+ (!IsReferenceOnly(e.AssetEventTypeName) && !string.IsNullOrWhiteSpace(e.ToStateName) ? $" · state: {e.ToStateName}" : "")).ToList();
+ changes.AddRange(history.AssetLocations.Where(e => e.StoryAssetID == asset.StoryAssetID && e.SceneID == scope.SceneID)
+ .OrderBy(e => e.UpdatedDate).ThenBy(e => e.SceneAssetLocationID).Select(e => $"Location recorded: {e.LocationPath ?? e.LocationName ?? "Unknown"}"));
+ changes.AddRange(history.Custody.Where(e => e.StoryAssetID == asset.StoryAssetID && e.SceneID == scope.SceneID)
+ .OrderBy(e => e.UpdatedDate).ThenBy(e => e.AssetCustodyEventID).Select(e => $"{e.CustodyEventTypeName}: " + (Holder(e, history.Custodians) ?? "No possession change recorded")));
+ rows.Add(new(asset, presence, holder, Evidence(location?.LocationPath ?? location?.LocationName, location?.SceneID), changes));
+ }
+ return new(scope, rows);
+ }
+
+ // null means no transition; Unknown means an explicit clearing of possession.
+ public static string? Holder(AssetCustodyEvent custody, IReadOnlyList participants)
+ {
+ var rows = participants.Where(p => p.AssetCustodyEventID == custody.AssetCustodyEventID).ToArray();
+ if (custody.CustodyEventTypeName == "Lost By" || rows.Length == 0) return "Unknown";
+ var holders = rows.Where(p => p.RoleName is "Has Custody" or "Shared Custody" or "Transfers To")
+ .Select(p => string.IsNullOrWhiteSpace(p.CharacterName) ? p.CharacterNameText : p.CharacterName)
+ .Select(n => string.IsNullOrWhiteSpace(n) ? "Unknown" : n).Distinct().ToArray();
+ return holders.Length == 0 ? null : string.Join(", ", holders);
+ }
+}
diff --git a/PlotLine/Services/Context/ContextWorkspaceNavigation.cs b/PlotLine/Services/Context/ContextWorkspaceNavigation.cs
index 582bddec..efe121a3 100644
--- a/PlotLine/Services/Context/ContextWorkspaceNavigation.cs
+++ b/PlotLine/Services/Context/ContextWorkspaceNavigation.cs
@@ -13,6 +13,6 @@ public static partial class ContextWorkspaceNavigation
return MainPage().IsMatch(path);
}
- [GeneratedRegex(@"^/(?:Characters(?:/(?:Details|Edit)/[1-9][0-9]*)?|Locations(?:/(?:Details|Edit)/[1-9][0-9]*)?|Maps|FloorPlans(?:/Edit/[1-9][0-9]*)?|Scenes/Edit/[1-9][0-9]*|Names|RelationshipMap|StoryCalendar|PlotLineWorkspace|PlotThreads/Edit/[1-9][0-9]*|Warnings|Timeline|Writer|Books/Details/[1-9][0-9]*|manuscript/paragraphs)/?$", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant)]
+ [GeneratedRegex(@"^/(?:Characters(?:/(?:Details|Edit)/[1-9][0-9]*)?|StoryAssets/Details/[1-9][0-9]*|Locations(?:/(?:Details|Edit)/[1-9][0-9]*)?|Maps|FloorPlans(?:/Edit/[1-9][0-9]*)?|Scenes/Edit/[1-9][0-9]*|Names|RelationshipMap|StoryCalendar|PlotLineWorkspace|PlotThreads/Edit/[1-9][0-9]*|Warnings|Timeline|Writer|Books/Details/[1-9][0-9]*|manuscript/paragraphs)/?$", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant)]
private static partial Regex MainPage();
}
diff --git a/PlotLine/Sql/342_ContextAssetPresence.sql b/PlotLine/Sql/342_ContextAssetPresence.sql
new file mode 100644
index 00000000..4a40cd9d
--- /dev/null
+++ b/PlotLine/Sql/342_ContextAssetPresence.sql
@@ -0,0 +1,63 @@
+SET ANSI_NULLS ON;
+GO
+SET QUOTED_IDENTIFIER ON;
+GO
+-- Canonical, explicit presence. Never infer it from legacy action/state events.
+IF NOT EXISTS (SELECT 1 FROM dbo.AssetEventTypes WHERE TypeName = N'Present')
+ INSERT dbo.AssetEventTypes (TypeName, MarkerText, SortOrder, IsActive)
+ VALUES (N'Present', N'P', 5, 1);
+GO
+CREATE OR ALTER PROCEDURE dbo.AssetEvent_Save
+ @AssetEventID int = NULL,
+ @StoryAssetID int,
+ @SceneID int,
+ @AssetEventTypeID int,
+ @FromStateID int = NULL,
+ @ToStateID int = NULL,
+ @EventTitle nvarchar(200),
+ @EventDescription nvarchar(max) = NULL
+AS
+BEGIN
+ SET NOCOUNT ON;
+
+ -- Presence/mention records describe a scene link, not a narrative transition.
+ -- Discard stale state controls from every existing event editor.
+ IF EXISTS (SELECT 1 FROM dbo.AssetEventTypes WHERE AssetEventTypeID = @AssetEventTypeID
+ AND TypeName IN (N'Present', N'Mentioned', N'First Mentioned'))
+ BEGIN
+ SET @FromStateID = NULL;
+ SET @ToStateID = NULL;
+ END;
+
+ IF @AssetEventID IS NULL OR @AssetEventID = 0
+ BEGIN
+ INSERT dbo.AssetEvents (StoryAssetID, SceneID, AssetEventTypeID, FromStateID, ToStateID, EventTitle, EventDescription)
+ VALUES (@StoryAssetID, @SceneID, @AssetEventTypeID, @FromStateID, @ToStateID, @EventTitle, @EventDescription);
+ SET @AssetEventID = CAST(SCOPE_IDENTITY() AS int);
+ END
+ ELSE
+ BEGIN
+ UPDATE dbo.AssetEvents
+ SET StoryAssetID = @StoryAssetID,
+ SceneID = @SceneID,
+ AssetEventTypeID = @AssetEventTypeID,
+ FromStateID = @FromStateID,
+ ToStateID = @ToStateID,
+ EventTitle = @EventTitle,
+ EventDescription = @EventDescription,
+ UpdatedDate = SYSUTCDATETIME()
+ WHERE AssetEventID = @AssetEventID;
+ END
+
+ IF @ToStateID IS NOT NULL
+ BEGIN
+ UPDATE dbo.StoryAssets
+ SET CurrentStateID = @ToStateID,
+ IsResolved = CASE WHEN EXISTS (SELECT 1 FROM dbo.AssetStates WHERE AssetStateID = @ToStateID AND IsResolvedState = 1) THEN 1 ELSE IsResolved END,
+ UpdatedDate = SYSUTCDATETIME()
+ WHERE StoryAssetID = @StoryAssetID;
+ END
+
+ SELECT @AssetEventID;
+END;
+GO
diff --git a/PlotLine/Views/Shared/SceneInspectorV2/_SceneAssetsEditor.cshtml b/PlotLine/Views/Shared/SceneInspectorV2/_SceneAssetsEditor.cshtml
index 94683c75..79a97383 100644
--- a/PlotLine/Views/Shared/SceneInspectorV2/_SceneAssetsEditor.cshtml
+++ b/PlotLine/Views/Shared/SceneInspectorV2/_SceneAssetsEditor.cshtml
@@ -75,8 +75,9 @@
-
+
+ Choose Present or Mentioned explicitly. Neither changes narrative state.