Publish real shared PlotDirector screenshots on solver results and balance the theme picker

This commit is contained in:
Nick Beckley 2026-11-02 10:10:22 +00:00
parent 48a2421fc7
commit 81d5693ce2
106 changed files with 1814 additions and 101 deletions

View File

@ -1,65 +1,65 @@
# Screenshot Requirement Matrix
52 diagnoses; 15 recommendation contexts spanning **11 real application view templates**; **14 shared screenshot assets required**. All final assets are intentionally missing in this stage. The screenshots in `Screenshots/` verify these result pages before/after; they are not application-theme marketing assets and are not used in the result visual component.
52 diagnoses; 15 recommendation contexts spanning **11 real application view templates**; **14 shared screenshot assets required**. The final shared library was captured from the actual Development PWA in the PlotDirector theme on 2026-11-02; see `../ScreenshotLibrary/Report.md` and `AssetManifest.md` for current delivery sizes, alt text and provenance. The screenshots in `Screenshots/` verify these result pages before/after; they are not application-theme marketing assets and are not used in the result visual component.
Routes below are audited against current controller actions and view source. Every application launch first verifies/selects an authorised project. Character knowledge and development additionally require a selected character belonging to that project. Location references open the location list first, then the author chooses a place; the later capture will use a real location detail. No guessed IDs, arbitrary books, synthetic UI images or new application features are introduced.
Routes below are audited against current controller actions and view source. Every application launch first verifies/selects an authorised project. Character knowledge and development additionally require a selected character belonging to that project. Location references open the location list first, then the author chooses a place; the capture now demonstrates the location hierarchy. No guessed IDs, arbitrary books, synthetic UI images or new application features are introduced.
A single Timeline scene overview is shared by scene/chapter and character-appearance contexts. Other Timeline captures show chronology or recorded metric shape, because those communicate materially different work. Continuity Story State and Journey need separate captures despite sharing an MVC view. Capture with the future public-colour application theme and fictional fixture data only.
A single Timeline scene overview is shared by scene/chapter and character-appearance contexts. Other Timeline captures show chronology or recorded metric shape, because those communicate materially different work. Continuity Story State and Journey need separate captures despite sharing an MVC view. Captured with the approved PlotDirector application theme and isolated fictional Development data.
| Diagnosis | Primary tool / feature | Why first | Application route / view | Proposed asset | Shared with | Visible content |
|---|---|---|---|---|---|---|
| D01: There are too many storylines to keep in your head | Plot Lines Workspace (`plot-lines`) | A map of selected lines gives each open thread a visible place in the manuscript. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` — pending | D02, D03, D04, D06, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D02: A storyline disappears for too long | Plot Lines Workspace (`plot-lines`) | The gap markers make the distance between a line’s recorded contributions easier to judge. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` — pending | D01, D03, D04, D06, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D03: Your storylines don't feel connected | Plot Lines Workspace (`plot-lines`) | Weave puts shared contributions and recorded connections beside the separate lines. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` — pending | D01, D02, D04, D06, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D04: One storyline is taking over the book | Plot Lines Workspace (`plot-lines`) | Compare the line carrying most of the book with the supporting work you still want the others to do. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` — pending | D01, D02, D03, D06, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D05: You're not sure what some scenes are contributing | Timeline · scenes and chapters (`scenes-and-chapters`) | Scene summaries and purpose labels let you compare a passage with the scenes that depend on it. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` — pending | D10, D11, D12, D33, D34, D35, D36 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D06: Your setups and payoffs have become disconnected | Plot Lines Workspace (`plot-lines`) | Following the relevant thread can put preparation and payoff in the same review path. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` — pending | D01, D02, D03, D04, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D07: Things happen, but the story doesn't seem to build | Plot Lines Workspace (`plot-lines`) | Follow the relevant line’s contribution roles and stored dependencies to compare cause with response. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` — pending | D01, D02, D03, D04, D06, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D08: There are too many characters to keep straight | Characters (`characters`) | Character records give names, roles and established details a consistent place to return to. | `/Characters?projectId={projectId}` → `Characters/Index` | `character-records.webp` — pending | D09, D13 | A fictional cast with distinguishable records; an example record can be opened during the later capture session. |
| D09: Some characters may be doing the same job in the story | Characters (`characters`) | Compare the two records and their linked appearances before deciding what each uniquely brings. | `/Characters?projectId={projectId}` → `Characters/Index` | `character-records.webp` — pending | D08, D13 | A fictional cast with distinguishable records; an example record can be opened during the later capture session. |
| D10: An important character disappears for a long stretch | Timeline · character appearances (`characters`) | Scene cards make the appearances surrounding a gap easier to compare in manuscript order. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` — pending | D05, D11, D12, D33, D34, D35, D36 | The same chapter/scene overview used for structure, with readable character chips and POV labels. |
| D11: Your characters aren't appearing in the proportions you expected | Timeline · character appearances (`characters`) | Character labels on scene cards help you compare actual recorded appearances with the role you want. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` — pending | D05, D10, D12, D33, D34, D35, D36 | The same chapter/scene overview used for structure, with readable character chips and POV labels. |
| D12: Your points of view are becoming difficult to balance | Timeline · character appearances (`characters`) | POV labels let you follow which narrator carries each stretch of the manuscript. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` — pending | D05, D10, D11, D33, D34, D35, D36 | The same chapter/scene overview used for structure, with readable character chips and POV labels. |
| D13: A character's details don't stay consistent | Characters (`characters`) | The character record gives you a place to settle the intended fact, then revisit linked scenes. | `/Characters?projectId={projectId}` → `Characters/Index` | `character-records.webp` — pending | D08, D09 | A fictional cast with distinguishable records; an example record can be opened during the later capture session. |
| D14: You're losing track of where your characters are | Timeline (`timeline`) | Scene locations and character labels let you compare the relevant appearances side by side. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` — pending | D27, D28, D29, D30, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D15: There are too many character relationships to hold in your head | Relationship Map (`relationships`) | A map externalises the connections so you do not have to hold the whole network in memory. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` — pending | D16, D17, D18, D19, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D16: You're not sure where a relationship has reached | Relationship Map (`relationships`) | Compare the recorded relationship at selected story positions instead of relying on a single overall label. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` — pending | D15, D17, D18, D19, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D17: A relationship changes before it feels earned | Relationship Map (`relationships`) | Review the relationship state at points before and after the change, then return to the scenes between them. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` — pending | D15, D16, D18, D19, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D18: A relationship stops moving for too long | Relationship Map (`relationships`) | Comparing story positions gives you specific encounters to review for development. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` — pending | D15, D16, D17, D19, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D19: Your characters see the same relationship differently | Relationship Map (`relationships`) | Directional relationship records let you compare what each side believes at a chosen position. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` — pending | D15, D16, D17, D18, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D20: One event has changed too many relationships to track easily | Relationship Map (`relationships`) | A network view helps you revisit each affected connection instead of following only the most obvious pair. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` — pending | D15, D16, D17, D18, D19 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D21: A character knows something they haven't learned yet | Character knowledge timeline (`knowledge-and-revelations`) | Follow the character’s knowledge events back to the relevant scenes. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` — pending | D22, D23, D24, D25, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D22: You can't remember how a character learned something | Character knowledge timeline (`knowledge-and-revelations`) | The character’s knowledge timeline gives the learning event a scene reference you can return to. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` — pending | D21, D23, D24, D25, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D23: Different POV characters know different pieces of the story | Character knowledge timeline (`knowledge-and-revelations`) | Review one character’s knowledge timeline, then repeat for the other viewpoints involved. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` — pending | D21, D22, D24, D25, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D24: Your revelations have ended up in the wrong order | Character knowledge timeline (`knowledge-and-revelations`) | Linked knowledge events let you trace a reaction back to the scene that should enable it. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` — pending | D21, D22, D23, D25, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D25: There are too many clues and discoveries to keep straight | Character knowledge timeline (`knowledge-and-revelations`) | Follow the recorded knowledge events for the character investigating the trail. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` — pending | D21, D22, D23, D24, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D26: You're not sure whether a reveal comes too early or too late | Character knowledge timeline (`knowledge-and-revelations`) | Use the linked discovery scenes as reference points, then compare what the prose reveals around them. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` — pending | D21, D22, D23, D24, D25 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D27: Your timeline doesn't add up | Timeline (`timeline`) | Dates and scene references make the conflict concrete enough to compare. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` — pending | D14, D28, D29, D30, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D28: The amount of time between events doesn't work | Timeline (`timeline`) | Compare the recorded endpoints and the events that must happen between them. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` — pending | D14, D27, D29, D30, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D29: A character's age doesn't match the dates | Timeline (`timeline`) | Put the dated scenes in order, then check their ages against the character’s agreed reference. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` — pending | D14, D27, D28, D30, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D30: Your reading order and chronological order are different | Timeline (`timeline`) | Keep the manuscript sequence visible while checking the dates attached to its scenes. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` — pending | D14, D27, D28, D29, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D31: Too many things are happening at the same time | Timeline (`timeline`) | Compare the scene dates and times across the people or threads involved. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` — pending | D14, D27, D28, D29, D30, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D32: Your fictional timeline has to fit around real dates | Timeline (`timeline`) | Record the fixed date alongside the surrounding fictional scenes. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` — pending | D14, D27, D28, D29, D30, D31, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D33: There are too many scenes to see the structure clearly | Timeline · scenes and chapters (`scenes-and-chapters`) | Chapter groups and scene summaries give you a manageable overview before you open the prose. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` — pending | D05, D10, D11, D12, D34, D35, D36 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D34: You don't know where a scene belongs | Timeline · scenes and chapters (`scenes-and-chapters`) | Compare its neighbouring scenes and linked story elements in manuscript order. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` — pending | D05, D10, D11, D12, D33, D35, D36 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D35: Your chapter structure feels uneven | Timeline · scenes and chapters (`scenes-and-chapters`) | Chapter bands make the groups visible alongside the scenes each contains. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` — pending | D05, D10, D11, D12, D33, D34, D36 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D36: Several scenes may be doing the same job | Timeline · scenes and chapters (`scenes-and-chapters`) | Compare their summaries, purposes and linked developments before deciding whether both are needed. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` — pending | D05, D10, D11, D12, D33, D34, D35 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D37: You want to rearrange the story without wrecking it | Scenarios (`scenarios`) | A scenario keeps the proposed order separate while you inspect its consequences. | `/Scenarios?projectId={projectId}` → `Scenarios/Compare` | `scenario-alternatives.webp` — pending | D49 | One named fictional scenario compared with the main order, showing the real changed-scene comparison. Reach it from the scenario list; do not fabricate simultaneous timelines. |
| D38: A character's movement between places doesn't make sense | Timeline (`timeline`) | Compare departure and arrival scenes using their location and timing details. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` — pending | D14, D27, D28, D29, D30, D31, D32 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D39: A location has changed without you meaning it to | Locations (`locations`) | Use the place’s description and linked scenes as the starting reference for a manual consistency check. | `/Locations?projectId={projectId}` → `Locations/Details` | `location-reference.webp` — pending | Dedicated context | A fictional place’s description and scene references. Do not imply automatic version history or geometry comparison. |
| D40: You've lost track of an important object | Continuity Explorer · object journey (`important-objects`) | Journey mode keeps asset states attached to the scenes where they are recorded. | `/ContinuityExplorer?projectId={projectId}&mode=Journey&EntityTypes=Assets` → `ContinuityExplorer/Index` | `object-journey.webp` — pending | D41, D42 | Journey mode, Assets selected, a named fictional object and its recorded states across several scenes. |
| D41: A character has an object they shouldn't have | Continuity Explorer · object journey (`important-objects`) | Follow the recorded asset states around the relevant scene range. | `/ContinuityExplorer?projectId={projectId}&mode=Journey&EntityTypes=Assets` → `ContinuityExplorer/Index` | `object-journey.webp` — pending | D40, D42 | Journey mode, Assets selected, a named fictional object and its recorded states across several scenes. |
| D42: An object's history contradicts itself | Continuity Explorer · object journey (`important-objects`) | Journey mode gives the conflicting states scene references you can inspect. | `/ContinuityExplorer?projectId={projectId}&mode=Journey&EntityTypes=Assets` → `ContinuityExplorer/Index` | `object-journey.webp` — pending | D40, D41 | Journey mode, Assets selected, a named fictional object and its recorded states across several scenes. |
| D43: The story seems to stop moving | Timeline · story values (`story-flow`) | Recorded scene values give you positions to compare with the underlying events and consequences. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-story-values.webp` — pending | D44, D45, D47 | Metric Shape enabled with a readable recorded tension/development value, chapter bands and scene positions. |
| D44: Some parts of the story rush while others drag | Timeline · story values (`story-flow`) | Compare the shape of recorded scene values with the chapter and scene sequence. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-story-values.webp` — pending | D43, D45, D47 | Metric Shape enabled with a readable recorded tension/development value, chapter bands and scene positions. |
| D45: The tension rises and falls in the wrong places | Timeline · story values (`story-flow`) | A recorded tension value makes rises, drops and clusters concrete enough to inspect. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-story-values.webp` — pending | D43, D44, D47 | Metric Shape enabled with a readable recorded tension/development value, chapter bands and scene positions. |
| D46: A character's development goes flat | Character arc (`character-development`) | Review the character’s recorded arc and linked story involvement at the points you identified. | `/Dynamics/Character/{characterId}?projectId={projectId}` → `Dynamics/Character` | `character-arc.webp` — pending | Dedicated context | One fictional character’s recorded arc with readable scene references and any configured development values. |
| D47: Too much development is packed into the ending | Timeline · story values (`story-flow`) | Use recorded development values and scene positions to inspect the lead-in to the ending. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-story-values.webp` — pending | D43, D44, D45 | Metric Shape enabled with a readable recorded tension/development value, chapter bands and scene positions. |
| D48: Every change seems to break something else | Continuity Explorer (`continuity`) | Story-state records and scene references give you a starting point for checking the affected details. | `/ContinuityExplorer?projectId={projectId}` → `ContinuityExplorer/Index` | `continuity-story-state.webp` — pending | Dedicated context | Story State mode at a selected scene with a few readable character/asset/location states and provenance labels. |
| D49: You have more than one possible version of the story | Scenarios (`scenarios`) | Named scenarios keep proposed arrangements separate from the established order. | `/Scenarios?projectId={projectId}` → `Scenarios/Compare` | `scenario-alternatives.webp` — pending | D37 | One named fictional scenario compared with the main order, showing the real changed-scene comparison. Reach it from the scenario list; do not fabricate simultaneous timelines. |
| D50: Your series has become too big to remember reliably | Project · books and series (`books-and-series`) | A shared project keeps the book sequence and routes to common story records together. | `/Projects/Details/{projectId}` → `Projects/Details` | `series-project.webp` — pending | Dedicated context | An ordered fictional multi-book project with book cards and navigation to shared characters, story bible and plot lines. |
| D51: A storyline stretches across several books | Plot Lines Workspace (`plot-lines`) | Use the workspace’s book scope to follow the same line across the series or within one book. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` — pending | D01, D02, D03, D04, D06, D07 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D52: Your novel has become too much to hold in your head | Story Bible (`story-organisation`) | A searchable story bible provides one place to find the records you keep reconstructing from separate notes. | `/StoryBible?projectId={projectId}` → `StoryBible/Index` | `story-bible.webp` — pending | Dedicated context | A fictional project’s searchable story bible with a few related records and meaningful links to their source views. |
| D01: There are too many storylines to keep in your head | Plot Lines Workspace (`plot-lines`) | A map of selected lines gives each open thread a visible place in the manuscript. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` | D02, D03, D04, D06, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D02: A storyline disappears for too long | Plot Lines Workspace (`plot-lines`) | The gap markers make the distance between a line’s recorded contributions easier to judge. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` | D01, D03, D04, D06, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D03: Your storylines don't feel connected | Plot Lines Workspace (`plot-lines`) | Weave puts shared contributions and recorded connections beside the separate lines. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` | D01, D02, D04, D06, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D04: One storyline is taking over the book | Plot Lines Workspace (`plot-lines`) | Compare the line carrying most of the book with the supporting work you still want the others to do. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` | D01, D02, D03, D06, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D05: You're not sure what some scenes are contributing | Timeline · scenes and chapters (`scenes-and-chapters`) | Scene summaries and purpose labels let you compare a passage with the scenes that depend on it. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` | D10, D11, D12, D33, D34, D35, D36 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D06: Your setups and payoffs have become disconnected | Plot Lines Workspace (`plot-lines`) | Following the relevant thread can put preparation and payoff in the same review path. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` | D01, D02, D03, D04, D07, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D07: Things happen, but the story doesn't seem to build | Plot Lines Workspace (`plot-lines`) | Follow the relevant line’s contribution roles and stored dependencies to compare cause with response. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` | D01, D02, D03, D04, D06, D51 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D08: There are too many characters to keep straight | Characters (`characters`) | Character records give names, roles and established details a consistent place to return to. | `/Characters?projectId={projectId}` → `Characters/Index` | `character-records.webp` | D09, D13 | A fictional cast with distinguishable records; six real Development cast records are captured. |
| D09: Some characters may be doing the same job in the story | Characters (`characters`) | Compare the two records and their linked appearances before deciding what each uniquely brings. | `/Characters?projectId={projectId}` → `Characters/Index` | `character-records.webp` | D08, D13 | A fictional cast with distinguishable records; six real Development cast records are captured. |
| D10: An important character disappears for a long stretch | Timeline · character appearances (`characters`) | Scene cards make the appearances surrounding a gap easier to compare in manuscript order. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` | D05, D11, D12, D33, D34, D35, D36 | The same chapter/scene overview used for structure, with readable character chips and POV labels. |
| D11: Your characters aren't appearing in the proportions you expected | Timeline · character appearances (`characters`) | Character labels on scene cards help you compare actual recorded appearances with the role you want. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` | D05, D10, D12, D33, D34, D35, D36 | The same chapter/scene overview used for structure, with readable character chips and POV labels. |
| D12: Your points of view are becoming difficult to balance | Timeline · character appearances (`characters`) | POV labels let you follow which narrator carries each stretch of the manuscript. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` | D05, D10, D11, D33, D34, D35, D36 | The same chapter/scene overview used for structure, with readable character chips and POV labels. |
| D13: A character's details don't stay consistent | Characters (`characters`) | The character record gives you a place to settle the intended fact, then revisit linked scenes. | `/Characters?projectId={projectId}` → `Characters/Index` | `character-records.webp` | D08, D09 | A fictional cast with distinguishable records; six real Development cast records are captured. |
| D14: You're losing track of where your characters are | Timeline (`timeline`) | Scene locations and character labels let you compare the relevant appearances side by side. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` | D27, D28, D29, D30, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D15: There are too many character relationships to hold in your head | Relationship Map (`relationships`) | A map externalises the connections so you do not have to hold the whole network in memory. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` | D16, D17, D18, D19, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D16: You're not sure where a relationship has reached | Relationship Map (`relationships`) | Compare the recorded relationship at selected story positions instead of relying on a single overall label. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` | D15, D17, D18, D19, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D17: A relationship changes before it feels earned | Relationship Map (`relationships`) | Review the relationship state at points before and after the change, then return to the scenes between them. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` | D15, D16, D18, D19, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D18: A relationship stops moving for too long | Relationship Map (`relationships`) | Comparing story positions gives you specific encounters to review for development. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` | D15, D16, D17, D19, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D19: Your characters see the same relationship differently | Relationship Map (`relationships`) | Directional relationship records let you compare what each side believes at a chosen position. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` | D15, D16, D17, D18, D20 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D20: One event has changed too many relationships to track easily | Relationship Map (`relationships`) | A network view helps you revisit each affected connection instead of following only the most obvious pair. | `/RelationshipMap?projectId={projectId}` → `RelationshipMap/Index` | `relationship-map.webp` | D15, D16, D17, D18, D19 | A small readable network at a named story position, with connection state, direction and selected relationship detail. |
| D21: A character knows something they haven't learned yet | Character knowledge timeline (`knowledge-and-revelations`) | Follow the character’s knowledge events back to the relevant scenes. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` | D22, D23, D24, D25, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D22: You can't remember how a character learned something | Character knowledge timeline (`knowledge-and-revelations`) | The character’s knowledge timeline gives the learning event a scene reference you can return to. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` | D21, D23, D24, D25, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D23: Different POV characters know different pieces of the story | Character knowledge timeline (`knowledge-and-revelations`) | Review one character’s knowledge timeline, then repeat for the other viewpoints involved. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` | D21, D22, D24, D25, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D24: Your revelations have ended up in the wrong order | Character knowledge timeline (`knowledge-and-revelations`) | Linked knowledge events let you trace a reaction back to the scene that should enable it. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` | D21, D22, D23, D25, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D25: There are too many clues and discoveries to keep straight | Character knowledge timeline (`knowledge-and-revelations`) | Follow the recorded knowledge events for the character investigating the trail. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` | D21, D22, D23, D24, D26 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D26: You're not sure whether a reveal comes too early or too late | Character knowledge timeline (`knowledge-and-revelations`) | Use the linked discovery scenes as reference points, then compare what the prose reveals around them. | `/Dynamics/Knowledge/{characterId}?projectId={projectId}` → `Dynamics/Knowledge` | `character-knowledge.webp` | D21, D22, D23, D24, D25 | One fictional character’s learning events with book/chapter/scene references, information item and knowledge state. |
| D27: Your timeline doesn't add up | Timeline (`timeline`) | Dates and scene references make the conflict concrete enough to compare. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` | D14, D28, D29, D30, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D28: The amount of time between events doesn't work | Timeline (`timeline`) | Compare the recorded endpoints and the events that must happen between them. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` | D14, D27, D29, D30, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D29: A character's age doesn't match the dates | Timeline (`timeline`) | Put the dated scenes in order, then check their ages against the character’s agreed reference. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` | D14, D27, D28, D30, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D30: Your reading order and chronological order are different | Timeline (`timeline`) | Keep the manuscript sequence visible while checking the dates attached to its scenes. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` | D14, D27, D28, D29, D31, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D31: Too many things are happening at the same time | Timeline (`timeline`) | Compare the scene dates and times across the people or threads involved. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` | D14, D27, D28, D29, D30, D32, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D32: Your fictional timeline has to fit around real dates | Timeline (`timeline`) | Record the fixed date alongside the surrounding fictional scenes. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` | D14, D27, D28, D29, D30, D31, D38 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D33: There are too many scenes to see the structure clearly | Timeline · scenes and chapters (`scenes-and-chapters`) | Chapter groups and scene summaries give you a manageable overview before you open the prose. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` | D05, D10, D11, D12, D34, D35, D36 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D34: You don't know where a scene belongs | Timeline · scenes and chapters (`scenes-and-chapters`) | Compare its neighbouring scenes and linked story elements in manuscript order. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` | D05, D10, D11, D12, D33, D35, D36 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D35: Your chapter structure feels uneven | Timeline · scenes and chapters (`scenes-and-chapters`) | Chapter bands make the groups visible alongside the scenes each contains. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` | D05, D10, D11, D12, D33, D34, D36 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D36: Several scenes may be doing the same job | Timeline · scenes and chapters (`scenes-and-chapters`) | Compare their summaries, purposes and linked developments before deciding whether both are needed. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-scene-overview.webp` | D05, D10, D11, D12, D33, D34, D35 | Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels. |
| D37: You want to rearrange the story without wrecking it | Scenarios (`scenarios`) | A scenario keeps the proposed order separate while you inspect its consequences. | `/Scenarios?projectId={projectId}` → `Scenarios/Index` | `scenario-alternatives.webp` | D49 | Named scenario sandboxes with descriptions, scene counts and Open timeline / Compare controls. The Compare position-label defect is deferred. |
| D38: A character's movement between places doesn't make sense | Timeline (`timeline`) | Compare departure and arrival scenes using their location and timing details. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-chronology.webp` | D14, D27, D28, D29, D30, D31, D32 | Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible. |
| D39: A location has changed without you meaning it to | Locations (`locations`) | Use the place’s description and linked scenes as the starting reference for a manual consistency check. | `/Locations?projectId={projectId}` → `Locations/Index` | `location-reference.webp` | Dedicated context | A harbour with nested pier, archive and beacon locations, showing the shared place hierarchy. |
| D40: You've lost track of an important object | Continuity Explorer · object journey (`important-objects`) | Journey mode keeps asset states attached to the scenes where they are recorded. | `/ContinuityExplorer?projectId={projectId}&mode=Journey&EntityTypes=Assets` → `ContinuityExplorer/Index` | `object-journey.webp` | D41, D42 | Journey mode, Assets selected, a named fictional object and its recorded states across several scenes. |
| D41: A character has an object they shouldn't have | Continuity Explorer · object journey (`important-objects`) | Follow the recorded asset states around the relevant scene range. | `/ContinuityExplorer?projectId={projectId}&mode=Journey&EntityTypes=Assets` → `ContinuityExplorer/Index` | `object-journey.webp` | D40, D42 | Journey mode, Assets selected, a named fictional object and its recorded states across several scenes. |
| D42: An object's history contradicts itself | Continuity Explorer · object journey (`important-objects`) | Journey mode gives the conflicting states scene references you can inspect. | `/ContinuityExplorer?projectId={projectId}&mode=Journey&EntityTypes=Assets` → `ContinuityExplorer/Index` | `object-journey.webp` | D40, D41 | Journey mode, Assets selected, a named fictional object and its recorded states across several scenes. |
| D43: The story seems to stop moving | Timeline · story values (`story-flow`) | Recorded scene values give you positions to compare with the underlying events and consequences. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-story-values.webp` | D44, D45, D47 | Metric Shape enabled with a readable recorded tension/development value, chapter bands and scene positions. |
| D44: Some parts of the story rush while others drag | Timeline · story values (`story-flow`) | Compare the shape of recorded scene values with the chapter and scene sequence. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-story-values.webp` | D43, D45, D47 | Metric Shape enabled with a readable recorded tension/development value, chapter bands and scene positions. |
| D45: The tension rises and falls in the wrong places | Timeline · story values (`story-flow`) | A recorded tension value makes rises, drops and clusters concrete enough to inspect. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-story-values.webp` | D43, D44, D47 | Metric Shape enabled with a readable recorded tension/development value, chapter bands and scene positions. |
| D46: A character's development goes flat | Character arc (`character-development`) | Review the character’s recorded arc and linked story involvement at the points you identified. | `/Dynamics/Character/{characterId}?projectId={projectId}` → `Dynamics/Character` | `character-arc.webp` | Dedicated context | One fictional character’s recorded arc with readable scene references and any configured development values. |
| D47: Too much development is packed into the ending | Timeline · story values (`story-flow`) | Use recorded development values and scene positions to inspect the lead-in to the ending. | `/Timeline?projectId={projectId}` → `Timeline/Index` | `timeline-story-values.webp` | D43, D44, D45 | Metric Shape enabled with a readable recorded tension/development value, chapter bands and scene positions. |
| D48: Every change seems to break something else | Continuity Explorer (`continuity`) | Story-state records and scene references give you a starting point for checking the affected details. | `/ContinuityExplorer?projectId={projectId}` → `ContinuityExplorer/Index` | `continuity-story-state.webp` | Dedicated context | Story State mode at a selected scene with a few readable character/asset/location states and provenance labels. |
| D49: You have more than one possible version of the story | Scenarios (`scenarios`) | Named scenarios keep proposed arrangements separate from the established order. | `/Scenarios?projectId={projectId}` → `Scenarios/Index` | `scenario-alternatives.webp` | D37 | Named scenario sandboxes with descriptions, scene counts and Open timeline / Compare controls. The Compare position-label defect is deferred. |
| D50: Your series has become too big to remember reliably | Project · books and series (`books-and-series`) | A shared project keeps the book sequence and routes to common story records together. | `/Projects/Details/{projectId}` → `Projects/Details` | `series-project.webp` | Dedicated context | An ordered fictional multi-book project with book cards and navigation to shared characters, story bible and plot lines. |
| D51: A storyline stretches across several books | Plot Lines Workspace (`plot-lines`) | Use the workspace’s book scope to follow the same line across the series or within one book. | `/PlotLineWorkspace?projectId={projectId}` → `PlotLineWorkspace/Index` | `plot-lines-weave.webp` | D01, D02, D03, D04, D06, D07 | Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps. |
| D52: Your novel has become too much to hold in your head | Story Bible (`story-organisation`) | A searchable story bible provides one place to find the records you keep reconstructing from separate notes. | `/StoryBible?projectId={projectId}` → `StoryBible/Index` | `story-bible.webp` | Dedicated context | A fictional project’s searchable story bible with a few related records and meaningful links to their source views. |
## Asset library
@ -77,3 +77,6 @@ A single Timeline scene overview is shared by scene/chapter and character-appear
- `continuity-story-state.webp`: D48.
- `series-project.webp`: D50.
- `story-bible.webp`: D52.
Current capture adjustments (2026-11-02): Locations uses its hierarchy list rather than the long detail page; Scenarios uses the named sandbox list because Compare repeats original numeric position labels and Timeline exposes a literal `:g` formatting suffix. No application workspace was redesigned. Primary recommendation/launch routes and diagnosis content remain unchanged.

