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 0076 — Views on the server: synced, and shared with a team

RFC 0076 — Views on the server: synced, and shared with a team

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

Summary

RFC 0070 gave a list the user's own views, "Overdue, Q3", "My customers", kept in the settings store on this machine. RFC 0070 left "views shared with a team, or synced between machines" for later, and RFC 0071 "views kept on the server". An app over a Laravel backend has a server and a user: a view saved at the office should be there on the laptop, and the view the team lead made for the month's close should be the team's.

This RFC keeps a list's views on the server when the app has a Laravel backend with the package's views routes:

// routes/api.php
Route::middleware('auth:sanctum')->group(function () {
    Route::elyraViews();
});
  • The user's views follow them: saved, renamed and deleted on the server, under the user and the list (persist's name), so every machine they sign in on has them. Offline, the last copy is used and a change is queued (RFC 0007), as any other write.
  • A view can be shared: Save view… has Share with the team for a user who may (elyra.views.share, an ability the app grants, RFC 0010). The Views menu has the app's, the team's and the user's own, each under its heading. A shared view is changed only by whoever made it, or by a user who may share.
  • Nothing changes in the page: a Table with persist and views keeps them on the server when the app has one, else in the settings store as in 0.63. The same { name, filters, search, sort, direction, group, columns }.
  • The local views move once: the first time a machine finds the server's views, it saves its own there, and keeps no second copy.

Motivation

  • A view is the user's, not the machine's. Users of a business app have a desk and a laptop; RFC 0070's views stay on the desk.
  • Teams work from the same lists. "Overdue over 10,000" is the collections team's list, made once by whoever knows the filters. Today each user rebuilds it, and the app's views are a release away.
  • The backend is already there. RFC 0005 signs the user in to Laravel, RFC 0010 says what they may do, RFC 0007 queues writes offline: views are a small table and five routes on top.
  • It must stay optional. An app without a backend, or a backend without the routes, keeps 0.63's views on the machine.

Current state (0.65)

  • Table with views and persist reads and writes the user's views under elyra-ui.table.<persist>.views in the settings store (store.get/store.set, /__store/), as [{ name, … }].
  • keptViews drops what isn't a view; the app's names can't be taken.
  • The Laravel package registers opt-in route macros (Route::elyraAuth(), elyraNotifications(), elyraAbilities(), …); Backend sends the user's token; RFC 0007's outbox queues writes offline and replays them; RFC 0010's abilities come from the server.
  • Broadcasting (RFC 0006) reaches the desktop over the user's private channel.

Design

The runtime: views

@elyra/runtime gets views, the one place a Table keeps its views:

views.list(list: string): Promise<SavedView[]>
views.save(list: string, view: SavedView, options?: { shared?: boolean }): Promise<SavedView>
views.rename(list: string, id: string, name: string): Promise<SavedView>
views.remove(list: string, id: string): Promise<void>
views.subscribe(list, run): () => void   // the list's views, as they change

A SavedView is RFC 0070's view with id, shared, mine (made by this user) and owner (a name, for a shared view). Behind it, the shell decides where they live: over a backend with the views routes, the server; else the settings store, as in 0.63. Table calls views instead of store for its views; its widths and columns stay in the settings store (they're the machine's: its screen).

The shell: /__views/

