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 0081 — A new row in the table: typed at the end, or pasted

RFC 0081 — A new row in the table: typed at the end, or pasted

Status: implemented (2026-11-30) · Target: 0.65.0 · builds on RFC 0078, RFC 0079 and RFC 0080 · see Decisions

Summary

A table that's edited (RFC 0078) changes the rows it has. A new one still goes through the form: New, a route, the fields, Save, and back to the list. For a price list, the week's hours or a stock count, the spreadsheet's way is the expected one again: the empty row at the end, typed into.

<Table
  page={list}
  bind:query
  columns={[
    { key: "name", create: "text" },
    { key: "price", align: "end", edit: "number" },
    { key: "stock", align: "end", edit: "number" },
  ]}
  oneditrow={(row, values) => api.products_update(row.id, { ...inputOf(row), ...values })}
  oncreate={(values) => api.products_store({ ...inputOf({}), ...values })}
/>
  • The new row is at the end of the table, its first cell saying "New product…". Its cells are edited with the grid's keys. Leaving the row, or ⌘Enter, creates it through oncreate(values), and Esc drops it.
  • A column's create is its editor in the new row only: the name a row is opened by, the field set once. edit is the editor in both.
  • What the list is filtered by fills the new row: filtered by Status: Open, a new row starts as open, so it doesn't vanish once made.
  • A paste on the new row makes rows: a block of 40 lines from a spreadsheet is 40 new rows, read all or none (RFC 0079), created a row at a time, with progress.
  • ⌘Z removes rows it made, with the app's ondelete(row).
  • make:resource --inline writes oncreate and ondelete through {p}_store and {p}_destroy.

Motivation

  • Lists are filled in, not only changed. The data a business app starts with comes as rows: a price list, a stock count, the week's hours. A form for each, and the list lost each time, is most of the time spent.
  • A spreadsheet's paste is the import users already know. RFC 0079 pastes over rows that exist; the same block pasted at the end is the import an app otherwise writes as a CSV upload.
  • The pieces exist. The grid and its editors (RFC 0078), a block read all or none and the write of many with progress (RFC 0079), one step for undo, ValidationError per field, and the filters' values (RFC 0069).

Current state (0.67)

  • With a column's edit and onedit or oneditrow, the table is a grid. Cells are edited where they are; a paste, a fill and a set for the selection write many (RFCs 0079 and 0080); ⌘Z takes back the table's last change.
  • A paste with lines past the page's last row drops them, and says how many ("3 rows didn't fit").
  • There's no way to make a row from the table. make:resource writes a New button to the create route, and {p}_store(input).
  • A column's edit is the same for every row. The first column of a make:resource --inline list isn't edited: it opens the record.

Design

The new row

With oncreate (and creatable, true by default, false for a user who may not), the grid has one more row after the last, in its own <tbody> so a sort or a group never moves it:

  • Its first cell says newRow ("New row…", or the app's newLabel: "New product…") until it has a value.
  • Its cells are the columns with create or edit, by those kinds. The others are empty and read-only, as a cell editable says no to.
  • The grid's keys work in it: ↓ from the last row goes to it, Enter, F2 or typing edits a cell, and a boolean is its checkbox. While editing in the new row, Enter saves the cell and goes to the next one, as Tab does: there is no row below.
  • Its values are a draft, kept in the table until it's created. They aren't written one by one.

Making it

  • When: the focus leaves the new row (↑, a click on another row, Tab out of the table) with a value in it, or ⌘Enter (Ctrl+Enter) in it. An untouched new row is left as it is.
  • What: oncreate(values), the draft's values by column, with the defaults first (below). It resolves to the row made (the store command's answer).
  • While: the row shows its values with the pending dot (RFC 0039), and a second new row is ready under it, so the user types on.
  • After: the row made stays where it is, at the end of the page, marked Added until the page changes, even when the list's sort or filters would put it elsewhere. The live query's re-run brings it into its place on the next page change. A plain array's row goes where the app's array puts it.
  • When it fails: a ValidationError keeps the draft, opens the editor on the first field with a message (aria-errormessage), and the other fields' messages mark their cells (RFC 0079's marks). A field the row has no cell for says its message in a toast. Any other failure: the draft stays, and a toast says why.
  • Esc in the new row, not editing: the draft is dropped.

The defaults

The new row starts with, in order (the last wins):

  1. The filters' values: an options filter with one value (status: ["open"]). A search or a range isn't one. A row made in Open is open.
  2. The group's value: made in a grouped table, the row is in the group the focus was in.
  3. The app's newRow: an object, or (query) => values.

They show in the new row's cells, in their place, before anything is typed.

Paste on the new row

On the new row, a paste makes a row for each line:

  1. The block is read by the columns from the cursor, with create or edit, all or none (RFC 0079). A value that doesn't read writes nothing: the message says which line and column.
  2. More than 20 lines: the user confirms first ("Add 40 rows?").
  3. Each line is one oncreate, one at a time in the block's order (so the rows are made in it), with RFC 0079's progress and Cancel.
  4. A line that fails stays in the new row with its message, and the rest go on: "Added 38 rows. 2 couldn't be added." The first that failed is the new row's draft, its message on the cell.

