Investigate iframed custom views for ELFA Tables and db-app-runner #78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Assess how ELFA Tables can host custom views in isolated iframes, reusing or adapting AtomicServer's existing custom-view infrastructure where appropriate. Keep this separate from the TablePage port investigation so its host/API and isolation requirements can be sized independently.
Existing implementation to inspect
Reference source:
github.com/ontola/atomic-server@49d21e08f7/browser/data-browser/src. Inspect table app views rendered byTableResourcethroughAppPage/AppFrame, its host-store protocol and frame bridge. Also inspect the installed-pluginPluginViewpath: identify whether these are distinct contracts and which is relevant, rather than treating every iframe as the same runtime.AtomicServer app views can appear alongside a table's built-in tabs and consume table context through a host bridge. Determine what is reusable outside the Data Browser and what assumes Atomic resources, installations/agents, source loading, permissions or server endpoints.
Investigation and expected output
Proposed PoC acceptance
Load one small custom view in a real sandboxed iframe, display a selected NextGraph table through the agreed host bridge, and observe a native update. If editing is included, demonstrate an allowed write and a rejected out-of-scope/read-only operation. Verify cleanup on frame/table changes, rejected invalid messages, useful errors and bounded data access; mocked rendering alone does not establish isolation or native storage integration.
ELFA Tables remains the current priority (docs/ROADMAP.md). This investigation does not resume the postponed ELFA Forms or Project implementations and does not depend on document inbox functionality.
Related investigation: #77 — Assess and size a full port of AtomicServer TablePage to ELFA Tables.