29 Commits

Author SHA1 Message Date
Nick Beckley
d334661178 Phase 17Z - Legacy Retirement and Cleanup 2026-06-30 19:32:13 +01:00
Nick Beckley
0020ad37d7 PlotDirector Phase 17L - Word Companion Suggestions Migration 2026-06-30 17:14:17 +01:00
Nick Beckley
c54da61524 PlotDirector Phase 17K - Character Attributes Editor Migration 2026-06-30 16:04:14 +01:00
Nick Beckley
2af1feb412 PlotDirector Phase 17I - Relationship Editor Migration 2026-06-30 15:27:55 +01:00
Nick Beckley
36a4c76921 PlotDirector Phase 17H - Character Knowledge Editor Migration 2026-06-30 15:16:13 +01:00
Nick Beckley
0adca386d9 PlotDirector Phase 17G - Story Structure Editor Migration 2026-06-30 15:02:35 +01:00
Nick Beckley
7243538b2b PlotDirector Phase 17F - Attachments Editor Migration 2026-06-30 14:37:57 +01:00
Nick Beckley
0d72dc64d0 PlotDirector Phase 17E - Writer Tools Editor Migration 2026-06-30 14:10:31 +01:00
Nick Beckley
be1c508df4 PlotDirector Phase 17D - World Editor Migration 2026-06-30 13:52:32 +01:00
Nick Beckley
fb5b7b6fd9 PlotDirector Phase 17C - People Editor Migration 2026-06-30 13:27:23 +01:00
Nick Beckley
4ae45ab8f9 PlotDirector Phase 17B - Scene Core Focused Editors 2026-06-30 09:44:47 +01:00
Nick Beckley
524515e9b6 Phase 16O - Review and Accept Word Companion Location Suggestions 2026-06-29 13:37:50 +01:00
Nick Beckley
c8ae73a954 Phase 16L - Review and Accept Word Companion Asset Suggestions 2026-06-28 21:58:54 +01:00
Nick Beckley
429cd5beb5 Phase 16I - Review and Accept Word Companion Character Suggestions 2026-06-28 20:54:07 +01:00
Nick Beckley
3c48301732 Phase 16A - Base Identity Model Cleanup and Chapter/Scene Foundation 2026-06-27 18:59:31 +01:00
Nick Beckley
cea82a922f Implemented Phase 1 Scene Occupancy.
What Changed
Added scene-owned occupancy data:Scenes.FloorPlanID
Scenes.InitialFloorPlanFloorID
new SceneFloorPlanOccupancy table

Added Occupancy section to the Scene Inspector with AJAX save/refresh.
Added Floor Plan editor Structure / Occupancy mode.
Occupancy mode shows linked scenes, previous/next scene controls, and character/asset tokens inside assigned locations.
Character tokens use image thumbnail, then initials fallback. Asset tokens do the same, smaller.
No Features, no new floor-plan architecture, no transition changes.
Files Changed
[CoreModels.cs](C:/Source/PlotLine/PlotLine/Models/CoreModels.cs)
[CoreViewModels.cs](C:/Source/PlotLine/PlotLine/ViewModels/CoreViewModels.cs)
[Repositories.cs](C:/Source/PlotLine/PlotLine/Data/Repositories.cs)
[CoreServices.cs](C:/Source/PlotLine/PlotLine/Services/CoreServices.cs)
[ScenesController.cs](C:/Source/PlotLine/PlotLine/Controllers/ScenesController.cs)
[Program.cs](C:/Source/PlotLine/PlotLine/Program.cs)
[Edit.cshtml](C:/Source/PlotLine/PlotLine/Views/FloorPlans/Edit.cshtml)
[_SceneInspector.cshtml](C:/Source/PlotLine/PlotLine/Views/Scenes/_SceneInspector.cshtml)
[_SceneOccupancy.cshtml](C:/Source/PlotLine/PlotLine/Views/Scenes/_SceneOccupancy.cshtml)
[site.js](C:/Source/PlotLine/PlotLine/wwwroot/js/site.js)
[site.css](C:/Source/PlotLine/PlotLine/wwwroot/css/site.css)
minified CSS/JS updated.
Database
Added new migration only: [080_SceneFloorPlanOccupancy.sql](C:/Source/PlotLine/PlotLine/Sql/080_SceneFloorPlanOccupancy.sql)
Applied locally.
Added constraints/FKs and filtered unique indexes for one character/asset occupancy row per scene.
Stored Procedures Added/Updated
Scene_Save
Scene_Get
Scene_FloorPlanLink_Save
Scene_ListByFloorPlan
FloorPlanFloor_ListByPlan
FloorPlanBlock_ListByPlan
SceneFloorPlanOccupancy_ListByScene
SceneFloorPlanOccupancy_ListByFloorPlan
SceneFloorPlanOccupancy_Save
Test Data
Permanent Calendar House seed data added:
Book: The Calendar House
Chapters 1-3
14 scenes
Characters: Ellie, Grant, Stephen, Housekeeper, Gardener
Assets: Brass Key, Journal, Candle, Map, Letter
45 occupancy assignments
Verification
dotnet build PlotLine.slnx passes with 0 warnings/errors.
Migration applied locally.
Local app boots and returns HTTP 200.
DB checks confirm 14 linked scenes and 45 occupancy rows.
Manual browser click-through of the authenticated UI still needs a human pass for the AJAX controls and visual token placement.
2026-06-22 10:45:30 +01:00
Nick Beckley
7363d0c128 Scene inspector character attribute fix 2026-06-19 14:08:46 +01:00
Nick Beckley
59c5630950 Review all Save, Add, Update and Delete actions used by the Scene Inspector. 2026-06-18 21:16:49 +01:00
Nick Beckley
2b145731e3 Implement backend support for storing user uploads outside wwwroot/uploads 2026-06-15 19:14:09 +01:00
Nick Beckley
ba5960f907 Phase 6C Plot Line maintenance. 2026-06-11 20:00:18 +01:00
Nick Beckley
5f15c19a20 Scene inspector rearrange and fix. 2026-06-08 21:50:18 +01:00
Nick Beckley
1c19edda5c Phase 5F – Storage Management and Quota Enforcement 2026-06-07 11:49:50 +01:00
Nick Beckley
b94ca66918 Phase 5C Subscription Limit Usage 2026-06-07 10:25:03 +01:00
Nick Beckley
621d138571 Phase 4G AuthService Secure Controllers 2026-06-06 20:36:54 +01:00
Nick Beckley
04a41e81b0 Phase 1T 2026-06-01 15:42:44 +01:00
Nick Beckley
624ec9a394 Phase 1Q 2026-06-01 14:05:39 +01:00
Nick Beckley
8f56934dd8 Phase 1P 2026-06-01 12:25:47 +01:00
Nick Beckley
39c72c3b38 Phase 1M 2026-06-01 09:55:34 +01:00
Nick Beckley
6e237b7287 Add project files. 2026-06-01 09:03:59 +01:00