137 Commits

Author SHA1 Message Date
e48889ac05 Complete desktop workspaces, context menus and plot health
Commit the pending application, help and browser regression work. Pin the patched PKCS dependency for the production release.
2026-10-31 09:27:04 +00:00
45b6b2b537 Add Plot Lines workspace and subscription enforcement 2026-10-29 15:30:10 +00:00
32e82459bf Add confirmed AJAX location reparenting and relationship modals 2026-09-10 22:25:21 +00:00
a666696a9f Add location and asset merge tools with reference migration 2026-09-09 21:59:07 +00:00
aa74df89e8 Fix character profile age and date-only birth date editing 2026-09-08 22:01:10 +00:00
10d5a657ad Add story point context view 2026-09-07 22:35:03 +00:00
91331b0dd0 Improve story calendar day selection 2026-09-05 22:51:04 +00:00
ce0ec5655c Add story calendar view 2026-09-05 22:09:36 +00:00
cb0beb1a12 Fix Story Intelligence progress and Word marker sync 2026-09-05 20:26:05 +00:00
738c1d118f Sort locations as hierarchy 2026-09-02 20:33:58 +00:00
bb62762b78 Add preferred name alias semantics 2026-08-31 15:30:09 +00:00
5a7b8c79c7 Fix independent review centre state 2026-08-30 19:50:15 +00:00
0ec0167746 Remove obsolete Story Intelligence scene review workflow 2026-08-29 09:33:14 +00:00
a6ca129f4d Simplify active story intelligence navigation 2026-08-28 20:30:50 +00:00
6d2340ae46 Add story intelligence review centre 2026-08-28 16:10:42 +00:00
108df3db3e Add canonical story intelligence scene context 2026-08-28 13:18:19 +00:00
58075232e7 Fix structural POV resolution lifecycle 2026-08-28 12:41:44 +00:00
caa70be9f4 Add POV and character identity foundation 2026-08-28 11:29:49 +00:00
ea41ec3aac Add deterministic manuscript text statistics 2026-08-27 19:03:54 +00:00
dabf63d91d Simplify import wizard and add book context 2026-08-27 16:02:47 +00:00
3b2b25eeab Fix admin reset and project hard delete 2026-08-24 21:19:59 +00:00
a90b98f8f0 Improve post-import review defaults 2026-08-24 20:29:28 +00:00
9f0fdbc366 Establish canonical story position context 2026-08-17 14:17:19 +00:00
b214fbad4e Phase 20AV – Fix Archived Book and Project Permanent Deletion 2026-07-11 15:28:21 +00:00
Nick Beckley
438478c7fe Phase 20AJ – Story Intelligence Pipeline Completion and Resume Support 2026-07-08 21:31:40 +01:00
Nick Beckley
7a48a91f21 Phase 20AH – Complete Chapter Intelligence & Begin Character Import 2026-07-08 21:03:10 +01:00
Nick Beckley
11841f5674 Phase 20Z – Stop the Bleeding: Make Story Intelligence Commit Actually Work 2026-07-05 21:51:17 +01:00
Nick Beckley
b8541dbbc0 Phase 20H Implement the Story Intelligence framework. 2026-07-04 12:59:22 +01:00
Nick Beckley
c8dc116862 Phase 20A Story Intelligence Onboarding. 2026-07-03 21:04:06 +01:00
Nick Beckley
d334661178 Phase 17Z - Legacy Retirement and Cleanup 2026-06-30 19:32:13 +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
4ae45ab8f9 PlotDirector Phase 17B - Scene Core Focused Editors 2026-06-30 09:44:47 +01:00
Nick Beckley
7356a1c6b1 Phase 16Q - Manuscript Unlink and Recovery Tools 2026-06-29 14:08:56 +01:00
Nick Beckley
524515e9b6 Phase 16O - Review and Accept Word Companion Location Suggestions 2026-06-29 13:37:50 +01:00
Nick Beckley
1f6a88a175 Phase 16M - Location Detection Foundation and Alias Improvements 2026-06-28 22:15:29 +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
ced6f4cd0e Phase 16B - Manuscript Binding and Linked Structure Foundation 2026-06-27 19:14:01 +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
43578df18a Fixed The Relationship Map was rendering the avatar placeholder correctly, but the data feeding the map did not include avatar image paths because RelationshipMap_GetByProject only returns basic character fields.
I updated [CoreServices.cs](C:/Source/PlotLine/PlotLine/Services/CoreServices.cs) so RelationshipMapService enriches map nodes from the normal character list, which already includes AvatarImagePath / AvatarThumbnailPath. Maggie Grant’s node detail should now use her avatar image instead of falling back to MG.
Verification: separate-output build passed with 0 warnings and 0 errors.
No database changes were required.
2026-06-23 21:05:45 +01:00
Nick Beckley
b5b353e80c Implemented the targeted Timeline performance pass and applied the SQL locally. 2026-06-23 20:38:58 +01:00
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
350b8ba9ab Implemented the focused Floor Plans performance pass.
Measured findings:
Authenticated Calendar House editor load measured around 600 ms locally.
SQL calls were generally around 50-65 ms after warm-up.
The main recent bloat was the Help UI wiring: the editor had 615 help icons and about 1.5 MB of HTML.
Optimisations made:
Reduced repeated hidden help icons in [Edit.cshtml (line 409)](C:/Source/PlotLine/PlotLine/Views/FloorPlans/Edit.cshtml:409), especially per-block editors and repeated transition edit modals.
Help icons now measure at 107, with HTML reduced to about 1.26 MB.
Optimised occupancy warning calculation in [CoreServices.cs (line 7883)](C:/Source/PlotLine/PlotLine/Services/CoreServices.cs:7883) by grouping occupancy rows once instead of repeatedly scanning them per scene.
Added new index migration [083_FloorPlanEditorOccupancyIndexes.sql](C:/Source/PlotLine/PlotLine/Sql/083_FloorPlanEditorOccupancyIndexes.sql) for Floor Plan scene/occupancy lookups. Applied locally.
Verified:
Structure/Occupancy mode still works.
Previous/Next scene changes the selected scene.
Tokens and transitions still render.
Help icons still resolve to articles.
dotnet build PlotLine.slnx passes with 0 warnings and 0 errors.
No Floor Plans behaviour, transition logic, occupancy data model, or feature architecture changes.
2026-06-22 16:58:20 +01:00
Nick Beckley
f4a455f70b Implemented the Floor Plans Occupancy scene dropdown fix.
Changed:
[CoreModels.cs (line 308)](C:/Source/PlotLine/PlotLine/Models/CoreModels.cs:308) now maps book/chapter metadata onto Scene for ordering/labels.
[CoreServices.cs (line 7818)](C:/Source/PlotLine/PlotLine/Services/CoreServices.cs:7818) now orders occupancy scenes by book, chapter, scene, title and labels them like:
Book 1, Chapter 1.00, Scene 1.00: Arrival at the House
Added and applied [082_FloorPlanOccupancySceneOrdering.sql](C:/Source/PlotLine/PlotLine/Sql/082_FloorPlanOccupancySceneOrdering.sql) to update Scene_ListByFloorPlan.
Verified:
Database query for The Calendar House now returns Chapter 1 scenes in order, then Chapter 2 scenes, etc.
dotnet build PlotLine.slnx passes with 0 warnings and 0 errors.
No schema changes, no occupancy model changes, no floor plan rendering changes, and no transition changes. Previous/Next should follow the corrected order because it uses the same ordered scene list in the dropdown.
2026-06-22 13:24:46 +01:00
Nick Beckley
13c97db5a0 Implemented the urgent stability/performance pass.
What I fixed:
Removed the warning-calculation N+1 queries. Occupancy warnings now use one floor-plan participant query instead of per-scene character/asset lookups.
Added SceneFloorPlanParticipant_ListByFloorPlan to the existing migration script with SET ANSI_NULLS ON and SET QUOTED_IDENTIFIER ON.
Reapplied the migration locally.
Confirmed FloorPlanBlock_Save, FloorPlan_GetEditor, and the new participant proc have quoted identifiers enabled.
Reduced drag/resize freeze risk by throttling expensive geometry recalculation to animation frames instead of every pointer event.
Added a final geometry refresh on pointer-up/cancel before autosave.
Improved autosave failure visibility by showing the real error in the editor, not just leaving status stuck.
Made Occupancy mode view/staging only:Blocks no longer start drag/resize in Occupancy mode.
Resize handles are hidden.
Structural toolbox is hidden.
Plan canvas expands to use the freed width.
Structure mode restores normal editing.