View File

@ -0,0 +1,24 @@
# Official application screenshot library
14 shared captures, 15 recommendation contexts, 11 application view templates and all 52 diagnoses. Captured from the real Development PWA in the approved PlotDirector theme, using isolated fictional data. Source routes omit private fixture IDs. All public variants are in `/images/writing-solver/`.
| Asset identifier | Source view | Diagnoses sharing it | Public dimensions / aspect | Alt text |
| --- | --- | --- | --- | --- |
| `character-arc` | `Dynamics/Character` | D46 | 1280 × 800 (1280:800) | PlotDirector character arc comparing emotional weight, tension and intensity across Mara’s scenes. |
| `character-knowledge` | `Dynamics/Knowledge` | D21, D22, D23, D24, D25, D26 | 1280 × 660 (1280:660) | PlotDirector knowledge timeline showing Mara moving from suspicion to confirmed knowledge across scenes. |
| `character-records` | `Characters/Index` | D08, D09, D13 | 1280 × 520 (1280:520) | PlotDirector Characters bringing six cast records together for consistent reference. |
| `continuity-story-state` | `ContinuityExplorer/Index` | D48 | 1280 × 800 (1280:800) | PlotDirector Continuity Explorer showing recorded character and object locations at a story position. |
| `location-reference` | `Locations/Index` | D39 | 1280 × 800 (1280:800) | PlotDirector Locations organising a harbour, pier, archive and beacon in a nested hierarchy. |
| `object-journey` | `ContinuityExplorer/Index` | D40, D41, D42 | 1280 × 520 (1280:520) | PlotDirector object journey following the sealed letter between recorded locations across scenes. |
| `plot-lines-weave` | `PlotLineWorkspace/Index` | D01, D02, D03, D04, D06, D07, D51 | 1280 × 800 (1280:800) | PlotDirector Plot Lines workspace showing two narrative threads meeting at shared scenes. |
| `relationship-map` | `RelationshipMap/Index` | D15, D16, D17, D18, D19, D20 | 1280 × 800 (1280:800) | PlotDirector Relationship Map showing six characters, their connections and relationship details. |
| `scenario-alternatives` | `Scenarios/Index` | D37, D49 | 1280 × 420 (1280:420) | PlotDirector Scenarios showing three named alternative arrangements kept separate from the main manuscript. |
| `series-project` | `Projects/Details` | D50 | 1280 × 676 (1280:676) | PlotDirector series dashboard showing three ordered books and shared story records. |
| `story-bible` | `StoryBible/Index` | D52 | 1280 × 800 (1280:800) | PlotDirector Story Bible linking searchable character records to their scenes, viewpoints and knowledge notes. |
| `timeline-chronology` | `Timeline/Index` | D14, D27, D28, D29, D30, D31, D32, D38 | 1280 × 800 (1280:800) | PlotDirector Timeline comparing scene dates, locations and events in manuscript order. |
| `timeline-scene-overview` | `Timeline/Index` | D05, D10, D11, D12, D33, D34, D35, D36 | 1280 × 800 (1280:800) | PlotDirector Timeline organising chapters and scene summaries with characters and viewpoints. |
| `timeline-story-values` | `Timeline/Index` | D43, D44, D45, D47 | 1280 × 800 (1280:800) | PlotDirector Timeline graph comparing recorded tension, emotional weight, intensity and action. |
Every capture has 640px, 960px and 1280px AVIF and WebP variants. The machine-readable manifest records each file size, crop/source dimensions, source route, capabilities, diagnoses and master SHA-256: `PlotLine/Content/WritingSolver/Presentation/screenshot-assets-v1.json`. One image is rendered for the primary capability; optional secondary recommendations do not add large screenshots.
PNG masters and the capture manifest are retained internally at `/home/nick/.codex/artifacts/writing-solver-screenshots-20261102`. They contain only the approved fictional sample content. Credentials and the temporary Development identity are not public assets.

