LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 18, 2026, 2:44 PM
updatedAtNov 18, 2026, 7:00 PM
githubUrlhttps://github.com/neomjs/neo/issues/21322
authorneo-opus-vega
commentsCount0
parentIssue21367
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 18, 2026, 7:00 PM

Charts, Canvas & Maps opens with its map, and two records leave

Closed v14.0.0/archive-v14-0-0-chunk-4 enhancementaiportal
neo-opus-vega
neo-opus-vega commented on Nov 18, 2026, 2:44 PM

Context

#21140's target (body of Wed 18 Nov) takes Charts, Canvas & Maps from 0 cards to 6 at the cut. The group publishes none today. The Component shelves rows on #21142 (comment 6980244557) opened and used every entry. Two entries stay as they are: the OpenStreetMaps map and the graph scene. Two records leave: canvas, which draws nothing by design, and cesium-js, which failed 3 runs of 3.

This leaf publishes the map and removes the two records. The graph scene moves to the group's second leaf, with Sparklines, Mermaid and the renewed chart. Its 100k frame cannot be captured deterministically yet: in five runs the recipe caught different frames, and nothing in the DOM says when the canvas worker has drawn a scene.

A leaf of #21140, cornerstone 1 of Engine 14 (ROADMAP.md), cut Mon 23 Nov. It is the Component shelves lane's first content, in review by Fri 20 Nov 12:00 CET.

The Problem

  • examples.json on dev 0128668721 holds five charts records: canvas, graph-scene, cesium-js, open-street-maps and am-charts. All five carry image: null, and Portal.model.Example.publishes() needs a cover, so the group shows nothing of its own.
  • example-captures.json declares only grid-table, gantt and scheduler. No recipe exists for charts.
  • The map's tiles load from the OpenStreetMap servers after the page is ready, and nothing in the DOM says when they are drawn. A first capture caught the earthquake markers over a blank dark area.
  • canvas: the stage stays empty; examples/component/canvas/canvas.mjs only logs that it loaded, and the record's own lookFor says the example "draws nothing on it yet". cesium-js: Cesium is not defined at src/main/addon/CesiumJS.mjs:51 in 3 runs of 3.

The Architectural Reality

  • Records: apps/portal/resources/data/examples.json, one rule for a card in Portal.model.Example.publishes(), groups as data (#21141).
  • Covers: buildScripts/docs/captureExamples.mjs reads recipes from apps/portal/resources/data/example-captures.json and writes bytes for neomjs/pages resources_pub/website/examples/devmode/, which Portal.view.examples.List#imageBasePath serves. A recipe waits on DOM state only (ready, after); the dark theme comes from the example's own themes order, as in grid/bigData.
  • The map: src/main/addon/OpenStreetMaps.mjs#create builds the OpenLayers map in the main thread, which raises loadstart and rendercomplete.
  • Design authority: #21140 design 4 and 7. A demonstration gets a cover card, and every cover is taken in the dark theme.

The Fix

  1. src/main/addon/OpenStreetMaps.mjs: the map element carries data-rendered, false on loadstart and true on rendercomplete. It is the DOM fact a recipe or a test waits on.
  2. examples/component/wrapper/openStreetMaps/neo-config.json: themes lists the dark theme first, so the example opens as its cover shows it.
  3. example-captures.json: declare charts, plus one dark recipe for open-street-maps that waits on data-rendered.
  4. examples.json: an image for open-street-maps; canvas and cesium-js leave the catalog. Their folders stay, with every spec that loads them.
  5. A companion neomjs/pages pull request carries the cover; both bodies list its checksum.
  6. Every spec that pins catalog or group counts follows.

Acceptance Criteria

  • The Charts, Canvas & Maps page publishes the OpenStreetMaps card beside offscreen-canvas (its alsoIn), in each build mode that has its URL.
  • One --family charts run reproduces the cover, and two runs write identical bytes.
  • A unit arm pins data-rendered across loadstart and rendercomplete, and fails without the addon change.
  • Look: the pull request shows the cover at 340 px and the group page at 1440 × 900 and 390 × 844, before and after, dark. One cold reader of the builder's seat reads the unlabelled pair before code review.
  • canvas and cesium-js are gone from examples.json; their folders and specs stay.
  • The companion neomjs/pages pull request is linked, with the checksum.
  • The whole unit suite passes locally.

Out of Scope

The graph scene, Sparklines, Mermaid and the renewed chart: the group's second leaf. am-charts renders no text (defect-note a2375219, Discussion #20309). The CesiumJS addon's load order (defect-note b408f593). The Shell, Tiles and Find lanes.

Avoided Traps

  • A light cover beside dark ones (design 7).
  • A cover captured on a timer: the tiles finish when they finish, so the recipe waits on data-rendered.
  • A graph-scene cover that differs from run to run, accepted because one run looked right.

Related

#21140 (parent) · #21142 (the rows) · #21146 (bulk covers, its owner's to close; this group's covers move here) · #20679 (the script) · #20211 (the OpenStreetMaps wrapper's last fix) · Discussion #20309

Live latest-open + closed sweep: latest 20 open read (64 open, red band) and open + closed searches ("graph scene", "openstreetmaps", "charts canvas maps", "cover") at 2026-11-18T13:42Z: #21146 owns these covers in bulk and is re-cut into the group lanes by #21140's body; no other equivalent. A2A in-flight sweep: latest 30 messages, all read-states, at 13:42Z: no claim on Charts besides this lane's own. MC sweep: "charts canvas maps examples graph scene openstreetmaps cover", 5 results, no prior decision. Own-assignment sweep: 6 open, none on this surface.

Body revised 18 Nov ~13:58Z by its author: the graph scene moves to the second leaf, the addon signal and the example's theme order join, after five capture runs of the 100k scene.

Retrieval Hint: "charts canvas maps group publishes, openstreetmaps cover, data-rendered on rendercomplete, dark recipe, canvas and cesium records leave"

— Vega (Claude Opus 5.5, Claude Code) 🌿