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 0078 — Editing in the table: a cell changed where it is

RFC 0078 — Editing in the table: a cell changed where it is

Status: implemented (2026-11-29) · Target: 0.65.0 · builds on RFC 0012, RFC 0039 and RFC 0069 · see Decisions

Summary

To change one value in a list today, the user opens the row, finds the field in its form, saves, and goes back to the list. For the work a desktop business app is used for (a status for twenty invoices, a price list, the hours of a week), the spreadsheet's way is the expected one: the cell is changed where it is.

<Table
  page={list}
  bind:query
  columns={[
    "name",
    { key: "status", edit: { options: [["open", "Open"], ["paid", "Paid"]] } },
    { key: "credit", align: "end", edit: "number" },
  ]}
  onedit={(row, key, value) => api.customers_update(row.id, { ...inputOf(row), [key]: value })}
/>
  • A column's edit: "text", "number", "date", "boolean" or { options }, with the same kinds as RFC 0069's filters. editable(row) says, per row, whether this one may be changed (a locked invoice, an ability).
  • The keys of a spreadsheet: with an editable column, the table is a grid. Arrows move between cells. Enter or F2 edits a cell, and typing starts editing over its value. Enter saves and goes down, Tab saves and goes to the next editable cell, and Esc leaves the value as it was. A double click edits too.
  • onedit(row, key, value) writes it: the app's update command. The cell shows the new value at once, with RFC 0039's dot until the write is done. If the write fails, the value goes back. A ValidationError for the field stays on the cell, which keeps editing.
  • make:resource --inline writes the lists with it: editable columns for the simple types, and onedit through the update command.

Motivation

  • The common edit is one value. A status, an amount, a date, a checkbox. A form round-trip for each is most of the time spent, and the user loses their place in the list each time.
  • Lists are where the work is. With filters, views, grouping and totals (RFCs 0067–0077), the list is where users decide what to change. The totals in the foot and the group subtotals should follow an edit at once, which a form on another route can't show.
  • The pieces exist. Optimistic writes and the pending dot (RFC 0039), validation errors per field (ValidationError), the filter kinds and their inputs (RFC 0069), and the selection's keyboard (RFC 0012). What's missing is the cell as an editor, and the grid's keys.

Current state (0.66)

  • A row is focusable (with onrowclick or select). ↑/↓ move between rows, Enter opens the row, Space selects it. A cell is drawn by its format or the app's cell(row, column) snippet, and a click on an input, button or link in a cell is the cell's.
  • pending marks rows with a write not yet confirmed (RFC 0039).
  • A filter's kind is "text", "range" (numbers), "dates" or { options }, with an input for each in the filter's panel.
  • make:resource writes {p}_update(id, input) taking the whole input, and a form that builds it from the record (fromRecord, payload).
  • ValidationError.errors is the field-to-messages map that Form shows under its fields.

Design

A column's edit

edit?: "text" | "number" | "date" | "boolean" | { options: [value, label][] }
editable?: (row) => boolean          // on the Table: may this row be changed
onedit?: (row, key, value) => Promise<unknown>
  • With no onedit, edit does nothing: a table is read-only unless the app says how to write.
  • editable(row) false: the row's cells are shown as today, not focusable as editors, and Enter on them opens the row.
  • A column with cell drawn by the app is still editable: the snippet draws the cell, and the editor replaces it while editing.

The grid

With an editable column and onedit, the table's role is grid and its cells take the focus, one at a time (a roving tabindex):

Key
← → ↑ ↓ The next cell.
Home / End The row's first or last cell.
Enter, F2 On an editable cell: edit it. On another cell: open the row, as today.
A character On an editable text or number cell: edit it, starting from that character.
Space On a boolean cell: toggle it, and save. Elsewhere, select the row, as today.
Delete, Backspace On an editable cell that may be empty: empty it.
While editing: Enter Save, and move to the cell below.
While editing: Tab / Shift+Tab Save, and move to the next or previous editable cell, row by row.
While editing: Esc Stop editing and keep the value as it was.