View File

@ -0,0 +1,31 @@
# Official result-page imagery
Baseline `48a2421`, Development runtime `cf1dc11`. Production remains unchanged.
The theme picker now spans the house/default PlotDirector button across both columns; the other six themes retain their names, order, persistence and three paired rows. No theme palette was changed.
The existing matrix was reviewed against actual controllers/views and the 52 primary recommendation mappings. The final library remains **14 shared captures across 11 application view templates**. Timeline scene overview is reused for both structure and character-appearance recommendations. Chronology and story values remain separate Timeline framings; object Journey and Story State remain distinct Continuity Explorer framings. See AssetManifest.md for all assets, source views, diagnoses, dimensions and editorial alt text.
## Capture decisions
All sources are actual screenshots from an installed Chromium PWA visiting `https://dev.plotdirector.com`, with `plotdirector` theme asserted before capture. Application data was persisted through existing UI/stored procedures in a dedicated temporary account: a three-book fictional series, two chapters/twelve scenes, six characters, two interweaving plot lines, relationships, varying scene metrics, location hierarchy, knowledge progression, object-location journey and three scenario sandboxes. No existing author's manuscript was published. The temporary entitlement override was confined to this fixture, time-limited and involved no external billing.
Playwright captures application viewport pixels, excluding browser tabs/address bar/bookmarks, OS taskbar and desktop. The account/title strip was cropped using its measured lower edge. Visible-text privacy checks rejected account names/emails and test/development/debug labels. The series crop additionally excludes recent activity containing the test identity. Images were visually inspected. No UI was fabricated, generated, reconstructed or selectively repainted. Sharp only resizes/encodes, with one permitted tighter crop of the scenario list to remove empty space. Native app icons/default book artwork remain part of the real application.
Most captures are 1280×800; cast, object, knowledge and scenario captures use tighter heights to avoid empty space. The series source uses a genuine 1440px layout to show three book columns, then scales to 1280px for delivery. A small section of the real ribbon establishes application context. An accessible image link opens the full WebP in a new tab for closer reading, without a gallery dependency.
## Matrix changes and deferred application defects
- **Locations:** hierarchy list (`Locations/Index`) replaces the long detail template; the latter spent much of the first frame on empty optional sections before scene references. The list clearly demonstrates place organisation and matches the existing launch route. The screenshot caption/alt now describe that visible hierarchy.
- **Scenarios:** named sandbox list (`Scenarios/Index`) replaces Compare. Compare detects moved scenes but repeats original numeric scene labels in the Main and Scenario position text; Timeline also renders a literal `:g` suffix in chapter/scene headings. These pre-existing view defects are deferred. The list demonstrates separate named alternatives, scene counts and Open timeline / Compare actions without suggesting a fabricated side-by-side timeline.
- A minor pre-existing chart issue can overlap chapter-guide text with a scene tick at a chapter boundary. Recorded metric curves, named legend controls and values remain readable; no workspace redesign was attempted.
No diagnosis prose, evidence rules, scoring, routing, feature recommendations, secondary recommendations or advice-article choices changed. Only capture metadata/caption for the revised Locations framing changed. All primary application launch routes remain unchanged (including valid Continuity Explorer deep-link aliases).
## Delivery and accessibility
Each master has AVIF plus WebP fallback, in 640/960/1280 widths. Full-size AVIFs are approximately 17–55 KB; full-size WebPs approximately 31–94 KB. The page chooses a single responsive variant via picture/srcset/sizes, with explicit intrinsic dimensions preserving aspect ratio. Screenshots use descriptive authored alt text. The full-size enlarge link announces the new-tab behaviour and has a visible keyboard focus ring. Below-fold imagery uses native lazy loading; live LCP measurements are recorded in Deployment.md.
The catalog maps capabilities to shared assets explicitly. Its generator preserves image metadata from the source manifest. A missing file still gets an honest unavailable-image fallback, but all current 52 diagnosis pages are required by tests to have real assets; the old Development Preview copy is removed.
Build, all-52 mapping, journey, browser, privacy and live performance/deployment evidence are recorded in Deployment.md. AssetManifest.md lists all sharing groups rather than duplicating 52 image files.

View File

