Record completed Maps Stage 3 deployment and live acceptance
This commit is contained in:
parent
c8a73f26d5
commit
d439bf00ef
@ -54,4 +54,42 @@ Automated gates and dedicated browser scripts:
|
||||
- Existing Relationships ribbon and focus-stability suites (web/PWA at 1440/1700/1920), plus the canonical context-menu suite under Xvfb (all six themes, keyboard, clipboard and native-menu escape hatch).
|
||||
- `maps-stage3-dev-smoke.cjs`: authenticated live Development operations on a dedicated disposable account/project, including real server revision conflicts and minimal detached shell. Stage 1/2 Development smoke scripts remain available.
|
||||
|
||||
Deployment/live acceptance and cleanup results are recorded in the task report after execution. No database schema changes are needed. Future Stage 4 candidates remain dense-label layout, richer route chains and publication/export styles; this stage deliberately adds no route inference, background imagery, simulation or server-persisted Story preferences.
|
||||
Deployment/live acceptance and cleanup results are recorded below. No database schema changes are needed. Future Stage 4 candidates remain dense-label layout, richer route chains and publication/export styles; this stage deliberately adds no route inference, background imagery, simulation or server-persisted Story preferences.
|
||||
|
||||
## Completed Stage 3 report — 2 November 2026
|
||||
|
||||
1. **Development URL:** [Maps](https://dev.plotdirector.com/Maps). Authentication and normal project access remain required.
|
||||
2. **Deployed implementation commit:** `c8a73f26d56182be3cb8575ec81b23f0982a1744`. The subsequent evidence commit contains only this report and the final live smoke-test extension.
|
||||
3. **Migrations:** none; existing map persistence, revision checks and Story projection procedures remain authoritative.
|
||||
4. **Text selection:** canvas-wide suppression/default prevention, initial selection clearing, pointer capture/cancellation and preserved normal form selection. Repeated land, forest and every built-in path-type handle drags pass browser coverage.
|
||||
5. **Paths:** free endpoint rotation/extension, internal bend reshaping, body movement and undo/redo. Attached ends remain authoritative and have no free-transform handle.
|
||||
6. **Geometry/rotation:** rounded displayed dimensions/label offsets retain internal precision; a live slider, tenth-degree input and Reset replace raw rotation editing. Keyboard focus survives repeated adjustments.
|
||||
7. **Ribbon:** canonical shared icons cover Undo/Redo, Previous/Next and workspace actions; map action commands use the existing icon vocabulary and disabled-state bindings.
|
||||
8. **Map Pieces:** all 75 assets have distinct semantic SVG pictograms/swatches, with text labels and shared marker vocabulary on the canvas.
|
||||
9. **Context menus/dialogs:** one canonical context-menu provider, stable selection/multi-selection, meaningful object/path/background actions and a touch/keyboard menu button. All ordinary Maps browser confirm/alert/prompt calls are removed. Canonical unsaved Save/Discard/Keep, Rename and Delete dialogs are used. Escape/X retains edits/state; first destination wins; failed or malformed saves cannot continue navigation. True browser unload protection remains.
|
||||
10. **Locked drags:** locked geography pans while a click still selects. Unlocked Create objects retain manipulation.
|
||||
11. **Maximise/Restore:** shared infrastructure serves Maps and Relationships; view/mode/selection/Story state survives. PWA hides only redundant Maps Maximise. Header observation and stable caption height prevent canvas shifts and stale workspace sizing.
|
||||
12. **Characters:** all ordinary Story pickers sort case-insensitively A–Z. Automatic Time defaults retain their importance-based source ordering.
|
||||
13. **Scene scrubber:** same canonical/scenario sequence and selected-scene state as picker and Previous/Next; frame-throttled, keyboard-operable, honest unmapped/no-Location/other-map positions and accessible context. Lookup search is cleared when navigation leaves its results.
|
||||
14. **Coverage:** existing counts remain, with a restrained explanation and a route into existing gaps Details/Create placement. Nothing is created or positioned automatically.
|
||||
15. **Details/journeys:** compact, wrapped, explicitly numbered/status-labelled stops retain the complete journey. Duplicate visual list numbering is removed; list semantics, independent scrolling, revisits and inspectable legs remain.
|
||||
16. **Detached workspace:** explicit separate working window, current map/mode, minimal authenticated shell, normal controls, author theme and retained detached hierarchy navigation. Repeated Detach focuses the existing dirty window.
|
||||
17. **Synchronization:** event-driven paired same-origin/account/project channel for scenes, lens, characters, scope and existing-map navigation. Main Scene editor context can focus the map; explicit detached scene links target the main window with acknowledged standalone fallback. Dirty peer Create work is retained.
|
||||
18. **Concurrent editing:** both windows can Create under existing optimistic revision checks. Peer saves surface a stale notice; actual stale saves and Save-and-continue attempts fail visibly and retain changes. No merge, silent overwrite or implicit save is claimed.
|
||||
19. **Clustering:** retained Stage 2 grouping of coincident visits/repeated connections was sufficient at tested scale. No additional clustering model was added; all underlying sequence information remains available.
|
||||
20. **Accessibility:** meaningful icon labels, canonical menu keyboard/focus behaviour, accessible scrubber text, visible handles/focus, non-colour distinctions, contained modal Escape and focus restoration. No animated camera movement was introduced; reduced-motion CSS remains respected.
|
||||
21. **PWA/responsive:** web/PWA suites pass; live checks include 390/800/1440 widths, plus dedicated narrow 430-pixel browser coverage. Workspace commands remain reachable, redundant Maximise is hidden, and Story lens changes preserve canvas bounds.
|
||||
22. **Automated results:** build passes with zero warnings/errors; the executable regression harness reports 401 passes. Maps engine, Stage 1, Stage 2, Stage 3 and detached browser suites pass. Scale covers 500 scenes, 30 characters and 5,000 appearances, including 100 rapid scrubber inputs. Fifty scene changes measured approximately 0.5–0.9 seconds. Existing Relationships ribbon/focus suites and the canonical context-menu suite (real clipboard, themes, keyboard and native escape hatch under Xvfb) pass.
|
||||
23. **Live Development acceptance:** final authenticated Stage 1 Create, Stage 2 Story and Stage 3 web/PWA acceptance all pass. This includes real save/revision conflicts, failed-save navigation prevention, new-feature Discard continuation, visible PWA commands, context Duplicate/Delete/relationship operations, stable maximise/lens geometry, paired child/parent navigation, detached minimal shell and closed-main fallback. The dedicated account and all owned fixture projects/data were removed through normal account deletion; private credential and fixture-ID files were deleted. No real author manuscript was used for writes.
|
||||
24. **Deferred in Stage 3:** canvas/theme appearance, reference backgrounds, route chains, publication/export styles, persistent Story preferences/observation acknowledgements and simulation remain outside this stage. Theme/canvas/reference work is explicitly queued as Stage 4.
|
||||
25. **Next-stage recommendation:** use the completed Stage 3 delivery as the clean baseline for the queued Stage 4, preserving its Story evidence, dialog, pointer, ribbon and paired-window contracts. Dense-label refinement, route chains and publication/export styles remain separate later work.
|
||||
26. **Production:** unchanged. All operational helpers verified `PlotDirector_Development`; no production host/database was modified.
|
||||
|
||||
Deployment evidence:
|
||||
|
||||
- Release: `/srv/apps/plotdirector-dev/releases/maps-stage3-c8a73f2-20261102_213401`.
|
||||
- Previous application backup: `/srv/apps/plotdirector-dev/current-before-maps-stage3-c8a73f2-20261102_213401`.
|
||||
- Unique copy-only/checksummed Development database backups were verified before fixture writes. Every service restart checked queued/running imports, Story Intelligence, synthesis, enrichment and in-flight Development database work; all were zero.
|
||||
- Published and deployed `PlotLine.dll` SHA-256: `14547e7bca7228590af3366cbea37dbbc9a9b373b81a0f50a78672566d5a147b`.
|
||||
- Deployed assembly metadata: `1.0.0+c8a73f26d56182be3cb8575ec81b23f0982a1744`.
|
||||
- Service active, local and public HTTPS GETs return 200, and no service warning entries appeared during final acceptance.
|
||||
|
||||
@ -13,6 +13,7 @@ if(identity.Database!=='PlotDirector_Development'||!identity.Email.startsWith('p
|
||||
await page.goto(root);await page.waitForFunction(()=>!!window.PlotDirectorMapWorkspace);const canvas=page.locator('#mapsCanvas');
|
||||
async function command(id){const proxy=page.locator(`[data-pwa-context-controls] [data-command-identity="handler:${id}"]`);if(pwa&&await proxy.count()){const menu=proxy.locator('xpath=ancestor::details[1]');if(await menu.count()&&await menu.getAttribute('data-compact')==='true'&&await menu.getAttribute('open')===null)await menu.locator(':scope > summary').click();await proxy.click();}else await page.evaluate(id=>document.getElementById(id).click(),id);}
|
||||
async function drag(selector,dx,dy){const b=await page.locator(selector).first().boundingBox();assert(b);await page.mouse.move(b.x+b.width/2,b.y+b.height/2);await page.mouse.down();await page.mouse.move(b.x+b.width/2+dx,b.y+b.height/2+dy,{steps:5});await page.mouse.up();}
|
||||
await page.locator('#mapsAssetSearch').fill('Town');await page.locator('[data-asset=Town]').click();await canvas.click({position:{x:300,y:260}});const discardedFeature=await page.evaluate(()=>window.PlotDirectorMapWorkspace.document.features.at(-1).featureID);await page.locator('[data-action=child]').click();await page.getByRole('button',{name:'Discard changes',exact:true}).click();await page.locator('#mapsNewDialog').waitFor();assert(await page.locator('[data-map-new-context]').isVisible());assert.equal(await page.locator('#mapsNewForm [name=ParentMapID]').inputValue(),String(f.MapID));assert.equal(await page.evaluate(id=>window.PlotDirectorMapWorkspace.document.features.some(f=>f.featureID===id),discardedFeature),false);await page.locator('#mapsNewCancel').click();
|
||||
const added=[];for(const type of ['Land Mass','Forest','Road','Railway','River','Canal']){await page.locator('#mapsAssetSearch').fill(type);await page.locator(`[data-asset="${type}"]`).click();await canvas.click({position:{x:330,y:280}});added.push(await page.evaluate(()=>window.PlotDirectorMapWorkspace.document.features.at(-1).featureID));await page.locator('[data-action=shape]').click();for(let i=0;i<3;i++)await drag('[data-handle=point]',i%2?8:-8,5);assert.equal(await page.evaluate(()=>getSelection().toString()),'');if(['Road','Railway','River','Canal'].includes(type))await drag('[data-handle=endpoint]',25,35);}
|
||||
await page.evaluate(id=>window.PlotDirectorMapWorkspace.select(id),added[0]);const rotate=page.locator('input[type=range][data-rotate]');await rotate.fill('35');await command('mapsUndo');await command('mapsRedo');await page.evaluate(id=>window.PlotDirectorMapWorkspace.select(id),added[0]);
|
||||
await page.locator('[data-field=isLocked]').check();const view=await page.evaluate(()=>({...window.PlotDirectorMapWorkspace.view}));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user