Lens / Generic Nested Workspace Engine

Overview

What it is

A schema-driven workspace shell for nested administration experiences.

Problem and context

Legacy tab flows replaced content without durable navigation, leaving users unable to return naturally to previous screens.

Approach

Compile a nested node schema into a searchable sidebar tree and breadcrumb hierarchy, with typed leaf components, scoped overlays, persisted node state and unsaved-changes guards.

Technical depth

Generic Workspace schema compiles into breadcrumb paths, unique node IDs and a flat node index. Groups navigate to their first content leaf; leaves mount keyed components. It supports scoped sheets and modals, a persisted state map per node and scoped dirty-form guards.