Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents eDock A container runtime for the Mac Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Reference
Ratatosk CLI
Roadmap
RFC 0001: make:resource
RFC 0002: live queries
RFC 0003: MCP server
RFC 0004: MCP resource templates
RFC 0005: a Laravel backend
RFC 0006: Laravel broadcasting
RFC 0007: offline and sync
RFC 0008: Laravel notifications
RFC 0009: Files
RFC 0010: Laravel abilities
RFC 0011: an assistant in the app
RFC 0012: @elyra/ui
RFC 0013: the assistant sees the window
RFC 0014: Elyra Inspector
RFC 0015: presence
RFC 0016: capabilities per window
RFC 0017: record invalidation
RFC 0018: the assistant's answer, streamed
RFC 0019: a window from the tray
RFC 0020: an app that stays in the tray
RFC 0021: a server chosen at sign-in
RFC 0022: signed in to more than one server
RFC 0023: private channels a window listens to
RFC 0024: updates from the backend
RFC 0025: commands and configuration
RFC 0026: the running app, for coding agents
RFC 0027: the assistant's code mode
RFC 0028: the tray's icon, and the app's
RFC 0029: installers
RFC 0030: the app's identity on Windows
RFC 0031: a token per workspace
RFC 0032: the microphone
RFC 0033: diagnostics the user can send
RFC 0034: one screen in several states at once
RFC 0035: point at it, and hand it to the agent
RFC 0036: rata check, the app checked as a whole
RFC 0037: Theme Studio
RFC 0038: edit it in its own app
RFC 0039: a write shown at once in every window
RFC 0040: the two halves agree
RFC 0041: Quick Look
RFC 0042: follow a colleague
RFC 0043: every write seen
RFC 0044: composite keys
RFC 0045: bigint all the way
RFC 0046: pivot columns
RFC 0047: relations on any key
RFC 0048: more providers
RFC 0049: OpenAI web search
RFC 0050: integer-keyed arguments
RFC 0051: citations
RFC 0052: open documents
RFC 0053: exit hooks
RFC 0054: the gui feature
RFC 0055: menus that change
RFC 0056: the framework's own words
RFC 0057: rata upgrade
RFC 0058: @elyra/charts
RFC 0059: all of WireCharts
RFC 0060: exporting a chart
RFC 0061: zoom
RFC 0062: printing
RFC 0063: linked charts
RFC 0064: report pages
RFC 0065: marks
RFC 0066: taking a table out
RFC 0067: totals
RFC 0068: columns the user picks
RFC 0069: filters
RFC 0070: saved views
RFC 0071: lists over Laravel
RFC 0072: targets
RFC 0073: every row out
RFC 0074: grouped rows
RFC 0075: pinned columns
RFC 0076: views on the server
RFC 0077: every match selected
RFC 0078: editing in the table
RFC 0079: many cells at once
RFC 0080: a value for the selected rows
RFC 0081: a new row in the table
RFC 0082: a related record in a cell
RFC 0083: a filter by a related record
RFC 0084: one write for many rows
RFC 0085: the keys shown
RFC 0086: many rows in Laravel
RFC 0087: many rows deleted
RFC 0088: the trash
Release notes
Changelog
Elyra
RFC 0073 — Every row out: a paged list's export

RFC 0073 — Every row out: a paged list's export

Status: implemented (2026-11-29) · Target: 0.65.0 · builds on RFC 0066 and RFC 0071 · see Decisions

Summary

RFC 0066 took a table out: copy, copy the table, save as CSV. Over a plain rows array that's every row; over a live page, the list make:resource makes, it's the page that's loaded, and RFC 0066 left "every row of a server-paged query" for later. Since RFC 0071 the lists over a Laravel backend are server-paged too, and filtered there: the accountant's "the overdue invoices for Q3, as a file" is 25 rows of 340.

This RFC lets a paged table fetch every row the user's query matches, for Copy table, Save as CSV… and the app's own buttons:

<Table
  page={list}
  bind:query
  every={(q) => api.customers_index(q)}
  label="Customers"
/>
  • every={(query) => Promise<Page>}: how the table asks for a page outside the live query. With it, and more than one page, Copy table is Copy all 340 rows and Save as CSV… saves all 340.
  • The user's query: the search, the filters and the sort as they are, page by page at the largest page the command allows, the rows in order.
  • Progress, and a way out: the table's bar says "Fetching rows… 100 of 340" with Cancel (and Esc); nothing is written or copied if it's cancelled or fails.
  • make:resource passes every in the lists it writes, local and over a backend.

Motivation

  • The list is filtered for a reason. RFC 0069's filters and RFC 0070's views make a list the user can name ("Overdue, Q3"), and the first thing done with it is to send it on. A page of it is the wrong file, and it doesn't say so.
  • The app can't do it alone without repeating the table. It knows the command, but not the user's search, filters and sort unless it reads query and re-pages itself, and then it has no progress, no cancel, and its CSV isn't the table's (the columns the user chose, their order, labels and format).
  • The server caps a page. Both make:resource's commands and the Laravel package's elyraList stop at 100 a page (RFC 0071), on purpose: "every row" is many requests, which is why it needs a progress bar and a cancel.

Current state (0.64)

  • Table takes page (a live store or a Page) and writes the user's search, sort, direction, page and filters into query (RFCs 0012, 0069). csv(), copy() and save() take everyRow(), which is the loaded page when the table is paged (RFC 0066).
  • A Page has data, total, per_page, current_page, last_page and, since RFC 0071, totals over every match.
  • make:resource's index command clamps per_page to MAX_PER_PAGE (100); elyraList to max_per_page (100 by default). Both answer the per_page they used.
  • The generated index view has api.{p}_index, the same command as live.{p}_index, already imported.

