LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-maryam
createdAtNov 16, 2026, 8:26 PM
updatedAtNov 19, 2026, 1:08 PM
githubUrlhttps://github.com/neomjs/neo/issues/21190
authorneo-fable-clio
commentsCount1
parentIssue21175
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 19, 2026, 1:08 PM

A grid example streams 50,000 rows and shows them arriving

Closed v14.0.0/archive-v14-0-0-chunk-3 enhancementhelp wantedaigrid
neo-fable-clio
neo-fable-clio commented on Nov 16, 2026, 8:26 PM

Please comment to claim before starting; check current assignees and linked PRs.

Context

New example 6 of the Grid & Table slate (#21142), a leaf of #21175 (the Grid & Table group, under #21140). The visitor's question: what does a user see while 50,000 rows arrive?

No good first issue label: the stream's source is settled at intake (The Fix, step 1).

The Problem

The engine can parse a response as it arrives and hand rows to the grid in chunks, so the first rows are usable before the last ones are loaded. The Streaming guide describes it. No example and no app of this repository uses it, and the grid's footer toolbar has a progress hook that nothing fills. A visitor cannot see the one behaviour that makes a large first load feel fast.

The Architectural Reality

  • src/data/parser/Stream.mjs and src/data/connection/Stream.mjs; the guide is learn/guides/datahandling/Streaming.md (the store's configuration, the JSONL format, progressive loading).
  • src/grid/footer/Toolbar.mjs: the store's progress event calls onStoreProgress(data) (:56, :89), which is empty and meant to be overridden.
  • A store reports isStreaming while a stream runs (src/data/Store.mjs:944).
  • Searched on dev c40689ef53: no file under examples/ or apps/ imports the stream parser or the stream connection, or overrides onStoreProgress.
  • examples/grid/headerGroups is the model for the page. Placement: a sibling folder examples/grid/<feature>/.
  • A data file of 50,000 rows would weigh several megabytes in the repository and in the package (check-size runs on every pull request).
  • Design authority: n/a, a new example.

The Fix

  1. The stream is generated inside the example, in chunks with a short pause between them, so the arrival is visible at any network speed and the example runs from a static host. Intended shape: a connection of the example's own that feeds the stream parser. Confirm at intake that the pipeline takes it; if not, file the gap and say so here.
  2. A new folder examples/grid/streaming: a grid with a footer toolbar that overrides onStoreProgress and shows the count rising to 50,000, and a "Load again" button.
  3. One line says what to do, for example "Scroll while the rows arrive."
  4. A new catalog record with the group grid-table, and a scope that says the stream is generated in the example.

Acceptance Criteria

  • Rows are on screen and the grid scrolls while the store still reports isStreaming; a spec under test/playwright/e2e/grid/ asserts a row count above zero and below 50,000 mid-stream.
  • The footer shows the loaded count rising and ends at 50,000.
  • "Load again" repeats the run from an empty grid.
  • The PR says what the grid allows during the stream (scrolling, sorting, selecting), as observed.
  • The pull request adds no data file larger than 50 KB.
  • 1440 × 900 and 390 × 844; both themes.
  • Look: three frames (start, mid-stream, done) at both sizes are on the PR, and the design seat reads them before code review.
  • A catalog cover is shot mid-stream with the producer of #20679 and is on neomjs/pages main before this PR merges: publishes() (apps/portal/model/Example.mjs:120) drops a record without image, and the family case of TabContainerController.spec.mjs turns red on one. That spec's covered ids and totals are recounted against the dev this PR rebases on.
  • If the data is generated, it is seeded, so the first frame, the cover and any spec that names first-frame content are the same on every load.

Out of Scope

Engine changes to the stream parser, the connection or the footer toolbar; a real streaming endpoint; virtualising more than the grid already does.

Avoided Traps

  • A fast local file. It arrives in one frame and shows nothing.
  • A spinner until everything is there. The proof is that the first rows are usable early.
  • A large JSONL file in the repository.

Related

Parent #21175 · the slate #21142 · #21140 · the gate on #20498 · #20500 (the family's captions, closed).

unowned-rationale: Ready for a contributor who has read the Streaming guide; maintainers provide planning and review.

Live latest-open + closed sweep: latest 20 open, 68 open (red band, so this is a leaf of the owning epic #21175), open and closed search ("streaming grid example") at 2026-11-16T19:21Z: no equivalent. A2A in-flight sweep: latest 30 messages, all read-states, at 19:21Z: no claim. MC sweep ("Grid and Table examples read as toys: the same six names"): this slate's own trail, no prior decision. Own-assignment sweep: 7 open; #21142 and #21140 are the parents. Structure-map: N/A, a sibling folder under examples/grid/.

Decision Record impact: none.

Retrieval Hint: "streamed load grid example stream parser onStoreProgress footer toolbar rows arriving 50,000"

📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code

Edited 17 Nov 2026: the cover and seed criteria follow the epic review of #21175 (comment).