Verification:
dotnet build PlotLine.slnx passes with 0 warnings and 0 errors.
Non-destructive SQL smoke test of FloorPlanBlock_Save against the Lounge block passed inside a transaction and rolled back.
Confirmed the Lounge block stayed unchanged after the rollback.
Reapplied 081_FloorPlanFloorDescriptionAndOccupancyWarnings.sql successfully.
Files changed:
[Repositories.cs](C:/Source/PlotLine/PlotLine/Data/Repositories.cs)
[CoreModels.cs](C:/Source/PlotLine/PlotLine/Models/CoreModels.cs)
[CoreServices.cs](C:/Source/PlotLine/PlotLine/Services/CoreServices.cs)
[081 SQL migration](C:/Source/PlotLine/PlotLine/Sql/081_FloorPlanFloorDescriptionAndOccupancyWarnings.sql)
[Edit.cshtml](C:/Source/PlotLine/PlotLine/Views/FloorPlans/Edit.cshtml)
[site.css](C:/Source/PlotLine/PlotLine/wwwroot/css/site.css)
[site.min.css](C:/Source/PlotLine/PlotLine/wwwroot/css/site.min.css)
Manual browser QA still needed for the exact drag/add/reload flow, but the code path and SQL save path are now stabilized.
2026-06-22 12:06:53 +01:00