Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdf78e4f826

README.md

edui_panels.entities (module)

The Entities/hierarchy panel on edui — the first editor panel ported from zui.

It queries the live ECS entity snapshot (queryEntitiesTable), nests it by parentId under each entity's scene layer, and renders it with edui.tree: a real outliner with chevron disclosure, an icon + name + live-asset chip + sync/lock badges per row, a per-layer visibility toggle, single-click selection wired to the shared selection service (so the viewport outline follows), and a toolbar of the common entity ops (spawn / duplicate / delete / focus) plus a search filter that keeps matches in breadcrumb context.

Selection round-trip

A row click calls selection.set(entityScope, …); the panel also subscribes to that scope, so a selection made anywhere else (viewport, gizmo, another panel) rebuilds the shell and moves the tree highlight. Refs carry stable ids, so a rename or reparent never invalidates the selection.

Registration

Requiring the module registers it into edui.shell (M.register() at load). The edui_panels barrel requires it, so pulling in the barrel brings this panel up. Ops route through editor_ops (undo-wrapped delete/duplicate) and the entity / layers globals.