A double click on an editable cell edits it. A single click focuses it, and opens the row only on a cell that isn't editable, so onrowclick and editing can share a table. A click outside the editor saves it, as Enter does without moving.

The selection's keys stay. Space on the checkbox's cell, and on a cell that isn't boolean, selects the row. ⌘A and ⌘C work as they do on a row. ⌘C on a cell copies the row, or the selected rows, as RFC 0066 does.

The editors

The same inputs as the filter panel: Input for text and numbers (with inputmode, and the column's align), DatePicker for a date, Select for options, Checkbox for a boolean. A boolean cell is its checkbox even when it isn't being edited. The editor fills the cell, and the row keeps its height.

The value given to onedit has the column's type: a number or null for an empty number, "YYYY-MM-DD" for a date, the option's value, and true/false. Text is trimmed, and empty text is null, as make:resource's forms send it.

The write

  1. On save, if the value is unchanged, nothing is written.
  2. The cell shows the new value at once, and the row has the pending dot (RFC 0039) while onedit runs. The foot's totals and the group's subtotals over a plain array follow it. Over a live page they follow when the query runs again.
  3. When onedit resolves, the cell keeps the value until the page brings the row with it (the live query's re-run, RFC 0017).
  4. A ValidationError with the column's key: the editor opens again with the value the user typed and the message under it (aria-invalid, aria-errormessage). Errors for other fields (whole-input commands validate every field) and any other failure: the value goes back, and a toast says the first message, "Couldn't save Credit: …".
  5. A write queued offline (RFC 0007) is done as far as the table is concerned; the pending dot stays until the outbox sends it.

make:resource --inline

  • The index view's columns of text, number, date, boolean and enum fields get edit (a belongs_to, a file, JSON and a long text don't). A unique field is still editable; its 422 shows on the cell.
  • onedit builds the input from the row as the form's fromRecord and payload do (both written into the index view as inputOf(row)), and calls {p}_update. It's .optimistic() when the resource is.
  • editable is () => can("{p}.update") when the update command has an ability.
  • Without --inline, the lists stay as they are.

Implementation plan

  1. ui/src/internal/edit.js: the kinds, the value from the editor's text (valueOf(kind, text)), unchanged-ness, the next editable cell for Tab, and the overlay of values not yet in the page.
  2. Table.svelte: the grid's focus (roving tabindex on cells, the arrows, Home/End), the editor in a cell, save/cancel, the write with the pending dot, errors on the cell, the double click, and the click that opens only on a non-editable cell.
  3. Words: edit(column), editing(column), saveFailed(column, message), empty for an emptied cell's announcement, in words.js and en/nb.
  4. rata make:resource --inline: the columns' edit, inputOf, onedit, editable, and its tests.
  5. Tests: the keys (each one in the table above), a double click, the write and its pending dot, unchanged values, a ValidationError on the field and on another field, a failure, editable(row), a boolean cell, totals following, a cell snippet, and the selection's keys still working.
  6. Docs: table.md ("Editing in the table") with a gallery example, the keyboard table, the skill, resource.md for --inline, CHANGELOG.

Open questions

  1. A grid only when something is editable? Recommendation: yes. A read-only table keeps its rows as the focus stops, which is what a list that only opens rows needs; the grid's cell-by-cell focus is for tables that are edited.
  2. Does a click open the row, or focus the cell? Recommendation: a click on an editable cell focuses it and a double click edits; a click on any other cell opens the row, as today. The generated lists with --inline keep opening from the name column.
  3. make:resource lists editable by default, or behind --inline? Recommendation: behind --inline for now. Existing apps keep the lists they have, and the default can change once apps have used it.
  4. Pasting a block from a spreadsheet, fill down, undo? Recommendation: not in this RFC. They each write many rows at once, which needs the bulk write this RFC doesn't have. They come next, on top of the grid.

As built

  • ui/src/internal/edit.js: editKind, editOptions, textOf, valueOf (the column's type, undefined for text that isn't one: "1 234,5" is 1234.5), same, cellKey, typesOver, and failureOf (a ValidationError's message for the field, else the first message, else the error's).
  • Table.svelte: onedit and editable props. gridMode is an edit column and onedit; then the table has role="grid", each body cell data-col, a roving tabindex (cursorAt: the cursor while its row is on the page, else the first cell) and aria-readonly when it isn't editable, and the rows aren't focus stops. The cell's keys (onCellKey) handle the arrows, Home/End, Enter/F2, typing over, Delete/Backspace and a boolean's Space, and hand the rest to the row's (rowKeys, split from onRowKey): ⌘C and the menu, Space to select, ⌘A, Esc, Quick Look, and Enter on a cell that isn't editable to open the row. Moving is by the rows drawn (tr[data-key]), across the groups.
  • The write: overlay (a Map by cell) holds a value from the moment it's saved; withEdits applies it to a plain array before it's searched, filtered and totalled, and to a live page's rows. A confirmed value stays until the rows change (rows or the page's data, by identity). writing counts a row's writes in flight, and unsent shows the pending dot for them. A ValidationError for the column reopens the editor with the typed text, aria-invalid and an aria-errormessage (role="alert"); anything else is a toast, "Couldn't save Amount: …".
  • The editors are native: an <input> for text and numbers (inputmode decimal), <input type="date"> for a date, and a <select> for options (a change saves at once). The RFC named DatePicker; the native date input is used instead, as it keeps the cell's height and leaves Enter, Tab and Esc to the grid, with no popover. A boolean is the Checkbox, in the cell always, disabled where the row isn't editable.
  • Words: editCell, saveFailed, notANumber, notADate, notAnOption, emptied, in words.js and en/nb.
  • rata make:resource --inline (with --view or --generate): Field::edit() gives a field's kind (a file, a reference, long text and JSON have none); the columns after the first get edit, unless the column's name isn't the field's (the row and the input disagree on its key). The index view gets inputOf(row) (every non-file field of the input, as the row has it), edit(row, key, value) calling {p}_update (a file argument null; over a backend, a queued rejection is a write done), onedit={edit}, and with abilities editable={(row) => row.can?.update ?? $can("{p}.update")}. Enums aren't a field type make:resource has, so { options } is for an app's own columns.
  • Tests: ui/src/table-edit.test.js (20), the gallery's table/edit example, inline_edits_the_lists_cells_through_the_update_command and the flag's test in ratatosk, and scripts/smoke-resource.sh generating its Invoice with --inline and building it.

Decisions

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

  1. A grid only when something is editable: an editable column and onedit. A read-only table keeps its rows as the focus stops.
  2. A click on an editable cell focuses it, a double click edits it; a click on any other cell opens the row, as today.
  3. make:resource behind --inline: the lists it writes stay as they are without it.
  4. Pasting a block, filling down and ⌘Z come later, on top of the grid, with a write of many rows.

Not in this RFC

  • Pasting a block of cells, filling down, and ⌘Z.
  • A new row typed at the end of the table.
  • A column of a related record (belongs_to) edited with a combobox.
  • A write of one field (a PATCH with only that key); onedit is the app's, and can send that if its command takes it.

Alternatives considered

  • Edit a row at a time (the row becomes a form, with Save and Cancel). Fewer writes, but it's the form's round-trip in another place, and it doesn't have the keys a list's user expects.
  • A separate <Grid> component. It would repeat the table's paging, filters, views, groups, totals and selection. The grid's keys are a mode of the table instead.
  • Save on every keystroke. Many writes, and a half-typed value checked by the server. A save is on Enter, Tab or leaving the cell.