@ -0,0 +1,31 @@
// Official captures: actual installed Development application with isolated, fictional persisted data.
const{chromium}=require('playwright'),fs=require('node:fs'),os=require('node:os'),path=require('node:path'),assert=require('node:assert/strict');
const base='https://dev.plotdirector.com',masters='/home/nick/.codex/artifacts/writing-solver-screenshots-20261102';let stage='setup';
(async()=>{const file=process.argv[2];assert(file?.startsWith('/tmp/pd-dev-browser-'));const id=JSON.parse(fs.readFileSync(file));assert.equal(id.Database,'PlotDirector_Development');assert(id.Email.startsWith('pwa-browser-'));assert(id.AssetID&&id.ScenarioID);
const profile=fs.mkdtempSync(path.join(os.tmpdir(),'pd-capture-'));const ctx=await chromium.launchPersistentContext(profile,{headless:false,viewport:{width:1280,height:944}});const cdp=await ctx.browser().newBrowserCDPSession();let installed=false;const manifestId=base+'/Projects';
try{const web=ctx.pages()[0];await web.goto(base+'/Account/Login');await web.locator('[name=Email]').fill(id.Email);await web.locator('[name=Password]').fill(id.Password);await web.locator('form button[type=submit]').click();await web.waitForURL('**/Projects');await web.waitForFunction(()=>!document.querySelector('[data-app-theme-choice]').disabled);assert.equal(await web.locator('html').getAttribute('data-app-theme'),'plotdirector');
stage='Timeline settings';await web.goto(base+'/Timeline/Settings?projectId='+id.ProjectID);await web.locator('[name=ShowMetricShape][type=checkbox]').check();await web.locator('[name=ShowSceneCards][type=checkbox]').check();await web.locator('form.timeline-settings-form button[type=submit]').click();
stage='PWA install';await web.goto(base+'/Projects');await cdp.send('PWA.install',{manifestId,installUrlOrBundleUrl:base+'/Projects'});installed=true;await cdp.send('PWA.changeAppUserSettings',{manifestId,displayMode:'standalone'});const opened=ctx.waitForEvent('page');await cdp.send('PWA.launch',{manifestId,url:base+'/Projects'});const app=await opened;await app.waitForLoadState();assert(await app.evaluate(()=>matchMedia('(display-mode: standalone)').matches));await app.setViewportSize({width:1280,height:944});
const q=`projectId=${id.ProjectID}&bookId=${id.BookID}`;const selection=process.env.CAPTURE_ASSETS?.split(',');const captures=selection?JSON.parse(fs.readFileSync(path.join(masters,'captures.json'))).filter(c=>!selection.includes(c.asset)):[];
async function capture(asset,url,prepare){if(selection&&!selection.includes(asset))return;stage=asset;await app.setViewportSize(asset==='series-project'?{width:1440,height:1000}:{width:1280,height:944});assert.equal((await app.goto(base+url)).status(),200);assert.equal(await app.locator('html').getAttribute('data-app-theme'),'plotdirector');if(prepare)await prepare();await app.evaluate(()=>document.fonts.ready);await app.waitForTimeout(400);
const height=['object-journey','character-records'].includes(asset)?520:asset==='series-project'?760:asset==='scenario-alternatives'?420:['object-journey','character-knowledge','scenario-alternatives'].includes(asset)?660:800;const width=asset==='series-project'?1440:1280;const y=Math.ceil(await app.locator('.pd-titlebar').evaluate(e=>e.getBoundingClientRect().bottom));const clip={x:0,y,width,height};const visible=await app.evaluate(clip=>{const out=[];const w=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT);while(w.nextNode()){const n=w.currentNode;if(!n.textContent.trim()||['SCRIPT','STYLE'].includes(n.parentElement.tagName))continue;const range=document.createRange();range.selectNode(n);const r=range.getBoundingClientRect();if(r.width&&r.height&&r.bottom>clip.y&&r.top<clip.y+clip.height&&getComputedStyle(n.parentElement).visibility!=='hidden')out.push(n.textContent.trim());}return out.join(' ');},clip);
assert(!visible.includes(id.Email)&&!visible.includes('Desktop Verification')&&!visible.includes('House Theme Verification')&&!/Development preview|debug|@example.invalid/i.test(visible),'Private/development label in capture');
await app.screenshot({path:path.join(masters,asset+'.png'),clip,animations:'disabled'});captures.push({asset,route:url.replace(/\d+/g,'{id}'),width,height,cropY:y,theme:'plotdirector',presentation:'actual-installed-pwa',privacyChecked:true});console.log('CAPTURE',asset);}
const timelinePrepare=async()=>{const hint=app.locator('[data-timeline-navigation-dismiss]');if(await hint.isVisible())await hint.click();await app.locator('.timeline-shell').scrollIntoViewIfNeeded();};
await capture('plot-lines-weave','/PlotLineWorkspace?'+q+'&plotLineId='+id.LineAID+'&plotLineId='+id.LineBID,async()=>{await app.locator('.plot-map-scroll').scrollIntoViewIfNeeded();});
await capture('timeline-chronology','/Timeline?'+q,timelinePrepare);
await capture('timeline-scene-overview','/Timeline?'+q,async()=>{await timelinePrepare();await app.locator('[data-timeline-density]').selectOption('expanded',{force:true});await app.locator('[data-timeline-zoom]').selectOption('scene-overview',{force:true});});
await capture('character-records','/Characters?projectId='+id.ProjectID);
await capture('relationship-map','/RelationshipMap?projectId='+id.ProjectID+'&bookId='+id.BookID);
await capture('character-knowledge','/Dynamics/Knowledge/'+id.CharacterAID+'?projectId='+id.ProjectID);
await capture('character-arc','/Dynamics/Character/'+id.CharacterAID+'?projectId='+id.ProjectID,async()=>{await app.locator('[data-metric-shape-chart]').scrollIntoViewIfNeeded();});
await capture('location-reference','/Locations?projectId='+id.ProjectID);
await capture('object-journey',`/ContinuityExplorer?projectId=${id.ProjectID}&mode=Journey&EntityTypes=Assets&assetId=${id.AssetID}&SceneRangeMode=Book&BookID=${id.BookID}`,async()=>{const toggle=app.getByRole('button',{name:'Toggle',exact:true});if(await app.locator('#continuity-filter-panel').isVisible())await toggle.click();});
await web.goto(base+'/Timeline/Settings?projectId='+id.ProjectID);await web.locator('[name=ShowSceneCards][type=checkbox]').uncheck();await web.locator('form.timeline-settings-form button[type=submit]').click();
await capture('timeline-story-values','/Timeline?'+q,async()=>{const hint=app.locator('[data-timeline-navigation-dismiss]');if(await hint.isVisible())await hint.click();await app.locator('[data-timeline-zoom]').selectOption('book',{force:true});await app.locator('[data-metric-shape-chart]').evaluate(e=>{window.scrollTo(0,window.scrollY+e.getBoundingClientRect().top-220);});});
await capture('scenario-alternatives','/Scenarios?projectId='+id.ProjectID);
await capture('continuity-story-state',`/ContinuityExplorer?projectId=${id.ProjectID}&sceneId=${id.LastSceneID}&EntityTypes=Assets&EntityTypes=Characters`,async()=>{if(await app.locator('#continuity-filter-panel').isVisible())await app.getByRole('button',{name:'Toggle',exact:true}).click();});
await capture('series-project','/Projects/Details/'+id.ProjectID);
await capture('story-bible','/StoryBible?projectId='+id.ProjectID);
fs.writeFileSync(path.join(masters,'captures.json'),JSON.stringify(captures,null,2));console.log('PASS 14 real Development PWA captures; account strip excluded; fictional data privacy checks passed.');
}catch(e){console.error('FAILED',stage,e.message);process.exitCode=1;}finally{if(installed)await cdp.send('PWA.uninstall',{manifestId}).catch(()=>{});await ctx.close();fs.rmSync(profile,{recursive:true,force:true});}})();

View File

