Skip to content

Workbench Data Browser (read-only) + engine non-generic entity access - #374

Merged
nockawa merged 1 commit into
mainfrom
feature/wb-impr
May 23, 2026
Merged

nockawa merged 1 commit into
mainfrom
feature/wb-impr

Conversation

@nockawa

@nockawa nockawa commented May 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the read-only Data Browser to the Workbench (Phase 1: Open-file sessions, HEAD), plus the engine non-generic entity-access APIs it depends on, File Map renderer improvements, and a schema-manifest refactor.

Engine

  • EntityRef.ReadRaw(slot) / ComponentCount / GetComponentName(slot) / IsEnabled — zero-copy, all storage modes
  • Transaction.EnumerateArchetypeEntities(ushort) — MVCC-visible, cluster + legacy
  • Storage introspection additions; RawValueHashMap extensions

Workbench — server

  • DataBrowserService + ComponentValueDecoder (reflection-free decode), DataBrowserController, EntityPageDto / EntityDetailDto
  • Schema: drop SchemaConvention in favor of manifest-based loading (SchemaLoader / EngineLifecycle)

Workbench — client

  • Virtualized entity-list panel + component-cards detail, column picker, context menu
  • useEntityPage / useEntityDetail / useComponentSchemas hooks, useDataBrowserStore
  • "Open in Data Browser" handoff from Schema/Archetype context menus
  • File Map: per-kind renderer, nav history, color/hilbert refinements

Tests

  • Engine: NonGenericEntityAccess, RawValueHashMap, SpatialGridReopen, SchemaManifest
  • Workbench: DataBrowserController, EngineLifecycleManifest
  • Client: store + hooks unit tests; data-browser Playwright canary

🤖 Generated with Claude Code

Engine:
-EntityRef.ReadRaw/ComponentCount/GetComponentName, Transaction.EnumerateArchetypeEntities, storage introspection
- Schema: drop SchemaConvention for manifest-based loading

Workbench:
- DataBrowser service/controller/DTOs, entity list + component cards panels, hooks/store, "Open in Data Browser" handoff
- File Map: per-kind renderer, nav history, color/hilbert refinements

Tests: engine + workbench + client + e2e
@nockawa
nockawa merged commit 5360cdb into main May 23, 2026
6 checks passed
@nockawa
nockawa deleted the feature/wb-impr branch May 23, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant