Skip to content

Composition

Purpose

Owns RightPanel registration and tab composition helpers.

This territory defines which panels appear in each right-side tab and preserves the visual registration order used by the editor UI.

Owns

  • RightPanel tab registration
  • Panel registration order
  • Registration context transport
  • Registration safety helpers
  • WIP panel collection registration
  • Global volume panel adaptation

Does NOT Own

  • Panel construction
  • Feature workflow logic
  • Capture/export behaviour
  • Rendering implementation
  • Preview lifecycle
  • UI drawing implementation

Allowed Dependencies

Composition may depend on:

  • Panel abstractions
  • Panel implementations as registration targets
  • Lightweight adapters
  • Diagnostics for registration warnings

Composition should avoid depending on:

  • feature services
  • preview lifecycle systems
  • rendering implementation systems
  • export/capture systems

Notes

Composition helpers own registration order only.

They must not: - construct panels - mutate feature state - run workflows - perform capture/export operations - hide side effects during registration

Keep registration order aligned with the visible UI.

This makes the RightPanel easier to read without hiding behaviour behind clever discovery systems.

Future Candidates

  • Keep registration helpers side-effect free.
  • Continue using explicit registration over reflection.
  • Avoid turning composition helpers into workflow coordinators.