74 Commits

Author SHA1 Message Date
Nick Beckley
d255407193 Implemented the Phase 14A follow-up fixes. 2026-06-23 19:47:30 +01:00
Nick Beckley
b460b38583 Implement character relationship and identity improvements 2026-06-22 21:39:45 +01:00
Nick Beckley
28cab2adf4 Implemented Phase 14A: Character Galleries & Avatar Cropping. 2026-06-22 21:23:33 +01:00
Nick Beckley
54fdc034ea Implemented the Projects listing redesign. 2026-06-22 20:58:20 +01:00
Nick Beckley
7ad993aae3 Implemented the cleanup/refinement pass.
What changed:
Removed the standalone floor-plan details panel under the page title.
Added current-floor Description and editable Root Location into the Floors toolbox tab.
Added live computed Occupancy Warnings in Occupancy mode.
Preserved the existing AJAX workspace flow, including active floor/toolbox tab/mode/selected occupancy scene through refreshes.
Added floor description support via a new migration:
[081_FloorPlanFloorDescriptionAndOccupancyWarnings.sql](C:/Source/PlotLine/PlotLine/Sql/081_FloorPlanFloorDescriptionAndOccupancyWarnings.sql)
Database changes:
Added nullable FloorPlanFloors.Description.
Updated active stored procedures:FloorPlan_GetEditor
FloorPlanFloor_Get
FloorPlanFloor_ListByPlan
FloorPlanFloor_Save

