Commit the pending application, help and browser regression work. Pin the patched PKCS dependency for the production release.
15 KiB
Desktop record workspace layout audit
Contract and implementation
This pass uses the existing parser-blocking html[data-standalone] state, explicit per-view DesktopLayout declarations, and static CSS in record-workspace.css. No form elements move after paint. Browser retains existing widths, Bootstrap columns, fields and actions. Additional Desktop group labels are hidden in Browser. Shared models, routes, permission checks, validation and handlers are unchanged.
Desktop has several deliberate compositions: compact task canvases (76rem maximum, aligned to the working edge, controls capped), broad grouped forms (106rem working panel within the 110rem canvas), existing main/secondary details grids, and wide management tables. Ultra-wide expansion is bounded. Grid changes start at 1000px; existing responsive Bootstrap rows handle medium/narrow widths. Long text stays wide; names/selectors/dates/numbers have independent sensible maximum widths. Character and asset descriptions use eight columns beside four-column image editors. Desktop task headings are compact rather than website-sized, and the existing 2:3 book-cover thumbnail dimensions are reserved before image load. Layout and DOM order match; CSS does not use order, dense placement or delayed columnisation.
Save/Create actions on audited main domain forms and writing-plan forms use an explicit Record contribution to the existing contextual ribbon. That system captures contributions in Razor, composes before content paint, binds to the original button, and hides the page duplicate only after accounting for it. Added save/close icons extend the established icon catalogue. No new submission or dirty-state system: ordinary MVC forms retain their existing validation/disabled semantics; specialised scene editors keep their own dirty-state behaviour. Archive/Delete confirmations remain with their original owners, without additional promotion. Security, subscription and irreversible actions stay on their page.
Inventory
Classes: A compact form; B grouped two-column/multi-field form; C main + secondary content; D sectioned wide workspace; E existing composition appropriate. “Browser same” means layout changes are exclusively gated by early standalone CSS; shared action wrappers preserve the original spacing and submit controls.
| Pages / routes | Existing composition and excess width | Desktop choice / change | Record actions | Browser |
|---|---|---|---|---|
| Projects Create/Edit | Few fields; 980px panel inside centred shell | A; working-edge compact canvas, bounded name, wide description | Save in ribbon; existing Back retained through header | Same |
| Books Create/Edit | Many metadata/date fields, cover and description constrained to 980px | D; identity/cover, publishing/context and dates; same-row dates, broad descriptions, bounded short fields | Save in ribbon | Same |
| Chapters Create/Edit | Existing quarter-width fields, 980px cap; short title slot | B; number/title 3:9, revision/purpose/POV trio, full summary | Save in ribbon | Same |
| Characters Create/Edit | Profile, aliases, image all vertically constrained | C/D; names pair; profile groups; story use; description beside image | Save/Cancel in ribbon; alias and crop actions stay local | Same |
| Locations Create/Edit | Type and hierarchy stacked, Companion matching nested card | B/D; name/aliases, type/parent paired; description broad; existing matching rules intact | Save/Cancel in ribbon | Same |
| Story Assets Create/Edit | State fields and image in 980px panel | C/D; names, state/location groups, description beside image | Save/Cancel in ribbon | Same |
| Plot Lines Create/Edit | Existing scope/parent/emergence fields constrained | D; explicit identity, connections, ordering and long description | Save in ribbon; existing Archive flow unchanged | Same |
| Plot Threads Create/Edit | Parent/title, type/status, summary, scene references constrained | D; explicit identity and introduction/resolution groups; broad summary | Save in ribbon; original archive confirmation | Same |
| Project Metrics Edit | Small settings record, numeric row | A/B; bounded name and numeric controls; existing min/max/default/order row remains coherent | Save/Cancel in ribbon | Same |
| Scenarios Create | Three-field task, otherwise broad website section | A; compact deliberate task canvas; broad notes | Create/Cancel in ribbon | Same |
| Writer ScheduleSetup/EditWritingPlan | Existing paired fields and availability table inside nested cards | D; broad form with existing pairs/table; bounded selectors; no new boxes | Existing Create/Save/Cancel footer contribution | Same |
| Timeline Settings | Existing section toggles and metrics grid | D; broader canvas; keep current grouped settings and Save semantics | No new move; settings controls remain local | Same |
| Project Details | Books, overview/activity and attention cards already grouped | D/E; broader bounded record canvas; retain meaningful card composition | Existing contextual actions | Same |
| Book Details | Metadata multi-column row, chapters table | D; broader bounded canvas; retain metadata grouping and chapters table | Existing actions; manuscript unlink safety unchanged | Same |
| Chapter Details | Suggestions and scene table | D; broader canvas, preserve scene commands | Existing actions | Same |
| Character Details | Existing profile/analysis main-secondary grid; related names/images/relationships | C/E; broad canvas, responsive one-column grid in narrow Desktop window | Existing contextual operations | Same |
| Story Asset Details | Existing state/dependencies and event/custody groups | C/E; broad canvas; preserve actual associations | Existing contextual operations | Same |
| Location Details | Summary already uncapped by location-page rules; related tables | D; retain the uncapped summary in a broader bounded details canvas | Existing relationship form stays local | Same |
| Characters/Locations/Assets Index | Record lists, drag/relationship panels | D/E; broader management canvas; no new columns/data | Existing commands and drag handlers | Same |
| Plot Lines/Threads Index | List tables | D; broader canvas for lists | Existing commands | Same |
| Scenarios Index | Record table | D; broader management canvas | Existing sandbox actions | Same |
| Project Metrics Index | Metric table and compact creation form | D; wider table canvas; inline create form remains task-sized | Existing inline actions | Same |
| Collaborators | Compact invite form plus access/invitation tables | D; wide tables, invite stays compact deliberately | No move; permissions and role changes local | Same |
| Restore Points / Project Activity | Management/history tables | D; broad bounded canvas | Existing confirmations/download/restore actions | Same |
| Archives / Warnings | Management tables and filters | D; broader canvas; row controls retain associations | Existing contextual and row actions | Same |
| Dynamics Character/Relationship/Knowledge | Analysis/history tables and charts | D/E; broader bounded details canvas; chart data/logic untouched | Existing controls | Same |
| Manage Account | Security, subscription, dangerous closure panels in vertical stack | D; security/subscription side by side at wide widths; danger full row | Security/destructive controls remain local | Same |
| Account password / 2FA / recovery | Short security tasks, codes and confirmations | A/E; compact task canvas; no width inflation | No promotion of security actions | Same |
| Feature Requests Create/Details | Short suggestion/reply task; paragraph content | A; compact canvas preserves prose readability | Submit/reply stay local | Same |
| Feature Requests Index | Filters/list | D; broader management canvas | Existing actions | Same |
| Character/Location/Asset Merge | Small but consequential identity decision | A/E; compact deliberate canvas; retain selection/help | No move; original confirmations retained | Same |
| Floor Plans Index | Compact creation task plus plans table | D; broader management canvas; creation stays compact | Local creation/delete controls retained | Same |
| Floor Plans Edit | Bespoke drawing canvas, selected-block/background/transition panels | E; existing wide dedicated editor already appropriate | No changes | Same |
| Scene Edit and inspector editors | Recently implemented workspace areas and focused editor with resize control | E; existing sectioned working surface already appropriate; no arbitrary grid over specialised editors | Existing Save/dirty/area navigation retained | Same |
| Timeline / Plot Line workspace / Calendar / Story Point | Existing large working surfaces and docked inspectors | E; no form-layout redesign | Existing ribbon/right-click behaviour | Same |
| Relationship Map | Dedicated visual graph, selectors and side panels | E; graph already uses a working surface, no forced form columns | Existing controls | Same |
| Names | Wide search/library panels and appropriate filters | E; explicit library width already uncapped | Existing filter/add actions | Same |
| Writer Index/Chapter / Writing Context/Intent | Purpose-built writing queues/editor/context panes | E; avoid imposing generic record CSS | Existing actions/dirty handling | Same |
| Story Bible / Continuity Explorer / Analytics | Dedicated grouped workspaces | E; no indiscriminate container override | Existing context/filter commands | Same |
| Import and Story Intelligence review pages | Staged tasks, category grids, review-specific panels | E; no changes to operational/review workflows or resizing rules | Existing scoped actions | Same |
| Admin | Dashboard summary grid, subscription/feature-request tables, diagnostic tools | E; admin feature-request pages already explicitly uncap edit panels; other diagnostics intentionally task-scoped | No new admin functionality or action moves | Same |
| Help / HelpDiagnostics / Acceptance | Reading/reference and diagnostic screens | E; reading width intentional; no record editing gap | No changes | Same |
| Public/Account sign-in/Pricing / Word Companion host | Public or external-host experiences | E / out of Desktop record scope | No changes | Same |
Modal and association audit
Existing association forms in Scenes' focused editors, Locations relationships, Assets dependencies, Character relationships/gallery, Continuity filters and Timeline scene operations remain with their owners. They use appropriate task-specific dimensions. Tiny confirmations (archive/delete/account closure/plan deletion) retain their existing size. No global modal-width rule is introduced. Inline alias Add/Remove and character custom-sex enablement retain the same elements and handlers.
Verification
The complete replacement attachment is the authoritative source. Its sections 44–50 add representative width/domain/automated/Dev verification and completion-report requirements.
Completed 31 October 2026. Dev release: 340c5e3-record-workspaces-worktree-20261031T085959Z. Published and deployed DLL SHA-256: 18933b17d01672e1c81c28cdbd97d7ca24d5be9cabfeea51e36499814bddfbbf. Source and deployed record CSS SHA-256: db25630441524a8f8bec738961b52b83c39702267120bcda77d767168953d0cf. The release archive and timestamped prior-directory backup are retained. Existing dirty-worktree changes were preserved. No migrations or business-model changes were needed. Production was untouched.
| Gate | Result |
|---|---|
dotnet build PlotLine.slnx |
Passed, zero errors; existing dependency-vulnerability and nullable warnings remain |
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj |
Full executable regression harness passed |
record-workspaces.cjs with isolated compiled-Razor host |
Nine forms passed Browser widths/actions, Desktop grid/Save icon/single action, existing jQuery validation, original multipart form POST/IDs/antiforgery, Enter submission, 1920/1440/800/390 responsive checks, 3200px upper-bound check, all six theme states, parser-paused layout stability |
| Browser resize baseline comparison | Character form geometry identical with and without the Desktop stylesheet at 1440/800/390; no Desktop grid leaks |
record-workspaces-dev.cjs |
Passed against authenticated public Dev in normal Chromium and an actual CDP-installed/launched standalone app |
| Representative domains | Project, Book, Chapter, Character, Location, Asset, Plot Line, Thread created through normal forms; all eight editors checked; Book changed through ribbon Save and reloaded to verify persisted value |
| Details/settings/management | Browser and standalone GET checks for Book/Chapter/Character/Location/Asset Details, Collaborators, Timeline Settings, Manage Account and Threads; standalone main content fits 1920/800/390 |
| Keyboard and context behaviour | Existing alias removal/input and profile tab sequence, Shift+Tab, one accessible ribbon Save, field-associated validation feedback, original context menu, and Ctrl+right-click native fallback passed |
| Themes | Warm Light, Modern Light, Modern Dark, Warm Dark, Rose Pink and Baby Blue rendered and visually inspected; tests set the same app/theme/Bootstrap state as the existing theme mechanism |
| Initial layout | Real HTML paused before activation for Book, Chapter, Character, Location and Plot Line: identical form/field geometry before and after activation, zero measured shift |
| Operational checks | No active/queued background work before deployment; service active; local and public GET 200; hashes match; no recent service warning/error entries |
| Cleanup | Real Chromium test installations removed; dedicated identity and all owned fixture projects/books/records removed through normal HardDeleteAccount workflow; private identity file deleted |
One inherited Browser limitation was deliberately retained: the character image editor can overflow at 390px. The baseline comparison proves that the new Desktop stylesheet neither creates nor changes that Browser overflow. The Desktop image editor wraps correctly and all checked Desktop forms fit at 390px. No claim is made that this pass redesigns or repairs every pre-existing Browser layout.
The new production layout infrastructure is a small static stylesheet (approximately 4.4KB) plus explicit view metadata/classes. It adds no layout observers, scans or client-side form reconstruction. Existing ribbon composition handles the new action contributions; save/validation ownership stays on the original forms. Measurements cover representative Chromium routes rather than every browser/route combination.
Operational artifacts: /var/tmp/pd-record-workspaces/ (publish/deploy/live-browser logs); final local browser log /var/tmp/pd-record-browser-final.log; final build /var/tmp/pd-record-build-final.log; regression /var/tmp/pd-record-regression-complete.log. Visual previews: /tmp/pd-record-dev-*.png, including all six themes. No credential material is stored in the repository.