@ -1,6 +1,6 @@
const {chromium}=require('playwright');const assert=require('node:assert/strict');
(async()=>{const b=await chromium.launch();try{const page=await b.newPage({viewport:{width:1440,height:1000}});await page.goto('http://127.0.0.1:5238/fixture?page=dashboard');
await page.locator('#accountMenuButton').click();assert.equal(await page.locator('[data-app-theme-choice]').count(),7);await page.locator('[data-app-theme-choice=plotdirector]').click();await page.waitForFunction(()=>!document.querySelector('[data-app-theme-choice]').disabled);await page.keyboard.press('Escape');assert.equal(await page.locator('html').getAttribute('data-app-theme'),'plotdirector');
await page.locator('#accountMenuButton').click();assert.equal(await page.locator('[data-app-theme-choice]').count(),7);const picker=await page.locator('.pd-theme-picker').boundingBox();const house=await page.locator('[data-app-theme-choice=plotdirector]').boundingBox();assert(Math.abs(picker.width-house.width)<1);const other=await page.locator('[data-app-theme-choice=modern-light]').boundingBox();assert(other.y>house.y&&other.width<house.width/2);await page.locator('[data-app-theme-choice=plotdirector]').click();await page.waitForFunction(()=>!document.querySelector('[data-app-theme-choice]').disabled);await page.keyboard.press('Escape');assert.equal(await page.locator('html').getAttribute('data-app-theme'),'plotdirector');
const pairs=await page.evaluate(()=>{
const style=getComputedStyle(document.documentElement),ctx=document.createElement('canvas').getContext('2d');
const lum=color=>{ctx.fillStyle=color;ctx.fillRect(0,0,1,1);return [...ctx.getImageData(0,0,1,1).data].slice(0,3).map(n=>n/255).map(n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4).reduce((a,n,i)=>a+n*[.2126,.7152,.0722][i],0)};

View File

@ -0,0 +1,27 @@
// Run from repository root after capture-solver-library.cjs. Never changes rendered UI.
const sharp=require('sharp'),fs=require('node:fs'),path=require('node:path'),crypto=require('node:crypto');
const masters=process.argv[2];if(!masters)throw Error('Pass the internal master directory');
const root='PlotLine/Content/WritingSolver/Presentation',file=root+'/results-v1.json',catalog=JSON.parse(fs.readFileSync(file));
const captures=JSON.parse(fs.readFileSync(path.join(masters,'captures.json')));
const descriptions={
'plot-lines-weave':'PlotDirector Plot Lines workspace showing two narrative threads meeting at shared scenes.',
'timeline-chronology':'PlotDirector Timeline comparing scene dates, locations and events in manuscript order.',
'timeline-scene-overview':'PlotDirector Timeline organising chapters and scene summaries with characters and viewpoints.',
'character-records':'PlotDirector Characters bringing six cast records together for consistent reference.',
'relationship-map':'PlotDirector Relationship Map showing six characters, their connections and relationship details.',
'character-knowledge':'PlotDirector knowledge timeline showing Mara moving from suspicion to confirmed knowledge across scenes.',
'character-arc':'PlotDirector character arc comparing emotional weight, tension and intensity across Mara’s scenes.',
'location-reference':'PlotDirector Locations organising a harbour, pier, archive and beacon in a nested hierarchy.',
'object-journey':'PlotDirector object journey following the sealed letter between recorded locations across scenes.',
'timeline-story-values':'PlotDirector Timeline graph comparing recorded tension, emotional weight, intensity and action.',
'scenario-alternatives':'PlotDirector Scenarios showing three named alternative arrangements kept separate from the main manuscript.',
'continuity-story-state':'PlotDirector Continuity Explorer showing recorded character and object locations at a story position.',
'series-project':'PlotDirector series dashboard showing three ordered books and shared story records.',
'story-bible':'PlotDirector Story Bible linking searchable character records to their scenes, viewpoints and knowledge notes.'};
(async()=>{const selection=process.env.CAPTURE_ASSETS?.split(',');const assets=selection?JSON.parse(fs.readFileSync(root+'/screenshot-assets-v1.json')).assets.filter(a=>!selection.includes(a.asset)):[];const out='PlotLine/wwwroot/images/writing-solver';fs.mkdirSync(out,{recursive:true});
for(const capture of captures){if(selection&&!selection.includes(capture.asset))continue;const key=capture.asset,source=path.join(masters,key+'.png'),metadata=await sharp(source).metadata();if(![1280,1440].includes(metadata.width))throw Error('Unexpected master width');const variants=[];
for(const width of [640,960,1280])for(const format of ['avif','webp']){const name=key+(width===1280?'':'-'+width)+'.'+format;let image=sharp(source).resize({width});image=format==='avif'?image.avif({quality:68,chromaSubsampling:'4:4:4',effort:6}):image.webp({quality:91,effort:6,smartSubsample:true});await image.toFile(path.join(out,name));variants.push({file:name,width,bytes:fs.statSync(path.join(out,name)).size});}
const caps=catalog.capabilities.filter(c=>c.asset===key+'.webp');const ids=caps.map(c=>c.id);const diagnoses=catalog.results.filter(r=>ids.includes(r.capability)).map(r=>r.solution);const alt=descriptions[key];if(!alt)throw Error('Missing editorial alt text');
for(const c of caps){c.image='/images/writing-solver/'+key+'.webp';c.imageAlt=alt;c.imageWidth=1280;c.imageHeight=Math.round(metadata.height*1280/metadata.width);}
assets.push({...capture,sourceWidth:metadata.width,sourceHeight:metadata.height,width:1280,height:Math.round(metadata.height*1280/metadata.width),sourceViews:[...new Set(caps.map(c=>c.captureView))],capabilities:ids,diagnoses,alt,aspect:`1280:${Math.round(metadata.height*1280/metadata.width)}`,masterSha256:crypto.createHash('sha256').update(fs.readFileSync(source)).digest('hex'),variants});console.log(key,variants.map(v=>v.bytes).join(','));}
if(assets.length!==14||catalog.capabilities.some(c=>!c.image))throw Error('Incomplete library');fs.writeFileSync(file,JSON.stringify(catalog,null,2)+'\n');fs.writeFileSync(root+'/screenshot-assets-v1.json',JSON.stringify({version:1,capturedOn:'2026-11-02',source:'https://dev.plotdirector.com',theme:'plotdirector',assets},null,2)+'\n');})();

View File

@ -6,7 +6,594 @@
"": {
"devDependencies": {
"chart.js": "4.4.9",
"playwright": "1.58.2"
"playwright": "1.58.2",
"sharp": "^0.35.5"
}
},
"node_modules/@emnapi/runtime": {
"version": "1.11.3",
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",
"integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
"tslib": "^2.4.0"
}
},
"node_modules/@img/colour": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
"integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@img/sharp-darwin-arm64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz",
"integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==",
"cpu": [
"arm64"
],
"dev": true,
"license": "Apache-2.0",
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-darwin-arm64": "1.3.4"
}
},
"node_modules/@img/sharp-darwin-x64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz",
"integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==",
"cpu": [
"x64"
],
"dev": true,
"license": "Apache-2.0",
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-darwin-x64": "1.3.4"
}
},
"node_modules/@img/sharp-freebsd-wasm32": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz",
"integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==",
"dev": true,
"license": "Apache-2.0",
"optional": true,
"os": [
"freebsd"
],
"dependencies": {
"@img/sharp-wasm32": "0.35.5"
},
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-darwin-arm64": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz",
"integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==",
"cpu": [
"arm64"
],
"dev": true,
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"darwin"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-darwin-x64": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz",
"integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==",
"cpu": [
"x64"
],
"dev": true,
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"darwin"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-linux-arm": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz",
"integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==",
"cpu": [
"arm"
],
"dev": true,
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"linux"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-linux-arm64": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz",
"integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==",
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"linux"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-linux-ppc64": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz",
"integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==",
"cpu": [
"ppc64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"linux"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-linux-riscv64": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz",
"integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==",
"cpu": [
"riscv64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"linux"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-linux-s390x": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz",
"integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==",
"cpu": [
"s390x"
],
"dev": true,
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"linux"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-linux-x64": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz",
"integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==",
"cpu": [
"x64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"linux"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-linuxmusl-arm64": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz",
"integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==",
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"musl"
],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"linux"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-libvips-linuxmusl-x64": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz",
"integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==",
"cpu": [
"x64"
],
"dev": true,
"libc": [
"musl"
],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
"linux"
],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-linux-arm": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz",
"integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==",
"cpu": [
"arm"
],
"dev": true,
"libc": [
"glibc"
],
"license": "Apache-2.0",
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-linux-arm": "1.3.4"
}
},
"node_modules/@img/sharp-linux-arm64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz",
"integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==",
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "Apache-2.0",
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-linux-arm64": "1.3.4"
}
},
"node_modules/@img/sharp-linux-ppc64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz",
"integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==",
"cpu": [
"ppc64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "Apache-2.0",
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-linux-ppc64": "1.3.4"
}
},
"node_modules/@img/sharp-linux-riscv64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz",
"integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==",
"cpu": [
"riscv64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "Apache-2.0",
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-linux-riscv64": "1.3.4"
}
},
"node_modules/@img/sharp-linux-s390x": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz",
"integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==",
"cpu": [
"s390x"
],
"dev": true,
"libc": [
"glibc"
],
"license": "Apache-2.0",
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-linux-s390x": "1.3.4"
}
},
"node_modules/@img/sharp-linux-x64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz",
"integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==",
"cpu": [
"x64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "Apache-2.0",
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-linux-x64": "1.3.4"
}
},
"node_modules/@img/sharp-linuxmusl-arm64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz",
"integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==",
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"musl"
],
"license": "Apache-2.0",
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-linuxmusl-arm64": "1.3.4"
}
},
"node_modules/@img/sharp-linuxmusl-x64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz",
"integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==",
"cpu": [
"x64"
],
"dev": true,
"libc": [
"musl"
],
"license": "Apache-2.0",
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-libvips-linuxmusl-x64": "1.3.4"
}
},
"node_modules/@img/sharp-wasm32": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz",
"integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==",
"dev": true,
"license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",
"optional": true,
"dependencies": {
"@emnapi/runtime": "^1.11.3"
},
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-webcontainers-wasm32": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz",
"integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==",
"cpu": [
"wasm32"
],
"dev": true,
"license": "Apache-2.0",
"optional": true,
"dependencies": {
"@img/sharp-wasm32": "0.35.5"
},
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-win32-arm64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz",
"integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==",
"cpu": [
"arm64"
],
"dev": true,
"license": "Apache-2.0 AND LGPL-3.0-or-later",
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-win32-ia32": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz",
"integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==",
"cpu": [
"ia32"
],
"dev": true,
"license": "Apache-2.0 AND LGPL-3.0-or-later",
"optional": true,
"os": [
"win32"
],
"engines": {
"node": "^20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@img/sharp-win32-x64": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz",
"integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==",
"cpu": [
"x64"
],
"dev": true,
"license": "Apache-2.0 AND LGPL-3.0-or-later",
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/@kurkle/color": {
@ -29,6 +616,16 @@
"pnpm": ">=8"
}
},
"node_modules/detect-libc": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
"dev": true,
"license": "Apache-2.0",
"engines": {
"node": ">=8"
}
},
"node_modules/fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
@ -75,6 +672,77 @@
"engines": {
"node": ">=18"
}
},
"node_modules/semver": {
"version": "7.8.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
"integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
"dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
},
"engines": {
"node": ">=10"
}
},
"node_modules/sharp": {
"version": "0.35.5",
"resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz",
"integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"@img/colour": "^1.1.0",
"detect-libc": "^2.1.2",
"semver": "^7.8.5"
},
"engines": {
"node": ">=20.9.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-darwin-arm64": "0.35.5",
"@img/sharp-darwin-x64": "0.35.5",
"@img/sharp-freebsd-wasm32": "0.35.5",
"@img/sharp-libvips-darwin-arm64": "1.3.4",
"@img/sharp-libvips-darwin-x64": "1.3.4",
"@img/sharp-libvips-linux-arm": "1.3.4",
"@img/sharp-libvips-linux-arm64": "1.3.4",
"@img/sharp-libvips-linux-ppc64": "1.3.4",
"@img/sharp-libvips-linux-riscv64": "1.3.4",
"@img/sharp-libvips-linux-s390x": "1.3.4",
"@img/sharp-libvips-linux-x64": "1.3.4",
"@img/sharp-libvips-linuxmusl-arm64": "1.3.4",
"@img/sharp-libvips-linuxmusl-x64": "1.3.4",
"@img/sharp-linux-arm": "0.35.5",
"@img/sharp-linux-arm64": "0.35.5",
"@img/sharp-linux-ppc64": "0.35.5",
"@img/sharp-linux-riscv64": "0.35.5",
"@img/sharp-linux-s390x": "0.35.5",
"@img/sharp-linux-x64": "0.35.5",
"@img/sharp-linuxmusl-arm64": "0.35.5",
"@img/sharp-linuxmusl-x64": "0.35.5",
"@img/sharp-webcontainers-wasm32": "0.35.5",
"@img/sharp-win32-arm64": "0.35.5",
"@img/sharp-win32-ia32": "0.35.5",
"@img/sharp-win32-x64": "0.35.5"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
},
"node_modules/tslib": {
"version": "2.9.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz",
"integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==",
"dev": true,
"license": "0BSD",
"optional": true
}
}
}

View File

@ -22,6 +22,7 @@
},
"devDependencies": {
"chart.js": "4.4.9",
"playwright": "1.58.2"
"playwright": "1.58.2",
"sharp": "^0.35.5"
}
}

View File

@ -0,0 +1,2 @@
const{chromium}=require('playwright'),fs=require('node:fs');
(async()=>{const b=await chromium.launch();const samples=[];try{for(const width of [390,1440])for(let run=0;run<3;run++){const c=await b.newContext({viewport:{width,height:1000}});const p=await c.newPage();await p.addInitScript(()=>{window.measured={lcp:0,cls:0};new PerformanceObserver(list=>{for(const e of list.getEntries())window.measured.lcp={ms:e.startTime,url:e.url,tag:e.element?.tagName};}).observe({type:'largest-contentful-paint',buffered:true});new PerformanceObserver(list=>{for(const e of list.getEntries())if(!e.hadRecentInput)window.measured.cls+=e.value;}).observe({type:'layout-shift',buffered:true});});await p.goto('https://dev.plotdirector.com/writing-problems/too-many-storylines-to-manage');await p.waitForLoadState('networkidle');await p.waitForTimeout(700);samples.push(await p.evaluate(({width,run})=>({width,run,...window.measured,images:performance.getEntriesByType('resource').filter(e=>e.initiatorType==='img').map(e=>({url:e.name,transfer:e.transferSize,encoded:e.encodedBodySize})),totalBytes:performance.getEntriesByType('resource').reduce((n,e)=>n+e.transferSize,0)}),{width,run}));await c.close();}fs.writeFileSync(process.argv[2],JSON.stringify(samples,null,2));console.log(JSON.stringify(samples));}finally{await b.close();}})().catch(e=>{console.error(e);process.exit(1)});

View File

@ -0,0 +1,4 @@
// Own isolated Development account only. No traces or login screenshots.
const{chromium}=require('playwright'),fs=require('node:fs'),assert=require('node:assert/strict');
(async()=>{const file=process.argv[2];assert(file?.startsWith('/tmp/pd-dev-browser-'));const id=JSON.parse(fs.readFileSync(file));assert.equal(id.Database,'PlotDirector_Development');assert(id.Email.startsWith('pwa-browser-'));const b=await chromium.launch();try{const p=await b.newPage({viewport:{width:1440,height:1000}});await p.goto('https://dev.plotdirector.com/Account/Login');await p.locator('[name=Email]').fill(id.Email);await p.locator('[name=Password]').fill(id.Password);await p.locator('form button[type=submit]').click();await p.waitForURL('**/Projects');await p.locator('#accountMenuButton').click();const first=await p.locator('[data-app-theme-choice=plotdirector]').boundingBox(),picker=await p.locator('.pd-theme-picker').boundingBox();assert(Math.abs(first.width-picker.width)<1);const alternatives=await p.locator('[data-app-theme-choice]:not([data-app-theme-choice=plotdirector])').all();assert.equal(alternatives.length,6);const rects=await Promise.all(alternatives.map(a=>a.boundingBox()));for(let i=0;i<6;i+=2)assert(Math.abs(rects[i].y-rects[i+1].y)<1&&rects[i].width<first.width/2);
await p.goto('https://dev.plotdirector.com/writing-problems');for(const choice of ['story-not-working','too-many','lost','unwanted']){await p.locator(`input[name=choices][value="${choice}"]`).check();await p.locator('.solver-form button[type=submit]').click();}assert.equal(p.url(),'https://dev.plotdirector.com/writing-problems/too-many-storylines-to-manage');assert(await p.locator('.solver-result-evidence > p').count()>1);assert((await p.locator('.solver-result-cta').innerText()).startsWith('Open '));await p.locator('.solver-tool-visual img').scrollIntoViewIfNeeded();await p.locator('.solver-tool-visual img').evaluate(e=>e.decode());assert(await p.locator('.solver-tool-visual img').evaluate(e=>e.naturalWidth>0));assert.equal(await p.locator('.solver-visual-placeholder').count(),0);console.log('PASS live signed-in completion: personalised evidence, clean slug, real image, workspace CTA; full-width PlotDirector picker row plus three paired alternative rows.');}finally{await b.close();}})().catch(e=>{console.error(e.message);process.exit(1)});

View File

@ -22,7 +22,7 @@ assert(['127.0.0.1:5238','dev.plotdirector.com'].includes(new URL(base).host));
assert.equal(await page.locator('.solver-result-panel .solver-result-cta').count(),1);
assert.equal(await page.locator('.solver-result-cta').getAttribute('href'),tool.tour);
assert((await page.locator('.solver-result-cta').innerText()).startsWith('See how'));
assert.equal(await page.locator('.solver-visual-placeholder').count(),1);assert.equal(await page.locator('.solver-tool-visual img').count(),0);
assert.equal(await page.locator('.solver-visual-placeholder').count(),0);assert.equal(await page.locator('.solver-tool-visual img').count(),1);assert(await page.locator('.solver-tool-visual img').evaluate(e=>e.complete&&e.naturalWidth>0));
assert.equal(await page.locator('.solver-also').count(),content.secondary?1:0);
assert.equal(await page.locator('.solver-deeper a').count(),content.articleKey?1:0);
if(content.articleKey){const article=await page.locator('.solver-deeper a').getAttribute('href');assert.equal((await context.request.get(base+article)).status(),200);}