Warnings are not persisted. No warning tables were added.
Files changed include:
[Edit.cshtml](C:/Source/PlotLine/PlotLine/Views/FloorPlans/Edit.cshtml)
[CoreServices.cs](C:/Source/PlotLine/PlotLine/Services/CoreServices.cs)
[Repositories.cs](C:/Source/PlotLine/PlotLine/Data/Repositories.cs)
[CoreModels.cs](C:/Source/PlotLine/PlotLine/Models/CoreModels.cs)
[CoreViewModels.cs](C:/Source/PlotLine/PlotLine/ViewModels/CoreViewModels.cs)
[site.css](C:/Source/PlotLine/PlotLine/wwwroot/css/site.css)
[site.min.css](C:/Source/PlotLine/PlotLine/wwwroot/css/site.min.css)
Verification:
Applied the new migration locally.
Confirmed FloorPlanFloors.Description exists.
Confirmed scene/occupancy source data exists for The Calendar House.
dotnet build PlotLine.slnx passes with 0 warnings and 0 errors.
Manual QA still needed in the browser: edit floor description/root location, switch Structure/Occupancy mode, step scenes, and confirm warnings/tokens update visually without jumps.
2026-06-22 11:56:01 +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
34a8d94cb4 Implemented the Visual Identity infrastructure pass.
Changed
Added image fields for Characters and Story Assets in models, view models, repositories, services, and save flows.
Added reusable avatar/initials rendering via [AvatarHelper.cs](C:/Source/PlotLine/PlotLine/Services/AvatarHelper.cs) and [_Avatar.cshtml](C:/Source/PlotLine/PlotLine/Views/Shared/_Avatar.cshtml).
Added upload/remove processing through existing upload storage in [VisualIdentityImageService.cs](C:/Source/PlotLine/PlotLine/Services/VisualIdentityImageService.cs).
Updated Character and Story Asset list/detail/edit views with thumbnails, initials fallback, upload, replace, and remove controls.
Added styling in [site.css](C:/Source/PlotLine/PlotLine/wwwroot/css/site.css) and refreshed site.min.css.
Database
Added new migration [079_VisualIdentityCharacterAssetImages.sql](C:/Source/PlotLine/PlotLine/Sql/079_VisualIdentityCharacterAssetImages.sql).
Adds nullable ImagePath and ThumbnailPath to Characters and StoryAssets.
Applied locally and confirmed the columns exist.
Stored Procedures
Updated active procedure definitions only:
Character_ListByProject
Character_Get
Character_Save
Character_UpdateImage
StoryAsset_ListByProject
StoryAsset_Get
StoryAsset_Save
StoryAsset_UpdateImage
2026-06-22 10:10:39 +01:00
Nick Beckley
f57913014c Implemented the next Floor Plans enhancement pass. 2026-06-21 21:18:14 +01:00
Nick Beckley
9fc4374df3 Implemented the floor-level ordering pass using the existing integer SortOrder as the user-facing Level. 2026-06-21 20:49:17 +01:00
Nick Beckley
91c5407ff9 Implemented the focused refinement gaps I found. 2026-06-21 10:10:29 +01:00
Nick Beckley
18858f3fba Implemented the Floor Plans multi-block room and transition phase. 2026-06-20 21:41:40 +01:00
Nick Beckley
e455018d73 Implemented the Floor Plans background-image phase. 2026-06-20 21:06:53 +01:00
Nick Beckley
030a4a10da Implemented the Floor Plans UX/data-model refinement pass. 2026-06-20 20:13:23 +01:00
Nick Beckley
601afa8806 Implemented the first-pass Location Floor Plans foundation. 2026-06-20 18:44:58 +01:00
Nick Beckley
e5ed45897a Implemented the Timeline C3 refinement. 2026-06-20 16:36:18 +01:00
Nick Beckley
5ece8d9451 Phase C1: Plot Thread Readability & Warning Clarity 2026-06-19 21:22:55 +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
d4c886ce2f Review the PlotDirector subscription, pricing, signup and account-management areas and implement a complete trial-visibility pass. 2026-06-18 20:54:18 +01:00
Nick Beckley
22ba3b3b9a Implemented the dashboard refinements without database or stored procedure changes. 2026-06-15 16:29:12 +01:00
Nick Beckley
d872289e6f Phase 13D: Series Dashboard Activity and Attention Widgets. 2026-06-15 15:45:04 +01:00
Nick Beckley
90d1bb48d6 Phase 13C: Project Dashboard Redesign. 2026-06-15 15:23:35 +01:00
Nick Beckley
8a4b016526 Phase 13B: Book Cover Upload and Processing. 2026-06-15 15:17:31 +01:00
Nick Beckley
4e71010814 Phase 13A: Book Metadata Backend. 2026-06-15 14:53:19 +01:00
Nick Beckley
1783ab88ee Phase 12K: Warning UI Refinement. 2026-06-15 10:08:29 +01:00
Nick Beckley
ecc8d3c76a Phase 12J: Warning Investigation Workflow Improvements. 2026-06-15 09:37:54 +01:00
Nick Beckley
6a2aeeea90 Phase 12I: Knowledge Regression Warnings. 2026-06-15 09:27:31 +01:00
Nick Beckley
f401416fbd Phase 12H: Move Continuity Warnings into the Main Warnings Page. 2026-06-14 21:14:22 +01:00
Nick Beckley
e008da0cf4 Phase 12G: Knowledge Continuity Warnings. 2026-06-14 20:45:36 +01:00
Nick Beckley
738b9f496d Phase 12F: Continuity Warning Management. 2026-06-14 20:34:29 +01:00
Nick Beckley
7c7815642a Phase 12E: Continuity Warnings Engine (Informational). 2026-06-14 20:04:48 +01:00
Nick Beckley
9cc20ea266 Phase 12D: Continuity Explorer Scene Navigation Integration. 2026-06-14 19:56:33 +01:00
Nick Beckley
c7e02870cf Phase 12C: Inferred Location Activity for Continuity Explorer. 2026-06-14 19:47:15 +01:00
Nick Beckley
dc4324f970 Phase 12B.2: Continuity Explorer Result Context Improvements. 2026-06-14 19:37:26 +01:00
Nick Beckley
e7aabe8b41 Phase 12B: Continuity Explorer Page. 2026-06-14 19:24:59 +01:00
Nick Beckley
eafa9927c7 Phase 12A: Story State Engine and Scene Inspector Integration for the new Continuity Explorer feature. 2026-06-14 18:50:58 +01:00
Nick Beckley
5f6ea92938 Phase 11B PlotDirector Character Age and Story Date Management feature. 2026-06-14 18:30:50 +01:00
Nick Beckley
b5decb0dc6 Phase 11A PlotDirector Character Age and Story Date Management feature. 2026-06-14 17:50:00 +01:00
Nick Beckley
ac07a52e27 Phase 9H: per-day writing session lengths. 2026-06-13 12:43:19 +01:00
Nick Beckley
8f006874ac Phase 9G: Writing Plan Management 2026-06-12 22:46:18 +01:00
Nick Beckley
04dc07e5f5 Phase 9F: Writing Schedule Rebalancing. 2026-06-12 22:15:25 +01:00
Nick Beckley
e83425eaac Phase 9E: Daily Writing Dashboard. 2026-06-12 22:00:10 +01:00
Nick Beckley
218cc87327 Phase 9D: Writing Schedule Setup Wizard 2026-06-12 21:41:05 +01:00
Nick Beckley
a56b900863 Phase 9C.5 Schedule Preview. 2026-06-12 21:25:39 +01:00
Nick Beckley
e66b43064a Phase 9B is implemented: database foundation only, no schedule generation or UI. 2026-06-12 21:03:22 +01:00
Nick Beckley
b2cfcd08fa Phase 9A cleanup 2026-06-12 20:43:19 +01:00
Nick Beckley
ba5960f907 Phase 6C Plot Line maintenance. 2026-06-11 20:00:18 +01:00
Nick Beckley
023ca1404e Phase 6B Plot Line Forms 2026-06-11 19:46:03 +01:00
Nick Beckley
fb5352ab8f Phase 6A Plot Lines 2026-06-11 19:41:03 +01:00
Nick Beckley
77d5623e51 Writer Workspace changes. 2026-06-09 21:06:45 +01:00
Nick Beckley
c130879b27 Implemented the requested revision to Timeline metric curve editing. 2026-06-09 19:36:28 +01:00