The strip on every content seat — tree toggle, the trail as a preference, verbs as arguments.
The strip that says where you are and what you can do here:
CmsContentToolbar (src/components/CmsContentToolbar.tsx) is the
content seat's toolbar. The page editor, the record editor, the media
library, the trash, and Site Management all wear it — what varies between
them is only how the crumbs are built and what sits on the right, and both
are arguments.
It earned its extraction the hard way: the strip was hand-written on five surfaces and the copies drifted — hiding the breadcrumbs and hiding the viewport toggle each had to be threaded through every copy by hand, and each pass shipped a bug where one copy was missed.
treeToggle: null).onClick is a button; muted
is structure with no page behind it; current is where you are;
liProps exists because the media library's crumbs are drop targets.children — publish state, view switches, seat
verbs. A seat with nothing to say passes nothing: Site Management renders
the toolbar with an empty cluster while its admin verbs are designed,
which is the codified way to "hide the asset buttons."position is top (the strip), or left/right — a vertical icon rail
docked inside the seat. Docked, the trail does not come along: crumbs
are a horizontal thing, and the point of docking is to give the canvas its
height back. The gear's breadcrumb preference therefore governs the top
position only.