View File

@ -22,7 +22,7 @@ assert(['127.0.0.1:5238','dev.plotdirector.com'].includes(new URL(base).host));
assert.equal(await page.locator('.solver-result-panel .solver-result-cta').count(),1);
assert.equal(await page.locator('.solver-result-cta').getAttribute('href'),tool.tour);
assert((await page.locator('.solver-result-cta').innerText()).startsWith('See how'));
assert.equal(await page.locator('.solver-visual-placeholder').count(),1);assert.equal(await page.locator('.solver-tool-visual img').count(),0);
assert.equal(await page.locator('.solver-visual-placeholder').count(),0);assert.equal(await page.locator('.solver-tool-visual img').count(),1);assert(await page.locator('.solver-tool-visual img').evaluate(e=>e.complete&&e.naturalWidth>0));
assert.equal(await page.locator('.solver-also').count(),content.secondary?1:0);
assert.equal(await page.locator('.solver-deeper a').count(),content.articleKey?1:0);
if(content.articleKey){const article=await page.locator('.solver-deeper a').getAttribute('href');assert.equal((await context.request.get(base+article)).status(),200);}

View File

@ -0,0 +1,10 @@
const{chromium}=require('playwright'),fs=require('node:fs'),assert=require('node:assert/strict');
const base=process.env.SOLVER_BASE_URL||'http://127.0.0.1:5238';assert(['127.0.0.1:5238','dev.plotdirector.com'].includes(new URL(base).host));
const graph=JSON.parse(fs.readFileSync('PlotLine/Content/WritingSolver/Candidates/curated-v2-stage1-repair/writing-solver-curated-v2-stage1-repair.json'));
const catalog=JSON.parse(fs.readFileSync('PlotLine/Content/WritingSolver/Presentation/results-v1.json'));
(async()=>{const b=await chromium.launch();try{const representatives=[];for(const cap of catalog.capabilities){if(representatives.some(c=>c.captureView===cap.captureView))continue;representatives.push(cap);}assert.equal(representatives.length,11);
for(const width of [390,768,1440,1920]){const c=await b.newContext({viewport:{width,height:1100}});const p=await c.newPage();for(const cap of representatives){const result=catalog.results.find(r=>r.capability===cap.id);const solution=graph.solutions.find(s=>s.id===result.solution);const images=[];p.on('requestfinished',r=>{if(r.url().includes('/images/writing-solver/'))images.push(r.url());});await p.goto(base+'/writing-problems/'+solution.slug);const img=p.locator('.solver-tool-visual img');await img.scrollIntoViewIfNeeded();await img.evaluate(e=>e.decode());assert(await img.evaluate(e=>e.complete&&e.naturalWidth>0));assert.equal(await img.getAttribute('alt'),cap.imageAlt);assert.equal(await p.locator('.solver-visual-placeholder').count(),0);assert.equal(await p.locator('.solver-tool-visual picture').count(),1);assert.equal(await p.locator('.solver-tool-visual img').count(),1);assert(!(await p.locator('main').innerText()).includes('Development preview'));assert.equal(await p.locator('.solver-space').evaluate(e=>e.getBoundingClientRect().width),width);assert.equal(await p.evaluate(()=>document.documentElement.scrollWidth>innerWidth),false);assert.equal(new URL(p.url()).search,'');assert(images.length===1,'Only the selected image variant should download');assert.equal(await p.locator('.solver-image-link').getAttribute('target'),'_blank');assert((await p.locator('.solver-content').boundingBox()).width<=930);p.removeAllListeners('requestfinished');}await c.close();}
const c=await b.newContext();const p=await c.newPage();for(const solution of graph.solutions){await p.goto(base+'/writing-problems/'+solution.slug);const img=p.locator('.solver-tool-visual img');await img.scrollIntoViewIfNeeded();await img.evaluate(e=>e.decode());assert.equal(await img.count(),1);assert(await img.evaluate(e=>e.naturalWidth>0));assert.equal(await p.locator('.solver-visual-placeholder').count(),0);}
// Test the normal browser fallback when AVIF is unsupported, without changing the application.
await p.route('**/writing-problems/*',async route=>{const response=await route.fetch();await route.fulfill({response,body:(await response.text()).replace('type="image/avif"','type="image/unsupported"')});});await p.goto(base+'/writing-problems/'+graph.solutions[0].slug);await p.locator('.solver-tool-visual img').scrollIntoViewIfNeeded();await p.locator('.solver-tool-visual img').evaluate(e=>e.decode());assert((await p.locator('.solver-tool-visual img').evaluate(e=>e.currentSrc)).endsWith('.webp'));
console.log('PASS all 52 real screenshot mappings; 11 view families at 390/768/1440/1920; one downloaded asset, AVIF/WebP fallback, alt, stable dimensions, clean URLs, full-width canvas, readable column and no overflow.');await c.close();}finally{await b.close();}})().catch(e=>{console.error(e);process.exit(1)});

View File

@ -44,7 +44,13 @@ internal static class WritingSolverResultTests
});
Check(exploration.Complete && exploration.StateCount==85140 && exploration.PrimarySolutions.Length==52,"Presentation altered Stage 1 reachability.");
Check(results.Catalog.Results.Count(r=>r.Principle is not null)<26,"Principles should not be padded across every result.");
foreach(var capability in results.Catalog.Capabilities)Check(!results.HasImage(capability),"This stage must not manufacture final screenshot assets.");
foreach(var capability in results.Catalog.Capabilities)
{
Check(results.HasImage(capability) && capability.ImageAlt.Length>30,"Real screenshot and descriptive alt text required.");
foreach(var width in new[]{640,960,1280})foreach(var format in new[]{"avif","webp"})
Check(File.Exists(Path.Combine(Root,"PlotLine/wwwroot",results.ImageVariant(capability,width,format).TrimStart('/'))),"Responsive screenshot variant missing.");
}
Check(results.Catalog.Capabilities.Select(c=>c.Image).Distinct().Count()==14,"Shared screenshot library must remain economical.");
var unknown=results.Catalog.Capabilities[0];unknown.Image="/images/writing-solver/not-yet-captured.webp";Check(!results.HasImage(unknown),"A missing configured image must retain a placeholder.");
}
public static void ListeningAndVariants()

View File

