From 8d6399358e43faade20e830d211616025a9d9378 Mon Sep 17 00:00:00 2001 From: Nick Beckley Date: Sat, 13 Jun 2026 20:38:31 +0100 Subject: [PATCH] Phase 10G: Word Companion UX Consolidation --- PlotLine/Views/WordCompanionHost/Index.cshtml | 197 ++++++++---------- PlotLine/wwwroot/css/word-companion.css | 83 +++++++- PlotLine/wwwroot/js/word-companion-host.js | 114 +++++++--- 3 files changed, 247 insertions(+), 147 deletions(-) diff --git a/PlotLine/Views/WordCompanionHost/Index.cshtml b/PlotLine/Views/WordCompanionHost/Index.cshtml index 21dd790..62b0ec3 100644 --- a/PlotLine/Views/WordCompanionHost/Index.cshtml +++ b/PlotLine/Views/WordCompanionHost/Index.cshtml @@ -1,7 +1,7 @@ @model PlotLine.ViewModels.WordCompanionHostViewModel @{ Layout = null; - var statusText = Model.IsAuthenticated ? "Connected to PlotDirector" : "Please sign in to PlotDirector"; + var statusText = Model.IsAuthenticated ? "Connected" : "Not signed in"; } @@ -15,8 +15,7 @@
-

PlotDirector

-

Companion

+

PlotDirector Companion

@statusText

@if (Model.IsAuthenticated) { @@ -44,17 +43,17 @@

-
- Current Scene - (Not connected) -
- -
+
- Document Structure - + Current Scene
-
+
+ + +
+

+

No resolved PlotDirector scene.

+
Current Chapter Not detected @@ -64,24 +63,80 @@ Not detected
- Current Scene Word Count + Link Status + Not detected +
+
+ Word Count in Word -
+
+ PlotDirector Actual Words + - +
+
+ Estimated Words + - +
+
+ Revision Status + - +
+
+ Blocked Status + - +
+ +
+
+
+ Last Synced + - +
+
+ Sync Count + - +
-

-
-

No structure scanned.

+
+ + + + -
-
- PlotDirector Scene - +
+ Document Outline +
+

No structure scanned.

+
+
+ +
+ Diagnostics +
+ Diagnostics +
- Scene Status -

Select a PlotDirector book.

Selected Project ID @@ -127,83 +182,6 @@ Scene ID -
-
- -
-
- Progress Sync - -
-
-
- Word Document Count - - -
-
- PlotDirector Count - - -
-
- Last Synced - - -
-
- Sync Status - No resolved PlotDirector scene. -
-
-
- - -
- -
-
- Diagnostics - -
-
Office Host Unknown @@ -224,6 +202,10 @@ Last Scan Result Not run
+
+ Last Error + - +
Paragraphs Found - @@ -237,22 +219,7 @@ -
-
- -
-
- Connection Status - @statusText -
-
- Current Project - (Not connected) -
-
- Current Book - (Not connected) -
-
+