Design

every

every?: (query: ListQuery) => Promise<Page<Row>>

A function from a query to a page: in an app, the index command through api. The table calls it with the user's query as it stands (search, sort, direction, filters, and the app's own keys in query), with page from 1 and per_page: 100. It reads last_page from the first answer and asks for the rest, one at a time, in order. The server's own per_page (if it answers less) is what's used; the rows are joined as they come.

Without every, nothing changes: a paged table exports the loaded page. With every and one page (last_page <= 1), the table exports what it has, without asking again.

What's taken

without every with every, several pages
Copy table, save() the loaded page every row, fetched
Copy (a row, the selected rows) the same the same: only what's on the page
csv() the loaded page the loaded page (it's synchronous)
csvAll() — every row, fetched: the CSV

The menu says what it takes: Copy all 340 rows and Save 340 rows as CSV… (from the page's total), so a user doesn't wait for 40,000 rows by surprise. The foot's totals are the page's totals (RFC 0071), which are already over every match: the CSV's total line is the same.

csvAll() and rows() are new on the component, through bind:this: rows() the rows themselves (for an app's own export, an XLSX or a report), csvAll() the CSV of them. Both reject with an AbortError if the user cancels.

Progress and cancel

While it fetches, the table's bar (where the search is) shows a Progress with "Fetching rows… 100 of 340" and a Cancel button; Esc on the table cancels too, and the region is announced as it starts and ends. The table stays usable: the live page isn't touched, and a second export while one runs is refused (the menu's items are disabled).

A cancel, or a page that fails, stops it: nothing is copied or written, the failure is the toast RFC 0066 already shows ("Couldn't export: …").

A large list

Above 10,000 rows (the total), the table asks first through the runtime's confirm: "Fetch 42,100 rows? It can take a while." The limit is everyLimit (default 10000; Infinity to never ask). Nothing caps the export itself: an app that wants a cap has every to say so (it can answer fewer pages).

Consistency

Pages fetched one after another over a list that changes in between can skip or repeat a row (offset paging). The table drops a row it has already taken, by its key (key, id by default). A skipped row is a real gap, said in the docs: an export that must be exact belongs to the server (a command that writes the file), which is the app's.

make:resource

The index view it writes passes every={(q) => api.{p}_index(q)}; over a backend, the same command calls Laravel's elyraList. Nothing changes in the commands: they already take per_page, clamped.

Implementation plan

  1. ui/src/internal/every.js: fetchEvery(every, query, { signal, onprogress, keyOf }) — pages in order, per_page from the first answer, de-duplicated by key, an AbortSignal. Unit-tested without a table.
  2. Table.svelte: the every and everyLimit props, the menu's labels, rows() and csvAll(), save() and Copy table through them, the progress bar with Cancel and Esc, the words (en, nb).
  3. make:resource: every in the index view; the browser smoke checks (scripts/smoke/harness.js) save a list of three pages and count its lines.
  4. Docs: table.md (Taking it out), resources.md, the ui skill; the CHANGELOG; the roadmap.

Open questions

  1. A prop that's a function, or the table asking page's source? Recommendation: a function. A live.* store doesn't carry its command or say how to ask it again for another page, and the function is a line the app (or make:resource) writes.
  2. per_page: 100, or the page's own per_page? Recommendation: 100, the cap both servers have; a server that answers less is followed. Fewer requests, the same rows.
  3. Ask above 10,000 rows? Recommendation: yes, with everyLimit to change it. At 100 a page that's 100 requests: worth a question, not a wall.
  4. Should Copy of selected rows fetch too? Recommendation: no: a selection over a paged list is the page's (RFC 0012), and what's selected is what's on the screen.
  5. csv() async with every? Recommendation: no, csv() stays synchronous and the page's; csvAll() is the new, asynchronous one. Changing csv()'s type would break the apps that call it.

As built

  • internal/every.js: fetchEvery(every, query, { signal, onprogress, keyOf }) and fetches(every, page), plain functions. A page that comes back empty before the last ends the fetch (the list shrank).
  • allRows(), not rows(): rows is already the table's prop (a plain array), and a component's export can't share a prop's name. The RFC's rows() is allRows(); csvAll() is as designed.
  • copy() and save() answer null when the user cancels (as save() did for the dialog), so the menu's "Copied" isn't shown; allRows() and csvAll() reject with an AbortError.
  • The progress is a Progress under the table's bar, in a group named "Fetching every row", with the count and Cancel; the start, the end and a cancel are said in the table's live region. While it runs, the menu's Copy all and Save are disabled.
  • The confirm above everyLimit is the runtime's, with "Fetch them" and "Cancel".
  • Checked in the browser: the resource smoke test makes a list of six pages, opens the table's menu ("Copy all 130 rows") and sees the index command asked for pages 1 and 2 at 100 a page.

Decisions

Accepted 2026-11-29, with every recommendation:

  1. every is a function from a query to a page, not read from page.
  2. Pages of 100; a server that answers fewer is followed.
  3. Above 10,000 rows the table asks first; everyLimit changes it.
  4. Copy of the selected rows takes the page's, as it is.
  5. csv() stays synchronous and the page's; csvAll() and rows() fetch.

Not in this RFC

  • An export the server writes (a command that streams the file).
  • Formats other than CSV and the clipboard (XLSX): rows() gives the rows to an app that writes them.
  • Background exports that outlive the window.

Alternatives considered

  • A large per_page for exports. Lifting the cap for an "export" flag makes one request of 40,000 rows, which the server and the IPC bridge pay for at once, without progress or a way to stop it.
  • Cursor paging. Exact over a changing list, but neither make:resource's commands nor elyraList page by cursor, and the de-duplication covers the common case.