Rust's elyra::views (with the backend feature) answers the runtime's /__views/{list,save,rename,remove}:

  • With a backend whose GET /api/elyra/views answers (asked once per sign-in; a 404 means the app hasn't the routes), it forwards to it with the user's token, and keeps the last answer per list in the settings store, the cache an offline start reads.
  • Writes offline go through RFC 0007's outbox (queue_offline): the cache changes at once, the server when the connection is back. A write the server refuses (a name taken, a view gone) comes back as the outbox's refused writes do, and the list is read again.
  • Without one, it's the settings store, as 0.63's key, so an app that never had a backend sees no change.
  • Changes from elsewhere arrive as a broadcast on the user's private channel (elyra.views.{user}) and, for shared views, on elyra.views.shared; the shell reads the list again and the runtime's subscribe tells the tables.

The package: Route::elyraViews()

The Laravel package ships a migration (elyra_views: id, user_id, list, name, definition JSON, shared, timestamps; a name unique per user and list, and among a list's shared views) and the routes:

Route Does
GET /elyra/views?list=customers the user's views of the list, and the shared ones
POST /elyra/views saves one (list, name, definition, shared)
PUT /elyra/views/{id} renames it, or saves its definition again
DELETE /elyra/views/{id} deletes it
  • Who may: a user's own views are theirs. shared needs the ability elyra.views.share (a Gate the app defines; without it, no one shares). A shared view is changed or deleted by its owner, or by a user who may share. Every query is the user's, or shared = true.
  • The definition is stored as the desktop sends it, checked to be an object of RFC 0070's keys and at most 16 KB; the server doesn't read the filters (the list's own controller does, when they're asked).
  • Events: each write broadcasts ElyraViewsChanged to the owner's channel, and to the shared channel when the view is or was shared.

The Views menu

  • Headings: the app's views, Shared (the team's, each with its owner's name for a screen reader and as a tooltip), Mine. A shared view of the user's own is in Shared, marked as theirs.
  • Save view… asks for a name and, for a user who may share, has Share with the team. Save over a shared view of someone else's isn't offered: Save as new view… is.
  • Rename and delete are offered on the user's own and, for a user who may share, on shared views; deleting a shared view asks first ("The team loses it too").
  • A view that's gone (deleted elsewhere while in use) leaves the list as it asks, under All, said in the live region.

The move from the machine

When the shell first finds the server's views for a user, it saves each of the machine's views (0.63's key) for each list there, unshared, a name taken being given a number ("Overdue 2"), and then deletes the local key. It does this once per user and machine, and says nothing: the views are where they were in the menu.

make:resource --backend

The list it writes already has views={[]} and persist; nothing changes in the page. Its printed hint adds Route::elyraViews() to the routes the resource asks for. scripts/laravel-backend.sh registers them, and framework/tests/laravel_views.rs tests them end to end.

Implementation plan

  1. The Laravel package: the migration (loaded by the provider), ElyraView, ViewsController, Route::elyraViews(), the elyra.views.share check, ElyraViewsChanged; its README and skill.
  2. elyra::views: /__views/ over Backend (asked, cached, queued, refreshed on the broadcast), else the settings store; the move from the machine; its capability (RFC 0016) beside /__store/.
  3. @elyra/runtime: views and its types.
  4. @elyra/ui: Table through views; the menu's headings, Share with the team, the owner's name, the confirm; the words (en, nb).
  5. Tests: the package against the real Laravel app (CI's step), the shell with an HttpFake, the table with the runtime's stand-in; the smoke harness's fake gains /__views/.
  6. Docs: table.md (Saved views), backend.md, offline.md, the skills; the CHANGELOG; the roadmap.

Open questions

  1. The views' own routes, or the settings store synced as a whole? Recommendation: views' own. A synced settings store would carry the machine's widths and window sizes to a laptop with another screen, and has no notion of sharing.
  2. Who may share: an ability, or anyone? Recommendation: an ability, elyra.views.share, that the app grants (none by default). A team's list that anyone can change is a list no one trusts; the app decides who curates.
  3. The migration loaded by the provider, or published? Recommendation: loaded (loadMigrationsFrom) when the app calls Route::elyraViews()'s companion ElyraBackend::views() in a service provider, so an app that never uses views gets no table; published with vendor:publish --tag=elyra-views for an app that wants to edit it.
  4. The machine's views moved automatically? Recommendation: yes, once, unshared: they're the user's, and asking "move your views?" is a question with one answer.
  5. Live updates when a teammate changes a shared view? Recommendation: yes, through the broadcast the app already has (RFC 0006); without broadcasting configured, a list's views are read again each time its menu opens.

As built

  • elyra::views: local (RFC 0070's key in the settings store, a view's id its name) and, with backend, Views (list, save, update, remove, forget), bound by Backend::views(). The shell's /__views/{list,save,update,remove} asks Views when it's bound, else the settings store; rename is update with a name, and share is update with shared.
  • A 404 on the list or a save means the server hasn't the routes: the views stay on the machine until the app restarts.
  • Offline, writes go through queue_offline(): the cached copy changes at once, a new view with a queued-… id until the server answers and the list is read again.
  • The cache is forgotten at sign-out and at a switch of user, rather than kept per user: a machine shared by two users never shows one the other's.
  • Broadcasts: ElyraViewsChanged on the user's own channel (which the desktop now follows for .views() alone, as for the abilities) reaches the windows on elyra:views; a Table reads its list again. A teammate's change to a shared view isn't broadcast to the team: a list's views are read again each time its menu opens (Dropdown's new onopen), the fallback the RFC named.
  • Sharing is a menu item, Share with the team / Stop sharing on the user's own view, rather than a checkbox in Save view…: the runtime's prompt has no checkbox, and sharing a view already saved is the common case.
  • The package: ElyraView (visibleTo, editableBy, mayShare, toDesktop), ViewsController, ViewsChanged; the migration is added to the migrator by ElyraBackend::views(), and published with --tag=elyra-views. The answer's views carry editable.
  • Checked: against the real Laravel app (framework/tests/laravel_views.rs, a CI step: saved, a name refused per field, renamed and shared; Bob sees the team's view, may not delete it or share one, his own is his; a machine's views moved once; a server without the routes keeps them on the machine), the runtime's bridge, the Table with the stand-in (the headings, sharing, the confirm, a refusal, a change elsewhere, a view that's gone), and the resource smoke test (the list read through /__views/list).

Decisions

Accepted 2026-11-29, with every recommendation:

  1. Views have their own routes; the settings store isn't synced (widths are the screen's).
  2. Sharing needs the ability elyra.views.share, which the app grants; by default no one shares.
  3. The migration is loaded once the app turns views on, and can be published with vendor:publish --tag=elyra-views.
  4. A machine's views move to the server once, unshared, without asking.
  5. Changes elsewhere arrive by broadcast (RFC 0006); without it, a list's views are read again each time its menu opens.

Not in this RFC

  • Views shared with some, not all (a role, a department): shared is the whole team; finer sharing is the app's own policy on the same table, later.
  • The app's views from the server (views stays the app's code).
  • Columns' widths synced: they're the screen's.
  • Views for a list without a backend synced through another service.

Alternatives considered

  • The settings store, synced. One mechanism for everything, but it mixes the user's with the machine's, conflicts at the level of a whole value, and has no sharing.
  • Views as the app's own resource (make:resource View). Every app would rebuild the same table, routes and rules; the package's routes are the same for every list and every app.
  • Sharing by link (a view encoded in a URL, sent to a teammate). RFC 0070's ?view= names a view; carrying a whole definition in a link is useful but isn't a team's list: it doesn't change when the list's owner fixes it. A later RFC can add it beside this one.