related to: https://github.com/neomjs/neo/issues/6610
Intake contract — Sophie, 2026-11-06
Retained intent: a reader reaches a keyless Iceland map using the tutorial's live earthquake feed and the same Store as its table. #6610 is delivered by #20474; its blocked-by edge remains as provenance. The original description above is preserved.
| Target surface |
Source of authority |
Behavior |
Edge / fallback |
Docs |
Evidence |
| Map addon setup |
src/Main.mjs#importAddonModule, src/main/addon/OpenStreetMaps.mjs#loadFiles |
Load built-in OpenStreetMaps; remove custom-source download, WS/GoogleMaps, API-key and billing steps |
Requires network access to the live feed, OpenLayers CDN and OSM tiles; do not claim offline operation |
Existing Earthquakes map lab |
Real installed-package browser load, successful library/tile requests and attribution |
| Marker model |
Live endpoint returns data[] with string lat, lng, location; src/data/RecordFactory.mjs#parseRecordValue supplies calculate(data, field); Store#createRecord generates missing keys |
Declare id to retain the generated key, lat and lng as Float fields; derive position: {lat, lng} from data; map title from location |
Retain actual live feed; never silently substitute fixtures or claim their data is current |
Existing field recipe |
Live finite coordinates and marker count matching Store |
| Shared Store and click |
src/component/wrapper/OpenStreetMaps.mjs#onMarkerStoreLoad / #parseMarkerClick, src/data/Store.mjs#onCollectionMutate |
Bind map and table to stores.earthquakes; marker click yields the same Store record |
Empty feed means no markers; reload must not duplicate them; no second hand-mapped Store |
Map and event labs; essential adjacent path/API corrections |
Identity checks, reload, actual pointer click and table event |
| Reader presentation |
Existing learn/tutorials/Earthquakes.md, learn/tree.json tutorials entry |
Explain worker wrapper versus main-thread renderer through the concrete map lab; retire obsolete warning and Google screenshots |
Preserve unrelated labs and the existing narrative; no front-door/nav additions |
Same registered page |
Portal rendering and literal snippets in a consuming workspace |
Acceptance
- Follow the revised map/model/event snippets in a workspace with the actual packaged engine containing #20474; no engine symlink, copied addon, key or billing setup.
- Real OpenLayers map and OpenStreetMap attribution render; live feed coordinates are finite and markers match the shared Store.
- The StateProvider, table and map reference one Store; a real marker click identifies that Store's record. A reload preserves the marker count without duplication. The table's
rowClick listener receives its clicked record.
- The existing portal page renders the revised explanation and any diagram without errors or unreadable scaling. Scope is the keyless map lab and necessary adjacent repairs, not synchronized selection or a new map abstraction.
Native acceptance blocker found during implementation
The packed consumer with the normal generated Viewport reaches the real OpenLayers library and OSM tiles, but Store.url invokes Xhr with pagination parameters. At dev d7e91ec544, Xhr#request appends a second ? to a URL already containing a query. The resulting ...?fn=earthquakes?page=1&pageSize=0 returns HTTP 200 text earthquakes?page=1 is not a function. rather than JSON. The original endpoint returns valid JSON. Ada's #20490 is merged and #20489 is closed; the blocked-by edge remains as provenance. Tutorial PR #20491 is now ready after merged-engine acceptance.
A separate diagnostic URL-correction control loads 76 live records and exposed the missing public id in the old model (76 records collapsed to one marker). The tutorial now retains the Store-generated key. Diagnostic controls are not acceptance. A direct-MainView experiment bypassed the generated Viewport and produced zero sizing; that was a test-setup variant, not a tutorial defect, and no sizing workaround is retained.
Final acceptance passed with a fresh actual npm package from merged dev 2f6e04b2ad4832610c1350ad1f308d6218046e6c, with no interception: 79 live rows, 79 unique markers, native map/table pointer clicks returning the same Store record, and a second real load retaining 79 unique markers. Real OpenLayers and OSM tiles loaded; no browser/network errors. #20491 carries the merged-engine and portal receipts; its independent review and human merge remain.
related to: https://github.com/neomjs/neo/issues/6610
Intake contract — Sophie, 2026-11-06
Retained intent: a reader reaches a keyless Iceland map using the tutorial's live earthquake feed and the same Store as its table. #6610 is delivered by #20474; its blocked-by edge remains as provenance. The original description above is preserved.
src/Main.mjs#importAddonModule,src/main/addon/OpenStreetMaps.mjs#loadFilesOpenStreetMaps; remove custom-source download,WS/GoogleMaps, API-key and billing stepsdata[]with stringlat,lng,location;src/data/RecordFactory.mjs#parseRecordValuesuppliescalculate(data, field);Store#createRecordgenerates missing keysidto retain the generated key,latandlngas Float fields; deriveposition: {lat, lng}from data; maptitlefromlocationsrc/component/wrapper/OpenStreetMaps.mjs#onMarkerStoreLoad/#parseMarkerClick,src/data/Store.mjs#onCollectionMutatestores.earthquakes; marker click yields the same Store recordlearn/tutorials/Earthquakes.md,learn/tree.jsontutorials entryAcceptance
rowClicklistener receives its clicked record.Native acceptance blocker found during implementation
The packed consumer with the normal generated Viewport reaches the real OpenLayers library and OSM tiles, but
Store.urlinvokes Xhr with pagination parameters. At devd7e91ec544,Xhr#requestappends a second?to a URL already containing a query. The resulting...?fn=earthquakes?page=1&pageSize=0returns HTTP 200 textearthquakes?page=1 is not a function.rather than JSON. The original endpoint returns valid JSON. Ada's #20490 is merged and #20489 is closed; the blocked-by edge remains as provenance. Tutorial PR #20491 is now ready after merged-engine acceptance.A separate diagnostic URL-correction control loads 76 live records and exposed the missing public
idin the old model (76 records collapsed to one marker). The tutorial now retains the Store-generated key. Diagnostic controls are not acceptance. A direct-MainView experiment bypassed the generated Viewport and produced zero sizing; that was a test-setup variant, not a tutorial defect, and no sizing workaround is retained.Final acceptance passed with a fresh actual npm package from merged dev
2f6e04b2ad4832610c1350ad1f308d6218046e6c, with no interception: 79 live rows, 79 unique markers, native map/table pointer clicks returning the same Store record, and a second real load retaining 79 unique markers. Real OpenLayers and OSM tiles loaded; no browser/network errors. #20491 carries the merged-engine and portal receipts; its independent review and human merge remain.