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 0083 — A filter by a related record: the customers picked by searching

RFC 0083 — A filter by a related record: the customers picked by searching

Status: implemented (2026-11-30) · Target: 0.66.0 · builds on RFC 0069, RFC 0071 and RFC 0082 · see Decisions

Summary

"Invoices for Acme and Globex" is the filter a list of invoices is used with most. RFC 0069's filters take text, numbers, dates and options; a belongs_to column has none, because 3,000 customers aren't options. RFC 0082 gave such a column a ref, which knows how to search them and name them. This RFC lets the column filter by it.

{
  key: "customer_id",
  label: "Customer",
  ref: { search: (s) => api.customers_index({ search: s, per_page: 20 }), find: (id) => api.customers_show(id) },
  filter: "ref",
}
  • The panel: a search for the records, each pick added to a list of the ones chosen, each with a way to take it out. Apply filters by them.
  • The chip says them by name: "Customer: Acme Ltd, Globex".
  • query.filters.customer_id is the keys, [1, 2], as an options filter's values are: a plain array filters itself, a command and Laravel's elyraList take it as options (whereIn), unchanged.
  • Saved views (RFC 0070) keep the keys; their names come back by find.
  • make:resource gives a parent with a resource filter: "ref", and the command's filters a Vec of its keys.

Motivation

  • The most used filter isn't there. A list of invoices is filtered by customer, tasks by project, orders by supplier. Today that's the search box, which also matches the text in every other column.
  • The pieces exist. The filters' panel, chips, query.filters and views (RFCs 0069, 0070); options filtered by whereIn in the command (filter_options) and in elyraList (options); and ref's search and names (RFC 0082).

Current state (0.67)

  • A column's filter is "text", "range", "dates", { options } or "options". Its panel sets query.filters[key]; an options filter's value is a list of the options' values, and its chip their labels.
  • A command's {Model}Filters has Option<Vec<T>> for an options filter, applied with filter_options (IN); elyraList's options kind is whereIn.
  • make:resource gives a field a filter by its kind; a reference has none.
  • A ref column (RFC 0082) shows names, found once a key, and searches its records with search.

Design

filter: "ref"

On a column with a ref. Its funnel opens the panel:

  • A search: a Combobox over ref.search. A pick adds the record to the list below it, and empties the search for the next.
  • The chosen: each by its name, with a button to take it out (removeFilterValue(name), "Remove Acme Ltd").
  • Apply sets query.filters[key] to their keys, in the order picked; Clear takes the filter off, as for every filter.
  • The chip: "Customer: Acme Ltd, Globex"; past three, "Customer: Acme Ltd and 3 more".

What it filters

  • A plain array keeps the rows whose key is one of them, as an options filter does.
  • A live page's command gets filters: { customer_id: [1, 2] }: the same shape as an options filter, so filter_options and elyraList's options apply it as they are.
  • No match is the list's empty state, as for any filter.

Names

The panel and the chip use the table's names (RFC 0082). A view or a query that comes with keys the table hasn't named yet finds them with find, and shows the keys until then.

make:resource

  • A reference whose parent has a resource gets filter: "ref" with its ref (RFC 0082), and is one the user may group by, as every filtered column is (RFC 0074).
  • The command's {Model}Filters gets Option<Vec<{key type}>> for it, applied with filter_options; with --backend, the controller's elyraList gets it as 'options'.

Words

addFilterValue, removeFilterValue(name), chipMore(first, n), in words.js and en/nb.

Implementation plan

  1. ui/src/internal/filters.js: the ref kind (its rows, its emptiness, its chip from names).
  2. Table.svelte: the panel's search and chosen list, the chip by names, keys from a view named by find.
  3. Words.
  4. rata make:resource: filter: "ref", the filters' Vec, the controller's 'options'; tests and the smoke.
  5. Tests: the panel's pick, take out, apply and clear; the chip by name and past three; a plain array filtered; a live page's query; a view's keys named; the generated command filtering by keys.
  6. Docs: table.md (filters), the skill, resources.md, CHANGELOG.

Open questions

  1. More than one record, or one? Recommendation: more than one, as an options filter is. "Acme and Globex" is a common ask, and one is the same with a list of one.
  2. The panel's list as checkboxes of recent picks? Recommendation: no. The chosen are listed with a way to take each out; recent picks are what a saved view is for.
  3. "Has none" (customer_id empty)? Recommendation: not in this RFC. It's a different filter (IS NULL) for the command and elyraList, and few lists need it.

Decisions

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

  1. More than one record, as an options filter has.
  2. No list of recent picks: the chosen are listed, each with a way out; recent picks are a saved view's.
  3. No "has none" filter in this RFC.

As built

As designed, with these differences:

  • The panel's search re-opens empty after each pick, for the next; Enter picking from its list doesn't apply the filter, only Apply or Enter with the list closed does.
  • make:resource's filter is for a parent with a resource: one without stays unfiltered, as it has no search. The command's filter is Option<Vec<key>> with filter_options, the controller's hint 'options', and the column is one the user may group by.
  • The chip's "and 2 more" is chipMore(first, n), with the first three names.

Not in this RFC

  • A filter for rows with no related record.
  • Filtering by a related record's own fields ("customers in Oslo").
  • Many-to-many (belongs_to_many) filters.

Alternatives considered

  • An options filter with every record. Fine for five teams, not for 3,000 customers, and the options would go stale.
  • The search box. It finds "Acme" in every column, and can't say "these two".