diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Both-open.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Both-open.png new file mode 100644 index 00000000..35295ac7 Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Both-open.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Help-only.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Help-only.png new file mode 100644 index 00000000..1b338ccb Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Help-only.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Investigation-only.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Investigation-only.png new file mode 100644 index 00000000..5a31986b Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Investigation-only.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/My-investigations.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/My-investigations.png new file mode 100644 index 00000000..d9eb4b53 Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/My-investigations.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Narrow-both.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Narrow-both.png new file mode 100644 index 00000000..63545c21 Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Narrow-both.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Older-investigation.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Older-investigation.png new file mode 100644 index 00000000..8f40afee Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Older-investigation.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Timeline.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Timeline.png new file mode 100644 index 00000000..8681945c Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Timeline.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Writer-review.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Writer-review.png new file mode 100644 index 00000000..9fe92101 Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/After/Writer-review.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Before/Both-open.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Before/Both-open.png new file mode 100644 index 00000000..fe6b004c Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Before/Both-open.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Before/Help-collapsed.png b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Before/Help-collapsed.png new file mode 100644 index 00000000..0a56027a Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Before/Help-collapsed.png differ diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Qualification.json b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Qualification.json new file mode 100644 index 00000000..31d39169 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Qualification.json @@ -0,0 +1,65 @@ +{ + "schemaVersion": 1, + "applicationCommit": "d7e8a9c5dda914cf85d5d94652d2137da742ac05", + "branch": "codex/word-companion-native-phase1-20261104", + "environment": "Development", + "release": "d7e8a9c-20261118T114501Z", + "deployedDllSha256": "65f6899c7f6d883a55e1b99ad3066bb7b5d798d55a43af705b772a85a7e4b2b4", + "build": { + "warnings": 0, + "errors": 0 + }, + "regressionChecksPassed": 623, + "browser": { + "authenticatedDevelopment": true, + "statePairs": 9, + "pinCombinations": 4, + "viewports": [ + [ + 1440, + 1000 + ], + [ + 800, + 1000 + ] + ], + "screenshotsInspected": true, + "duplicateSubmissionPosts": 1, + "existingReviewSuite": "passed", + "existingReaderSuite": "passed", + "installedPwaTested": false, + "physicalWindowsWordTested": false + }, + "sql": { + "forwardScripts": [ + 278, + 279 + ], + "savedMetadataRegression": "passed", + "existingGuidanceRegression": "passed", + "backupVerified": true + }, + "preservation": { + "aggregateChecksUnchanged": 11, + "disposableAccountsRemaining": 0, + "disposableInvestigationsRemaining": 0, + "disposableEventsRemaining": 0, + "disposableGuidanceRemaining": 0, + "disposableReviewObservationsRemaining": 0, + "diagnosticModelChanged": false, + "productionChanged": false + }, + "timings": { + "before": "Timings-Before.json", + "after": "Timings-After.json", + "companionWarm": "Timings-Companion-Warm.json", + "wholePageSpeedupDemonstrated": false, + "reportedMultiSecondDelayReproduced": false + }, + "limitations": [ + "Small disposable book; large-book latency not established.", + "Saved list bounded to latest 50.", + "Installed PWA and physical Windows/Word unavailable." + ] +} diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Timings-After.json b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Timings-After.json new file mode 100644 index 00000000..d5287deb --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Timings-After.json @@ -0,0 +1,243 @@ +[ + { + "ackMs": 13 + }, + { + "documentMs": 385, + "restoredMs": 411, + "network": [ + { + "url": "/Writer/Explore/Investigate/Open", + "status": 302, + "timing": { + "startTime": 1795002408948.4082, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.361, + "responseStart": 53.305, + "responseEnd": 54.54200005624443 + }, + "serverTiming": "guidance-read;dur=4.54\ncatalogue-authorization;dur=0.17\neligibility-registry;dur=1.53\nguidance-save;dur=6.14" + }, + { + "url": "/PlotLineWorkspace", + "status": 200, + "timing": { + "startTime": 1795002409002.87, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.325, + "responseStart": 203.688, + "responseEnd": 205.808 + } + }, + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1795002409278.917, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.324, + "responseStart": 10.088, + "responseEnd": 11.442 + } + } + ] + }, + { + "ackMs": 5.599999904632568 + }, + { + "documentMs": 230, + "restoredMs": 258, + "network": [ + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1795002409444.9238, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.343, + "responseStart": 9.454, + "responseEnd": 10.619 + } + }, + { + "url": "/Writer/Explore/Investigate/Open", + "status": 302, + "timing": { + "startTime": 1795002409515.644, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.413, + "responseStart": 19.678, + "responseEnd": 20.997999934479594 + }, + "serverTiming": "guidance-read;dur=2.71\ncatalogue-authorization;dur=0.15\neligibility-registry;dur=0.19\nguidance-save;dur=4.93" + }, + { + "url": "/PlotLineWorkspace", + "status": 200, + "timing": { + "startTime": 1795002409536.419, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.204, + "responseStart": 59.569, + "responseEnd": 62.233 + } + }, + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1795002409669.2878, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.389, + "responseStart": 11.777, + "responseEnd": 12.924 + } + } + ] + }, + { + "ackMs": 12.099999904632568 + }, + { + "documentMs": 254, + "restoredMs": 279, + "network": [ + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1795002409832.584, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.358, + "responseStart": 9.576, + "responseEnd": 11.032 + } + }, + { + "url": "/Writer/Explore/Investigate/Open", + "status": 302, + "timing": { + "startTime": 1795002409916.873, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.458, + "responseStart": 16.519, + "responseEnd": 17.8709999890998 + }, + "serverTiming": "guidance-read;dur=2.42\ncatalogue-authorization;dur=0.12\neligibility-registry;dur=0.13\nguidance-save;dur=4.52" + }, + { + "url": "/PlotLineWorkspace", + "status": 200, + "timing": { + "startTime": 1795002409934.564, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.351, + "responseStart": 69.984, + "responseEnd": 72.217 + } + }, + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1795002410080.319, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.364, + "responseStart": 10.03, + "responseEnd": 11.265 + } + } + ] + }, + { + "ackMs": 3.899999976158142 + }, + { + "ackMs": 3.700000047683716 + }, + { + "ackMs": 14.799999952316284 + }, + { + "entryPoint": "companion", + "documentMs": 858, + "network": [ + { + "url": "/InvestigationCompanion/Open", + "status": 302, + "timing": { + "startTime": 1795002413955.3052, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.321, + "responseStart": 33.569, + "responseEnd": 35.180000006221235 + }, + "serverTiming": "guidance-load;dur=3.90\neligibility-registry;dur=0.26\nguidance-save;dur=4.42" + }, + { + "url": "/Timeline", + "status": 200, + "timing": { + "startTime": 1795002413990.291, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.351, + "responseStart": 648.828, + "responseEnd": 652.719 + } + } + ] + } +] \ No newline at end of file diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Timings-Before.json b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Timings-Before.json new file mode 100644 index 00000000..6801503b --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Timings-Before.json @@ -0,0 +1,200 @@ +[ + { + "documentMs": 383, + "restoredMs": 413, + "network": [ + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1794999685495.7148, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.318, + "responseStart": 9.474, + "responseEnd": 10.85 + } + }, + { + "url": "/Writer/Explore/Investigate/Open", + "status": 302, + "timing": { + "startTime": 1794999685590.3699, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.389, + "responseStart": 26.981, + "responseEnd": 28.601999976672232 + } + }, + { + "url": "/PlotLineWorkspace", + "status": 200, + "timing": { + "startTime": 1794999685618.5151, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.335, + "responseStart": 140.028, + "responseEnd": 142.152 + } + }, + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1794999685874.5598, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.235, + "responseStart": 7.954, + "responseEnd": 8.804 + } + } + ] + }, + { + "documentMs": 232, + "restoredMs": 256, + "network": [ + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1794999686028, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.301, + "responseStart": 9.127, + "responseEnd": 10.303 + } + }, + { + "url": "/Writer/Explore/Investigate/Open", + "status": 302, + "timing": { + "startTime": 1794999686105.774, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.369, + "responseStart": 28.423, + "responseEnd": 29.771000030450523 + } + }, + { + "url": "/PlotLineWorkspace", + "status": 200, + "timing": { + "startTime": 1794999686135.5889, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.351, + "responseStart": 45.954, + "responseEnd": 48.303 + } + }, + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1794999686258.488, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.317, + "responseStart": 8.996, + "responseEnd": 10.37 + } + } + ] + }, + { + "documentMs": 224, + "restoredMs": 246, + "network": [ + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1794999686373.144, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.255, + "responseStart": 7.457, + "responseEnd": 9.617 + } + }, + { + "url": "/Writer/Explore/Investigate/Open", + "status": 302, + "timing": { + "startTime": 1794999686438.904, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.406, + "responseStart": 32.141, + "responseEnd": 33.281999989412725 + } + }, + { + "url": "/PlotLineWorkspace", + "status": 200, + "timing": { + "startTime": 1794999686472.107, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.473, + "responseStart": 44.661, + "responseEnd": 47.273 + } + }, + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1794999686594.343, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.402, + "responseStart": 11.887, + "responseEnd": 13.386 + } + } + ] + } +] \ No newline at end of file diff --git a/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Timings-Companion-Warm.json b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Timings-Companion-Warm.json new file mode 100644 index 00000000..347d4928 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Investigation-UX-Correction/Timings-Companion-Warm.json @@ -0,0 +1,161 @@ +[ + { + "entryPoint": "companion", + "documentMs": 292, + "restoredMs": 320, + "network": [ + { + "url": "/InvestigationCompanion/Open", + "status": 302, + "timing": { + "startTime": 1795002613024.121, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.302, + "responseStart": 11.397, + "responseEnd": 12.290000100620091 + }, + "serverTiming": "guidance-load;dur=1.33\neligibility-registry;dur=0.08\nguidance-save;dur=3.60" + }, + { + "url": "/Timeline", + "status": 200, + "timing": { + "startTime": 1795002613036.226, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.214, + "responseStart": 76.178, + "responseEnd": 78.619 + } + }, + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1795002613241.3142, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.222, + "responseStart": 8.94, + "responseEnd": 10.011 + } + } + ] + }, + { + "entryPoint": "companion", + "documentMs": 266, + "restoredMs": 297, + "network": [ + { + "url": "/InvestigationCompanion/Open", + "status": 302, + "timing": { + "startTime": 1795002613490.3, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.265, + "responseStart": 15.001, + "responseEnd": 16.429999959655106 + }, + "serverTiming": "guidance-load;dur=2.64\neligibility-registry;dur=0.05\nguidance-save;dur=4.44" + }, + { + "url": "/Timeline", + "status": 200, + "timing": { + "startTime": 1795002613506.5332, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.232, + "responseStart": 76.612, + "responseEnd": 79.325 + } + }, + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1795002613685.194, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.288, + "responseStart": 8.837, + "responseEnd": 9.991 + } + } + ] + }, + { + "entryPoint": "companion", + "documentMs": 264, + "restoredMs": 299, + "network": [ + { + "url": "/InvestigationCompanion/Open", + "status": 302, + "timing": { + "startTime": 1795002613924.721, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.406, + "responseStart": 15.133, + "responseEnd": 16.447999980300665 + }, + "serverTiming": "guidance-load;dur=2.48\neligibility-registry;dur=0.07\nguidance-save;dur=4.75" + }, + { + "url": "/Timeline", + "status": 200, + "timing": { + "startTime": 1795002613941.018, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.293, + "responseStart": 79.99, + "responseEnd": 82.675 + } + }, + { + "url": "/InvestigationCompanion/Summary", + "status": 200, + "timing": { + "startTime": 1795002614115.3162, + "domainLookupStart": -1, + "domainLookupEnd": -1, + "connectStart": -1, + "secureConnectionStart": -1, + "connectEnd": -1, + "requestStart": 0.362, + "responseStart": 8.85, + "responseEnd": 10.219 + } + } + ] + } +] \ No newline at end of file diff --git a/Docs/Writer/Writer3/Investigation-Companion-UX-Correction-Report.md b/Docs/Writer/Writer3/Investigation-Companion-UX-Correction-Report.md new file mode 100644 index 00000000..8fe3d980 --- /dev/null +++ b/Docs/Writer/Writer3/Investigation-Companion-UX-Correction-Report.md @@ -0,0 +1,102 @@ +# Investigation Companion — UX Correction + +## Outcome and scope + +Corrects the Phase 1.5 acceptance failures on Development. Shared branch: `codex/word-companion-native-phase1-20261104`; baseline `2496f7a`. The branch was fetched/reconciled before edits. The unrelated canonical-manuscript assessment remains untouched. No Writer Phase 2 redesign, diagnostic-model/catalogue changes, Production deployment or Windows Companion installation is included. + +## Root causes + +1. **Visibility was scoped to an ancestor, not a panel.** The existing Help rule `.plotline-help-layout.help-collapsed .plotline-help-drawer-panel` matched Investigation's reused content class. Collapsing right Help therefore hid left Investigation content while retaining its column. The related ancestor-scoped tab rule could also affect reused tab presentation. This was CSS coupling, not shared diagnostic state. +2. **Investigation had no Closed state.** It always rendered an inactive placeholder/tab, and Dismiss/Finish were the only removal-like actions. Those are server-side journey operations, not equivalents of Help's presentation-only Close. +3. **Restoration ran too often.** Reloading guidance after a finding/progress change reapplied pin preferences as if navigation had occurred. That could change an unpinned panel while the author was still working on the same page. +4. **The two drawers had diverged.** Investigation duplicated lifecycle, width, sticky and responsive rules and intercepted Help events to maintain a narrow-layout flag. Fixed tool filter columns could extend into the drawers as available width shrank. +5. **Discovery and navigation feedback were weak.** Saved investigations were largely confined to the questionnaire sidebar. Native recommendation submission provided no immediate acknowledgement or duplicate-submission guard. The results POST also repeated a full investigation/project/catalogue read before reading the already-authorised saved guidance snapshot. + +## Shared panel system + +`context-panels.js` now owns Open, Collapse, Expand, Pin/Unpin, Close and resizing for **both** drawers. Each instance owns its state on its own root (`data-state=closed|open|collapsed`) and uses its own preference adapter. Root-scoped CSS replaces the offending ancestor visibility rules; it does not counteract them with special-case overrides. Legacy Help layout flags remain for existing consumers, but cannot control Investigation visibility. + +`context-panels.css` contains common backgrounds, borders, header/content treatment, tabs, splitters, sticky offsets and responsive geometry. Both use the existing Help header/content components and theme typography. Investigation-specific CSS now covers only its content/progress/discovery, rather than a competing panel layout. Plot Lines' responsive filter grid is corrected in its own layout stylesheet so working controls stay inside the centre column. + +The shared component uses Help's semantics: + +- Open expands the drawer; Collapse leaves its narrow tab; Expand restores it. +- Pin means restore on eligible navigation. Unpinned drawers close on fresh navigation/refresh rather than leaving a placeholder tab. +- Close removes both drawer and tab, clears its pin preference and leaves saved investigation data untouched. +- Investigation can be explicitly reopened through the **Investigation** ribbon action while guidance is active. Continue/recommendation actions explicitly request opening after navigation. +- No active guidance means no visible drawer, tab or reopening action. Dismiss/Finish still deactivate server guidance separately; they do not delete saved investigations or progress. + +Existing Help preference keys, article loading and page-guide following are preserved. Investigation preferences remain author/book scoped; old pixel widths are adapted to the shared percentage-width convention. Content refresh preserves the current panel state; only actual context changes/restoration apply navigation preferences. Both drawers retain independent scrolling and keyboard-operable controls/resizing. On narrow windows, two expanded drawers share a bounded row above the main tool; neither is silently closed to make room for the other. Focus Reading retains/restores both panels' existing states and makes their controls inert while reading. + +## Saved investigation discovery + +Writer → Explore now has a prominent **My Investigations** section for the selected book. Each entry shows its authored concern, status, UTC-backed local activity date, short stable identity, Continue action and a separate results/view action. Merely listing or viewing an investigation does not activate it. + +Continue explicitly activates the existing authorised guidance record and opens the canonical investigation. The expanded companion has a compact saved-investigation selector and results link in its sticky header, so they remain available while its content scrolls. Switching uses the same ownership-checked activation service and preserves previous answers, progress and selected finding/tool metadata. + +Older records without saved event snapshots are labelled honestly. Their link is “View saved investigation”/“Saved investigation”, not a claim that original results exist. The companion explains the missing snapshot and does not invent recommendations. Completed records retain “Original results”. The bounded selector/list loads only metadata; it does not fetch every saved questionnaire or replay its event history. + +## Navigation and measured performance + +Both recommendation entry points remain same-window, antiforgery-protected POST/redirect navigation. The results POST now uses the existing scope-checked compact guidance read and immutable catalogue cache instead of an additional full investigation/project/catalogue read. Ownership, live book/project membership, archived-state checks, catalogue restrictions, eligibility and optimistic guidance writes remain enforced. Diagnostic scoring is not run when opening a recommendation. + +Submission immediately marks the form busy, displays restrained “Opening…” feedback and prevents a second submission. The successful authenticated test deliberately submitted twice and observed one POST. Existing native before-unload safeguards remain applicable; no client URL shortcut bypasses authorisation or persistence. + +Timing records separate client feedback, POST/redirect TTFB, saved-guidance read, catalogue/authorisation, registry/eligibility, transactional save, destination HTML and companion restoration. `Server-Timing` exposes the server stages without private answers. Measurements used authenticated Development Chromium with standalone detection at 1440 × 1000, the same saved production-catalogue path and actual destination controllers. Raw records are linked below. + +| Measurement | Before | Qualified after | +|---|---:|---:| +| Results POST TTFB, warmed samples | 28.05 / 31.73 ms | 19.27 / 16.06 ms | +| Results click → destination, warmed samples | 232 / 224 ms | 230 / 254 ms | +| Results click → restored companion, warmed samples | 256 / 246 ms | 258 / 279 ms | +| Visible acknowledgement | No explicit acknowledgement | 3.7–14.8 ms across recorded submissions | +| Companion → Timeline, warmed supplementary runs | Not separately measured | 264–292 ms to document; 297–320 ms to restoration | + +The first after-deployment Timeline visit took 858 ms; 648.5 ms was destination HTML TTFB, while its guidance POST was 33.25 ms (saved-guidance stages total approximately 8.6 ms). Subsequent Timeline HTML TTFB was 76–80 ms. Results-page first-visit samples were 383 ms before and 385 ms after. The warmed results POST improved by approximately 41%, but **whole-page navigation did not show a clear improvement** in this small sample; it remains destination-render dominated. These figures do not support claiming a multi-second server delay was reproduced or eliminated. + +The reported several-second pause was not reproduced on this disposable test book. The correction nevertheless removes redundant reads, makes the action visibly acknowledged within a frame, prevents duplicate submissions and exposes where time is spent if a larger book is slow. It is not a spinner-only performance claim. Larger-book-specific destination latency remains a limitation requiring profiling on that book if the report persists. An early after-timing script selected the companion form rather than the results form; that selector was corrected and those mismatched samples are excluded from the comparison. + +## Persistence, SQL and compatibility + +No new persistence model or table was introduced. Answers, events, catalogue versions and diagnostic results remain canonical. Existing `WriterInvestigationGuidance` retains private active identity, selected finding/tool and recommendation progress. Close/Pin/Collapse are browser presentation changes; the authenticated Close test verified that the guidance version remained unchanged. + +Forward scripts: + +- `278_InvestigationSavedSummaries.sql`: bounded author/book metadata projection, including ownership, membership and live project/book matching. +- `279_InvestigationSavedActivity.sql`: includes later guidance activity in the displayed activity timestamp. + +These add/alter only the new read-only summary procedure, not project/manuscript tables or existing investigation data. They were applied to verified `PlotDirector_Development` after a unique copy-only checksum backup and successful `RESTORE VERIFYONLY`. SQL tests exercise metadata, private author/book isolation and the existing guidance state/concurrency/canonical-integrity suite. Web rollback can leave the additive summary procedure in place; no destructive rollback is required. + +## Qualification + +- Baseline and implementation solution builds succeeded; final build/deployment receipts below. +- Existing executable regression harness: **623 passing checks**, including public Problem Solver and unchanged investigation scoring/catalogue coverage. +- Shared-panel browser fixture: all nine Open/Collapsed/Closed pairs, legacy Help layout classes, independent pin/close, pinned collapsed restoration, closed restoration and narrow geometry. +- Authenticated Development: My Investigations, explicit Continue, old record without snapshot, original results without activation, same-window recommendations, one POST for duplicate submissions, all nine state pairs, all four pin combinations across refresh, presentation-only Close, explicit ribbon reopening, saved selector, Plot Lines/Timeline/Writer navigation, progress save while unpinned, complete removal on Finish, book switching, Focus Reading and two viewport widths. +- Existing integrated Review browser/PWA suite passed: anchored observations, retained stale drafts, Word acknowledgement, Audio Review preservation, Focus Reading, Help and book isolation. +- Existing Reader suite passed: three widths × four themes × browser/PWA, selectable escaped text, chapter navigation, private headers, empty/error states and isolation. +- SQL tests passed for compact saved metadata and author/book boundaries, plus the established guidance concurrency/lifecycle/canonical-JSON assertions. + +Rendered screenshots were inspected, not accepted solely from DOM dimensions. Inspection caught the remaining fixed Plot Lines filter override and the need to keep the selector visible in the header; both were corrected and requalified. The compatibility browser entry point now dispatches to the corrected lifecycle/real-server suite; obsolete expectations of an inactive placeholder tab or unpinned collapsed restoration are not retained as acceptance criteria. + +## Evidence + +Before (1440 × 1000): [both expanded](Evidence/Investigation-UX-Correction/Before/Both-open.png), [Help collapsed, showing the original coupling](Evidence/Investigation-UX-Correction/Before/Help-collapsed.png). + +After: [My Investigations](Evidence/Investigation-UX-Correction/After/My-investigations.png), [both expanded](Evidence/Investigation-UX-Correction/After/Both-open.png), [Help only](Evidence/Investigation-UX-Correction/After/Help-only.png), [Investigation only](Evidence/Investigation-UX-Correction/After/Investigation-only.png), [Timeline](Evidence/Investigation-UX-Correction/After/Timeline.png), [older investigation](Evidence/Investigation-UX-Correction/After/Older-investigation.png), [Writer Review](Evidence/Investigation-UX-Correction/After/Writer-review.png), [800px responsive layout](Evidence/Investigation-UX-Correction/After/Narrow-both.png). + +[Timing/qualification receipt](Evidence/Investigation-UX-Correction/Qualification.json). Standard after screenshots are 1440 × 1000, apart from the labelled 800 × 1000 responsive capture. All content belongs to isolated disposable fixtures. + +## Deployment and preservation + +Application commits `ed362fe`, `6f9599b` and `d7e8a9c` are pushed on the existing shared branch. Development runs **`d7e8a9c5dda914cf85d5d94652d2137da742ac05`**, release `d7e8a9c-20261118T114501Z`. Published and deployed `PlotLine.dll` SHA-256 match: `65f6899c7f6d883a55e1b99ad3066bb7b5d798d55a43af705b772a85a7e4b2b4`; assembly informational metadata identifies that commit. Service is active; local GET and public TLS-validated GET return 200. No error-priority service entries were recorded after this deployment. Final handoff build has zero warnings/errors and the executable regression harness again passes all 623 checks. + +All 11 pre/post aggregate preservation checks match. The isolated disposable author/project/book fixtures were removed using guarded cleanup; checks report zero remaining fixture accounts, investigations, events, guidance or review observations. Temporary authentication credentials were removed and the task-created browser fixture host stopped. No existing author data was reset or overwritten. Release and pre-install backups remain available. + +Raw timings: [before](Evidence/Investigation-UX-Correction/Timings-Before.json), [qualified after](Evidence/Investigation-UX-Correction/Timings-After.json), [warm companion navigation](Evidence/Investigation-UX-Correction/Timings-Companion-Warm.json). The documentation/evidence handoff is a subsequent documentation-only commit; it does not require another application deployment. + +## Remaining limits and stopping point + +The measurements concern a small disposable book and do not diagnose a large-book-specific several-second render. The saved metadata list is bounded to the latest 50 records; full pagination is deferred. Presentation preferences remain device-specific, following Help conventions. Installed operating-system PWA and physical Windows/Word testing were unavailable; browser standalone detection and established native/audio simulations are identified above. + +No Writer Phase 2 work, diagnostic-model change, Production deployment or Windows Companion binary change was performed. Stop for review after the correction.