@ -10,8 +10,11 @@
"captureView": "PlotLineWorkspace/Index",
"asset": "plot-lines-weave.webp",
"capture": "Two or three selected lines, shared scene junctions, contribution roles and dashed scene/chapter gaps.",
"image": null,
"previewCaption": "Selected storylines, shared scenes and the gaps between contributions."
"image": "/images/writing-solver/plot-lines-weave.webp",
"previewCaption": "Selected storylines, shared scenes and the gaps between contributions.",
"imageAlt": "PlotDirector Plot Lines workspace showing two narrative threads meeting at shared scenes.",
"imageWidth": 1280,
"imageHeight": 800
},
{
"id": "timeline",
@ -23,8 +26,11 @@
"captureView": "Timeline/Index",
"asset": "timeline-chronology.webp",
"capture": "Departure/arrival or cause/reaction scenes with recorded dates, times, duration and location visible.",
"image": null,
"previewCaption": "Scene timing and locations alongside the manuscript sequence."
"image": "/images/writing-solver/timeline-chronology.webp",
"previewCaption": "Scene timing and locations alongside the manuscript sequence.",
"imageAlt": "PlotDirector Timeline comparing scene dates, locations and events in manuscript order.",
"imageWidth": 1280,
"imageHeight": 800
},
{
"id": "scenes",
@ -36,8 +42,11 @@
"captureView": "Timeline/Index",
"asset": "timeline-scene-overview.webp",
"capture": "Chapter bands and several scene cards with summaries, purpose labels, character chips and POV labels.",
"image": null,
"previewCaption": "Chapters and scene cards with purposes, characters and points of view."
"image": "/images/writing-solver/timeline-scene-overview.webp",
"previewCaption": "Chapters and scene cards with purposes, characters and points of view.",
"imageAlt": "PlotDirector Timeline organising chapters and scene summaries with characters and viewpoints.",
"imageWidth": 1280,
"imageHeight": 800
},
{
"id": "cast",
@ -49,8 +58,11 @@
"captureView": "Characters/Index",
"asset": "character-records.webp",
"capture": "A fictional cast with distinguishable records; an example record can be opened during the later capture session.",
"image": null,
"previewCaption": "Cast records that keep established details close to their scenes."
"image": "/images/writing-solver/character-records.webp",
"previewCaption": "Cast records that keep established details close to their scenes.",
"imageAlt": "PlotDirector Characters bringing six cast records together for consistent reference.",
"imageWidth": 1280,
"imageHeight": 520
},
{
"id": "appearances",
@ -62,8 +74,11 @@
"captureView": "Timeline/Index",
"asset": "timeline-scene-overview.webp",
"capture": "The same chapter/scene overview used for structure, with readable character chips and POV labels.",
"image": null,
"previewCaption": "Character and viewpoint labels across the scene sequence."
"image": "/images/writing-solver/timeline-scene-overview.webp",
"previewCaption": "Character and viewpoint labels across the scene sequence.",
"imageAlt": "PlotDirector Timeline organising chapters and scene summaries with characters and viewpoints.",
"imageWidth": 1280,
"imageHeight": 800
},
{
"id": "relationships",
@ -75,8 +90,11 @@
"captureView": "RelationshipMap/Index",
"asset": "relationship-map.webp",
"capture": "A small readable network at a named story position, with connection state, direction and selected relationship detail.",
"image": null,
"previewCaption": "Connections and their recorded states at a chosen story position."
"image": "/images/writing-solver/relationship-map.webp",
"previewCaption": "Connections and their recorded states at a chosen story position.",
"imageAlt": "PlotDirector Relationship Map showing six characters, their connections and relationship details.",
"imageWidth": 1280,
"imageHeight": 800
},
{
"id": "knowledge",
@ -88,8 +106,11 @@
"captureView": "Dynamics/Knowledge",
"asset": "character-knowledge.webp",
"capture": "One fictional character’s learning events with book/chapter/scene references, information item and knowledge state.",
"image": null,
"previewCaption": "The scenes where one character learns, suspects or misunderstands something."
"image": "/images/writing-solver/character-knowledge.webp",
"previewCaption": "The scenes where one character learns, suspects or misunderstands something.",
"imageAlt": "PlotDirector knowledge timeline showing Mara moving from suspicion to confirmed knowledge across scenes.",
"imageWidth": 1280,
"imageHeight": 660
},
{
"id": "development",
@ -101,8 +122,11 @@
"captureView": "Dynamics/Character",
"asset": "character-arc.webp",
"capture": "One fictional character’s recorded arc with readable scene references and any configured development values.",
"image": null,
"previewCaption": "One character’s recorded development and story involvement."
"image": "/images/writing-solver/character-arc.webp",
"previewCaption": "One character’s recorded development and story involvement.",
"imageAlt": "PlotDirector character arc comparing emotional weight, tension and intensity across Mara’s scenes.",
"imageWidth": 1280,
"imageHeight": 800
},
{
"id": "locations",
@ -111,11 +135,14 @@
"shows": "Keep an agreed reference for each place and open its record when checking how it is described or used in scenes.",
"tour": "/features#continuity",
"workspaceRoute": "/Locations?projectId={projectId}",
"captureView": "Locations/Details",
"captureView": "Locations/Index",
"asset": "location-reference.webp",
"capture": "A fictional place’s description and scene references. Do not imply automatic version history or geometry comparison.",
"image": null,
"previewCaption": "A reference for an established place and the scenes using it."
"capture": "A named harbour with nested pier, archive and beacon locations, showing the shared place hierarchy.",
"image": "/images/writing-solver/location-reference.webp",
"previewCaption": "A shared reference for places and their organisation in the story world.",
"imageAlt": "PlotDirector Locations organising a harbour, pier, archive and beacon in a nested hierarchy.",
"imageWidth": 1280,
"imageHeight": 800
},
{
"id": "objects",
@ -127,8 +154,11 @@
"captureView": "ContinuityExplorer/Index",
"asset": "object-journey.webp",
"capture": "Journey mode, Assets selected, a named fictional object and its recorded states across several scenes.",
"image": null,
"previewCaption": "Recorded object states followed through a range of scenes."
"image": "/images/writing-solver/object-journey.webp",
"previewCaption": "Recorded object states followed through a range of scenes.",
"imageAlt": "PlotDirector object journey following the sealed letter between recorded locations across scenes.",
"imageWidth": 1280,
"imageHeight": 520
},
{
"id": "flow",
@ -140,8 +170,11 @@
"captureView": "Timeline/Index",
"asset": "timeline-story-values.webp",
"capture": "Metric Shape enabled with a readable recorded tension/development value, chapter bands and scene positions.",
"image": null,
"previewCaption": "Recorded scene values showing the shape of change across the manuscript."
"image": "/images/writing-solver/timeline-story-values.webp",
"previewCaption": "Recorded scene values showing the shape of change across the manuscript.",
"imageAlt": "PlotDirector Timeline graph comparing recorded tension, emotional weight, intensity and action.",
"imageWidth": 1280,
"imageHeight": 800
},
{
"id": "scenarios",
@ -150,11 +183,14 @@
"shows": "Keep proposed scene arrangements separate from the established manuscript, then inspect how a different order would work.",
"tour": "/features#story",
"workspaceRoute": "/Scenarios?projectId={projectId}",
"captureView": "Scenarios/Compare",
"captureView": "Scenarios/Index",
"asset": "scenario-alternatives.webp",
"capture": "One named fictional scenario compared with the main order, showing the real changed-scene comparison. Reach it from the scenario list; do not fabricate simultaneous timelines.",
"image": null,
"previewCaption": "Named alternatives kept separate from the established order."
"capture": "Three named planning sandboxes, their descriptions, scene counts and Open timeline / Compare controls.",
"image": "/images/writing-solver/scenario-alternatives.webp",
"previewCaption": "Named alternatives kept separate from the established order.",
"imageAlt": "PlotDirector Scenarios showing three named alternative arrangements kept separate from the main manuscript.",
"imageWidth": 1280,
"imageHeight": 420
},
{
"id": "continuity",
@ -166,8 +202,11 @@
"captureView": "ContinuityExplorer/Index",
"asset": "continuity-story-state.webp",
"capture": "Story State mode at a selected scene with a few readable character/asset/location states and provenance labels.",
"image": null,
"previewCaption": "Recorded story state at a selected point in the manuscript."
"image": "/images/writing-solver/continuity-story-state.webp",
"previewCaption": "Recorded story state at a selected point in the manuscript.",
"imageAlt": "PlotDirector Continuity Explorer showing recorded character and object locations at a story position.",
"imageWidth": 1280,
"imageHeight": 800
},
{
"id": "series",
@ -179,8 +218,11 @@
"captureView": "Projects/Details",
"asset": "series-project.webp",
"capture": "An ordered fictional multi-book project with book cards and navigation to shared characters, story bible and plot lines.",
"image": null,
"previewCaption": "Books in order with shared story records close at hand."
"image": "/images/writing-solver/series-project.webp",
"previewCaption": "Books in order with shared story records close at hand.",
"imageAlt": "PlotDirector series dashboard showing three ordered books and shared story records.",
"imageWidth": 1280,
"imageHeight": 676
},
{
"id": "organisation",
@ -192,8 +234,11 @@
"captureView": "StoryBible/Index",
"asset": "story-bible.webp",
"capture": "A fictional project’s searchable story bible with a few related records and meaningful links to their source views.",
"image": null,
"previewCaption": "Searchable story records and links back to their context."
"image": "/images/writing-solver/story-bible.webp",
"previewCaption": "Searchable story records and links back to their context.",
"imageAlt": "PlotDirector Story Bible linking searchable character records to their scenes, viewpoints and knowledge notes.",
"imageWidth": 1280,
"imageHeight": 800
}
],
"results": [

View File

@ -0,0 +1,831 @@
{
"version": 1,
"capturedOn": "2026-11-02",
"source": "https://dev.plotdirector.com",
"theme": "plotdirector",
"assets": [
{
"asset": "plot-lines-weave",
"route": "/PlotLineWorkspace?projectId={id}&bookId={id}&plotLineId={id}&plotLineId={id}",
"width": 1280,
"height": 800,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 800,
"sourceViews": [
"PlotLineWorkspace/Index"
],
"capabilities": [
"plot"
],
"diagnoses": [
"d01",
"d02",
"d03",
"d04",
"d06",
"d07",
"d51"
],
"alt": "PlotDirector Plot Lines workspace showing two narrative threads meeting at shared scenes.",
"aspect": "1280:800",
"masterSha256": "c9c832bfc7b3e830475e5aa11d08954fdd69655ed22c22165f6e3a0dcebf1be4",
"variants": [
{
"file": "plot-lines-weave-640.avif",
"width": 640,
"bytes": 14201
},
{
"file": "plot-lines-weave-640.webp",
"width": 640,
"bytes": 21878
},
{
"file": "plot-lines-weave-960.avif",
"width": 960,
"bytes": 24533
},
{
"file": "plot-lines-weave-960.webp",
"width": 960,
"bytes": 39076
},
{
"file": "plot-lines-weave.avif",
"width": 1280,
"bytes": 28577
},
{
"file": "plot-lines-weave.webp",
"width": 1280,
"bytes": 55858
}
]
},
{
"asset": "timeline-chronology",
"route": "/Timeline?projectId={id}&bookId={id}",
"width": 1280,
"height": 800,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 800,
"sourceViews": [
"Timeline/Index"
],
"capabilities": [
"timeline"
],
"diagnoses": [
"d14",
"d27",
"d28",
"d29",
"d30",
"d31",
"d32",
"d38"
],
"alt": "PlotDirector Timeline comparing scene dates, locations and events in manuscript order.",
"aspect": "1280:800",
"masterSha256": "d76ddd331490d2557a988d3b5b0cb298972cb09dcc67cee1cbdbbbb063c7521b",
"variants": [
{
"file": "timeline-chronology-640.avif",
"width": 640,
"bytes": 18048
},
{
"file": "timeline-chronology-640.webp",
"width": 640,
"bytes": 28638
},
{
"file": "timeline-chronology-960.avif",
"width": 960,
"bytes": 33902
},
{
"file": "timeline-chronology-960.webp",
"width": 960,
"bytes": 54346
},
{
"file": "timeline-chronology.avif",
"width": 1280,
"bytes": 42874
},
{
"file": "timeline-chronology.webp",
"width": 1280,
"bytes": 75876
}
]
},
{
"asset": "character-records",
"route": "/Characters?projectId={id}",
"width": 1280,
"height": 520,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 520,
"sourceViews": [
"Characters/Index"
],
"capabilities": [
"cast"
],
"diagnoses": [
"d08",
"d09",
"d13"
],
"alt": "PlotDirector Characters bringing six cast records together for consistent reference.",
"aspect": "1280:520",
"masterSha256": "ec66a0d741b57c4ce0eac7593a1817fd0a473cb83426ac0c86e1469c279781f5",
"variants": [
{
"file": "character-records-640.avif",
"width": 640,
"bytes": 7789
},
{
"file": "character-records-640.webp",
"width": 640,
"bytes": 11610
},
{
"file": "character-records-960.avif",
"width": 960,
"bytes": 14342
},
{
"file": "character-records-960.webp",
"width": 960,
"bytes": 21714
},
{
"file": "character-records.avif",
"width": 1280,
"bytes": 17531
},
{
"file": "character-records.webp",
"width": 1280,
"bytes": 31248
}
]
},
{
"asset": "relationship-map",
"route": "/RelationshipMap?projectId={id}&bookId={id}",
"width": 1280,
"height": 800,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 800,
"sourceViews": [
"RelationshipMap/Index"
],
"capabilities": [
"relationships"
],
"diagnoses": [
"d15",
"d16",
"d17",
"d18",
"d19",
"d20"
],
"alt": "PlotDirector Relationship Map showing six characters, their connections and relationship details.",
"aspect": "1280:800",
"masterSha256": "b49675d01f765a86e6c5bd3366c1efb307b4ba672b0f55b82137d1ec9347a554",
"variants": [
{
"file": "relationship-map-640.avif",
"width": 640,
"bytes": 11736
},
{
"file": "relationship-map-640.webp",
"width": 640,
"bytes": 18302
},
{
"file": "relationship-map-960.avif",
"width": 960,
"bytes": 20134
},
{
"file": "relationship-map-960.webp",
"width": 960,
"bytes": 31426
},
{
"file": "relationship-map.avif",
"width": 1280,
"bytes": 24992
},
{
"file": "relationship-map.webp",
"width": 1280,
"bytes": 45264
}
]
},
{
"asset": "character-knowledge",
"route": "/Dynamics/Knowledge/{id}?projectId={id}",
"width": 1280,
"height": 660,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 660,
"sourceViews": [
"Dynamics/Knowledge"
],
"capabilities": [
"knowledge"
],
"diagnoses": [
"d21",
"d22",
"d23",
"d24",
"d25",
"d26"
],
"alt": "PlotDirector knowledge timeline showing Mara moving from suspicion to confirmed knowledge across scenes.",
"aspect": "1280:660",
"masterSha256": "0eaef415b71419e07049e6b862245cbc457213ca1138e3cd2bbcf6e2840ad3d6",
"variants": [
{
"file": "character-knowledge-640.avif",
"width": 640,
"bytes": 11777
},
{
"file": "character-knowledge-640.webp",
"width": 640,
"bytes": 17538
},
{
"file": "character-knowledge-960.avif",
"width": 960,
"bytes": 22609
},
{
"file": "character-knowledge-960.webp",
"width": 960,
"bytes": 33244
},
{
"file": "character-knowledge.avif",
"width": 1280,
"bytes": 29985
},
{
"file": "character-knowledge.webp",
"width": 1280,
"bytes": 48582
}
]
},
{
"asset": "character-arc",
"route": "/Dynamics/Character/{id}?projectId={id}",
"width": 1280,
"height": 800,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 800,
"sourceViews": [
"Dynamics/Character"
],
"capabilities": [
"development"
],
"diagnoses": [
"d46"
],
"alt": "PlotDirector character arc comparing emotional weight, tension and intensity across Mara’s scenes.",
"aspect": "1280:800",
"masterSha256": "2ffa01cf2b06651ac2d8e14f00bf04d6af4f8003c6a2278d19ebb79d1b427935",
"variants": [
{
"file": "character-arc-640.avif",
"width": 640,
"bytes": 16410
},
{
"file": "character-arc-640.webp",
"width": 640,
"bytes": 26188
},
{
"file": "character-arc-960.avif",
"width": 960,
"bytes": 27979
},
{
"file": "character-arc-960.webp",
"width": 960,
"bytes": 44612
},
{
"file": "character-arc.avif",
"width": 1280,
"bytes": 35362
},
{
"file": "character-arc.webp",
"width": 1280,
"bytes": 65396
}
]
},
{
"asset": "location-reference",
"route": "/Locations?projectId={id}",
"width": 1280,
"height": 800,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 800,
"sourceViews": [
"Locations/Index"
],
"capabilities": [
"locations"
],
"diagnoses": [
"d39"
],
"alt": "PlotDirector Locations organising a harbour, pier, archive and beacon in a nested hierarchy.",
"aspect": "1280:800",
"masterSha256": "359101977d1cb965835c032e941dfe027c33f19088555b9ac8a43b12f698d422",
"variants": [
{
"file": "location-reference-640.avif",
"width": 640,
"bytes": 7965
},
{
"file": "location-reference-640.webp",
"width": 640,
"bytes": 12980
},
{
"file": "location-reference-960.avif",
"width": 960,
"bytes": 13856
},
{
"file": "location-reference-960.webp",
"width": 960,
"bytes": 21732
},
{
"file": "location-reference.avif",
"width": 1280,
"bytes": 17116
},
{
"file": "location-reference.webp",
"width": 1280,
"bytes": 33150
}
]
},
{
"asset": "object-journey",
"route": "/ContinuityExplorer?projectId={id}&mode=Journey&EntityTypes=Assets&assetId={id}&SceneRangeMode=Book&BookID={id}",
"width": 1280,
"height": 520,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 520,
"sourceViews": [
"ContinuityExplorer/Index"
],
"capabilities": [
"objects"
],
"diagnoses": [
"d40",
"d41",
"d42"
],
"alt": "PlotDirector object journey following the sealed letter between recorded locations across scenes.",
"aspect": "1280:520",
"masterSha256": "5c1b78e798b559ae9fe48fe9a95680b3b00623a5af8a63702a138891ffac50b1",
"variants": [
{
"file": "object-journey-640.avif",
"width": 640,
"bytes": 8289
},
{
"file": "object-journey-640.webp",
"width": 640,
"bytes": 12622
},
{
"file": "object-journey-960.avif",
"width": 960,
"bytes": 14360
},
{
"file": "object-journey-960.webp",
"width": 960,
"bytes": 23672
},
{
"file": "object-journey.avif",
"width": 1280,
"bytes": 17380
},
{
"file": "object-journey.webp",
"width": 1280,
"bytes": 32674
}
]
},
{
"asset": "timeline-story-values",
"route": "/Timeline?projectId={id}&bookId={id}",
"width": 1280,
"height": 800,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 800,
"sourceViews": [
"Timeline/Index"
],
"capabilities": [
"flow"
],
"diagnoses": [
"d43",
"d44",
"d45",
"d47"
],
"alt": "PlotDirector Timeline graph comparing recorded tension, emotional weight, intensity and action.",
"aspect": "1280:800",
"masterSha256": "c647da7e010f4c323ff18b30102a8b6cbdbd027ae0f73eae250d17eb925805fe",
"variants": [
{
"file": "timeline-story-values-640.avif",
"width": 640,
"bytes": 13776
},
{
"file": "timeline-story-values-640.webp",
"width": 640,
"bytes": 23746
},
{
"file": "timeline-story-values-960.avif",
"width": 960,
"bytes": 23930
},
{
"file": "timeline-story-values-960.webp",
"width": 960,
"bytes": 41548
},
{
"file": "timeline-story-values.avif",
"width": 1280,
"bytes": 28599
},
{
"file": "timeline-story-values.webp",
"width": 1280,
"bytes": 58486
}
]
},
{
"asset": "scenario-alternatives",
"route": "/Scenarios?projectId={id}",
"width": 1280,
"height": 420,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 420,
"sourceViews": [
"Scenarios/Index"
],
"capabilities": [
"scenarios"
],
"diagnoses": [
"d37",
"d49"
],
"alt": "PlotDirector Scenarios showing three named alternative arrangements kept separate from the main manuscript.",
"aspect": "1280:420",
"masterSha256": "5a2f6f3cff579f03f15c88ccacd20b259e38d67a3e168fdfcbd139dee596f4f0",
"variants": [
{
"file": "scenario-alternatives-640.avif",
"width": 640,
"bytes": 10400
},
{
"file": "scenario-alternatives-640.webp",
"width": 640,
"bytes": 15504
},
{
"file": "scenario-alternatives-960.avif",
"width": 960,
"bytes": 18367
},
{
"file": "scenario-alternatives-960.webp",
"width": 960,
"bytes": 28260
},
{
"file": "scenario-alternatives.avif",
"width": 1280,
"bytes": 24197
},
{
"file": "scenario-alternatives.webp",
"width": 1280,
"bytes": 43820
}
]
},
{
"asset": "continuity-story-state",
"route": "/ContinuityExplorer?projectId={id}&sceneId={id}&EntityTypes=Assets&EntityTypes=Characters",
"width": 1280,
"height": 800,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 800,
"sourceViews": [
"ContinuityExplorer/Index"
],
"capabilities": [
"continuity"
],
"diagnoses": [
"d48"
],
"alt": "PlotDirector Continuity Explorer showing recorded character and object locations at a story position.",
"aspect": "1280:800",
"masterSha256": "1fee1981e3a0269e26ce97290b10d37adbd24184cc8c91643fb399cc1cb6a4ee",
"variants": [
{
"file": "continuity-story-state-640.avif",
"width": 640,
"bytes": 14041
},
{
"file": "continuity-story-state-640.webp",
"width": 640,
"bytes": 21750
},
{
"file": "continuity-story-state-960.avif",
"width": 960,
"bytes": 24718
},
{
"file": "continuity-story-state-960.webp",
"width": 960,
"bytes": 39868
},
{
"file": "continuity-story-state.avif",
"width": 1280,
"bytes": 29449
},
{
"file": "continuity-story-state.webp",
"width": 1280,
"bytes": 56780
}
]
},
{
"asset": "series-project",
"route": "/Projects/Details/{id}",
"width": 1280,
"height": 676,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1440,
"sourceHeight": 760,
"sourceViews": [
"Projects/Details"
],
"capabilities": [
"series"
],
"diagnoses": [
"d50"
],
"alt": "PlotDirector series dashboard showing three ordered books and shared story records.",
"aspect": "1280:676",
"masterSha256": "4929ae118e6aaab7ef1c7380bcda896d914b367dad36ec724f6d94f6ab5fb7c2",
"variants": [
{
"file": "series-project-640.avif",
"width": 640,
"bytes": 11704
},
{
"file": "series-project-640.webp",
"width": 640,
"bytes": 18676
},
{
"file": "series-project-960.avif",
"width": 960,
"bytes": 21400
},
{
"file": "series-project-960.webp",
"width": 960,
"bytes": 32906
},
{
"file": "series-project.avif",
"width": 1280,
"bytes": 32074
},
{
"file": "series-project.webp",
"width": 1280,
"bytes": 47478
}
]
},
{
"asset": "story-bible",
"route": "/StoryBible?projectId={id}",
"width": 1280,
"height": 800,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 800,
"sourceViews": [
"StoryBible/Index"
],
"capabilities": [
"organisation"
],
"diagnoses": [
"d52"
],
"alt": "PlotDirector Story Bible linking searchable character records to their scenes, viewpoints and knowledge notes.",
"aspect": "1280:800",
"masterSha256": "70927dd3db325ced0c8aa489cb81e65c589b203708d61da2ef34ca71407137cf",
"variants": [
{
"file": "story-bible-640.avif",
"width": 640,
"bytes": 21872
},
{
"file": "story-bible-640.webp",
"width": 640,
"bytes": 35210
},
{
"file": "story-bible-960.avif",
"width": 960,
"bytes": 41525
},
{
"file": "story-bible-960.webp",
"width": 960,
"bytes": 64310
},
{
"file": "story-bible.avif",
"width": 1280,
"bytes": 54775
},
{
"file": "story-bible.webp",
"width": 1280,
"bytes": 94090
}
]
},
{
"asset": "timeline-scene-overview",
"route": "/Timeline?projectId={id}&bookId={id}",
"width": 1280,
"height": 800,
"cropY": 44,
"theme": "plotdirector",
"presentation": "actual-installed-pwa",
"privacyChecked": true,
"sourceWidth": 1280,
"sourceHeight": 800,
"sourceViews": [
"Timeline/Index"
],
"capabilities": [
"scenes",
"appearances"
],
"diagnoses": [
"d05",
"d10",
"d11",
"d12",
"d33",
"d34",
"d35",
"d36"
],
"alt": "PlotDirector Timeline organising chapters and scene summaries with characters and viewpoints.",
"aspect": "1280:800",
"masterSha256": "8304bd62b004abc7e24f25e3c61f445715ab27837fbf9b874b1c3955aadb034b",
"variants": [
{
"file": "timeline-scene-overview-640.avif",
"width": 640,
"bytes": 15537
},
{
"file": "timeline-scene-overview-640.webp",
"width": 640,
"bytes": 24850
},
{
"file": "timeline-scene-overview-960.avif",
"width": 960,
"bytes": 29303
},
{
"file": "timeline-scene-overview-960.webp",
"width": 960,
"bytes": 47054
},
{
"file": "timeline-scene-overview.avif",
"width": 1280,
"bytes": 37895
},
{
"file": "timeline-scene-overview.webp",
"width": 1280,
"bytes": 65628
}
]
}
]
}

View File

@ -19,6 +19,9 @@ public sealed class SolverCapability
public string Capture { get; set; } = "";
public string PreviewCaption { get; set; } = "";
public string? Image { get; set; }
public string ImageAlt { get; set; } = "";
public int ImageWidth { get; set; } = 1280;
public int ImageHeight { get; set; } = 800;
}
public sealed class SolverResultContent
{

View File

@ -19,6 +19,7 @@ public sealed class WritingSolverResults
if(string.IsNullOrWhiteSpace(c.Name) || string.IsNullOrWhiteSpace(c.Shows) || string.IsNullOrWhiteSpace(c.Capture) || string.IsNullOrWhiteSpace(c.PreviewCaption)
|| !c.Tour.StartsWith("/features#",StringComparison.Ordinal) || !SafeLocal(c.WorkspaceRoute)
|| !c.WorkspaceRoute.Contains("{projectId}",StringComparison.Ordinal)
|| (c.Image is not null && (string.IsNullOrWhiteSpace(c.ImageAlt) || c.ImageWidth!=1280 || c.ImageHeight<=0))
|| (c.Image is not null && !System.Text.RegularExpressions.Regex.IsMatch(c.Image,@"^/images/writing-solver/[a-z0-9-]+\.(webp|png)$")))throw new InvalidDataException("Invalid result capability.");
foreach(var r in Catalog.Results)
if(!capabilities.Any(c=>c.Id==r.Capability) || string.IsNullOrWhiteSpace(r.Explanation) || string.IsNullOrWhiteSpace(r.Reason) || string.IsNullOrWhiteSpace(r.LookFor)
@ -27,6 +28,12 @@ public sealed class WritingSolverResults
}
private static bool SafeLocal(string url)=>url.StartsWith('/') && !url.StartsWith("//",StringComparison.Ordinal) && !url.Contains('\\') && !url.Any(char.IsControl);
public bool HasImage(SolverCapability capability)=>capability.Image is not null && File.Exists(Path.Combine(webRoot,capability.Image.TrimStart('/')));
public string ImageVariant(SolverCapability capability, int width, string format)
{
if(capability.Image is null || width is not (640 or 960 or 1280) || format is not ("avif" or "webp")) throw new InvalidDataException("Invalid image variant.");
return Path.ChangeExtension(capability.Image, null) + (width == 1280 ? "" : "-" + width) + "." + format;
}
public string ImageSourceSet(SolverCapability capability,string format) => string.Join(", ",new[]{640,960,1280}.Select(w=>ImageVariant(capability,w,format)+" "+w+"w"));
public SolverCapability Capability(string id)=>Catalog.Capabilities.Single(c=>c.Id==id);
public IReadOnlyList<string> Evidence(SolverOutcome outcome,string solution) => Catalog.Evidence
.Where(e=>e.Solutions.Contains(solution) && outcome.Answers.Any(a=>a.Node==e.Node && a.Choices.Contains(e.Choice)))

View File

@ -3,14 +3,21 @@
@inject PlotLine.Services.WritingSolverResults Results
<figure class="solver-tool-visual">
@if(Results.HasImage(Model))
{ <img src="@Model.Image" alt="@Model.Name in the real PlotDirector application" width="1200" height="750" loading="lazy" /> }
{
<a class="solver-image-link" href="@Model.Image" target="_blank" rel="noopener" aria-label="Enlarge: @Model.ImageAlt (opens in a new tab)">
<picture>
<source type="image/avif" srcset="@Results.ImageSourceSet(Model,"avif")" sizes="(max-width: 700px) calc(100vw - 40px), (max-width: 978px) calc((100vw - 80px) / 2), 449px" />
<img src="@Model.Image" srcset="@Results.ImageSourceSet(Model,"webp")" sizes="(max-width: 700px) calc(100vw - 40px), (max-width: 978px) calc((100vw - 80px) / 2), 449px" alt="@Model.ImageAlt" width="@Model.ImageWidth" height="@Model.ImageHeight" loading="lazy" decoding="async" />
</picture>
</a>
}
else
{
<div class="solver-visual-placeholder">
<svg viewBox="0 0 48 40" width="48" height="40" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><path d="M4 9h10l4-6h12l4 6h10v28H4z"/><circle cx="24" cy="22" r="9"/></svg>
<span class="marketing-eyebrow">Development preview</span>
<span class="marketing-eyebrow">Application preview unavailable</span>
<strong>@Model.Name</strong>
<p>Reserved for a real application screenshot in the forthcoming PlotDirector theme.</p>
<p>This application image is temporarily unavailable.</p>
</div>
}
<figcaption>@Model.PreviewCaption</figcaption>

View File

@ -670,3 +670,5 @@ html[data-app-theme="plotdirector"] .app-layout :is(.warning-filter-panel,.analy
background: var(--pd-section); color: var(--pd-text); border-color: var(--pd-border-subtle);
}
html[data-app-theme="plotdirector"] .app-layout input[type="range"] { accent-color: var(--pd-accent); }
/* The house theme anchors the picker; six alternatives remain balanced below it. */
.pd-theme-picker [data-app-theme-choice="plotdirector"] { grid-column: 1 / -1; justify-content: center; }

View File

@ -99,3 +99,7 @@ html[data-site-theme="public"] .solver-workspace-picker { max-width:650px; }
html[data-site-theme="public"] .solver-workspace-picker .marketing-btn { max-width:100%; white-space:normal; }
html[data-site-theme="public"] .solver-workspace-picker select { width:100%; padding:12px; margin:12px 0 20px; background:#fffaf2; border:1px solid #aa8799; border-radius:8px; }
@media(max-width:700px) { html[data-site-theme="public"] .solver-start-grid { grid-template-columns:1fr; gap:18px; } html[data-site-theme="public"] .solver-visual-placeholder { min-height:220px; } html[data-site-theme="public"] .solver-result-cta { width:100%; } }
html[data-site-theme="public"] .solver-image-link { display:block; border-radius:14px; }
html[data-site-theme="public"] .solver-image-link:focus-visible { outline:3px solid var(--plum); outline-offset:4px; }
html[data-site-theme="public"] .solver-image-link img { display:block; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Some files were not shown because too many files have changed in this diff Show More