A paste over the existing rows that has lines past the last still drops them, as today; a paste on the new row is the way to add.

Undo

Making a row (one, or a paste's) is a step. With ondelete(row), ⌘Z deletes the rows it made, after a confirm when it's more than one ("Remove the 38 rows just added?"), and ⇧⌘Z makes them again from the values they were made with. Without ondelete, a row made isn't a step, and ⌘Z undoes what was before it.

Words

newRow, added, addRows(n), addedSome(done, failed), adding(done, total), addingLabel, removeAdded(n), notAdded(message), in words.js and en/nb.

make:resource --inline

  • The first column (the record's name, which opens it) gets create by its kind, and stays a link in the rows that exist.
  • oncreate is api.{p}_store({ ...inputOf({}), ...values }), files null; ondelete is api.{p}_destroy(row.{pk}). Over a backend, a write queued offline is done as far as the list goes, as an edit is.
  • creatable is $can("{p}.store") with abilities.

Implementation plan

  1. ui/src/internal/edit.js: a column's kind in the new row (createKind), the defaults from filters, group and newRow, and a block read into drafts.
  2. Table.svelte: the new row's <tbody>, its cells and keys, the draft, making it on leaving the row or ⌘Enter, the row made kept at the end, failures on its cells, Esc, paste on it with confirm and progress, and the undo step with ondelete.
  3. Words, in words.js and en/nb.
  4. rata make:resource --inline: the first column's create, oncreate, ondelete, creatable, and its test and smoke.
  5. Tests: the new row's cells, keys and Enter; made on leaving it and on ⌘Enter, untouched left alone, Esc; the defaults from a filter, a group and newRow; the row made kept at the end and marked; a ValidationError on its fields and on a field with no cell; a paste of lines, all or none, the confirm, progress, a line that fails; creatable={false}; undo with and without ondelete.
  6. Docs: table.md ("A new row"), a gallery example, the keyboard table, the skills, resources.md, CHANGELOG.

Open questions

  1. When is the row made: leaving it, or a key? Recommendation: leaving it, and ⌘Enter for at once. It's how a spreadsheet's user works (they type across and go on), and a draft that's only kept until a key is pressed would be lost by the click they expect to save it.
  2. Where does a row made go: its place, or the end? Recommendation: the end, until the page changes. A row that jumps to page 3 the moment it's made, or vanishes because the list is sorted by a column it hasn't got, is a row the user thinks is lost.
  3. A paste on the new row: one oncreate a line, or one call? Recommendation: a line at a time, in order. Progress, Cancel and a line that fails without the others, as RFC 0079's write; a store command per record is what apps have.
  4. Undo of a row made: delete it? Recommendation: with the app's ondelete, after a confirm past one row. Undo that can't take a paste of 40 rows back is the case undo is for; without ondelete the table can't, and says nothing it can't do.
  5. The filters' values as defaults? Recommendation: only an options filter with one value. A range or a text search doesn't say what a new row's value should be.

Decisions

Accepted 2026-11-30, with the open questions' recommendations:

  1. The row is made when the focus leaves it, and at once with ⌘Enter.
  2. A row made stays at the end until the page changes.
  3. A paste on the new row is one oncreate a line, in order, with progress, Cancel and a line that fails on its own.
  4. Undo deletes the rows made with the app's ondelete, after a confirm past one row; without it, a row made isn't a step.
  5. Only an options filter with one value fills a new row's default.

As built

As designed, with these differences:

  • The new row waits while it's made. Its cells are read-only, with the pending dot, until oncreate answers; then it's empty for the next. There's no second new row under it meanwhile: a row that fails comes back into the one new row, with nothing typed after it to lose.
  • The rows just added are shown, not edited, at the end of the page with the app's cell and actions, until the page brings them. They're edited in their place from then on.
  • The group is the one of the row the focus was last on.
  • A paste on the new row skips the columns it spans that have neither create nor edit, without counting them: the rows are new, so there's nothing left unchanged to tell of.
  • make:resource's abilities are the list's own: creatable asks for {p}.create, as its New button does (not {p}.store), and ondelete is given only to a user with {p}.delete. The new row's input is the form's blank (null for an optional text or JSON), with what was typed over it.
  • A row queued offline (over a backend) has no row yet: it isn't shown as added, and isn't a step to undo.

Not in this RFC

  • A row inserted between others, or duplicated from one.
  • Deleting rows from the table other than by undo (a Delete in the row menu is the app's actions).
  • A column of a related record (belongs_to) picked with a combobox in the new row.
  • Rows made by a paste over the existing rows' end (past the last row).

Alternatives considered

  • A New row that opens the form. It keeps the form's round-trip, which is what the table is for avoiding.
  • Make the row on the first value typed, then edit it. One write each, but a row made before its required fields are typed fails on the server, or exists half-filled.
  • An import dialog for pasted rows. It's another screen to learn for what a paste already says.