Z-index for in-page overlays that sit above ordinary page content but BELOW modal content — the
renderer's overlay service (src/renderer/components/overlays/) plus a handful of
component-level overlays across lib/ and extensions/.
Deliberately the lowest tier in the scale: anything that must clear a modal, a popover, or the
dock belongs on Z_INDEX_ABOVE_DOCK instead. No ordering test covers this tier.
Consumers are deliberately not listed here — an enumerated list in this comment went stale once
already and sent a menu to 400 underneath its own 600-tier host. Grep for the constant to find
them; the adr-z-index-ordering-invariants entry in
.context/standards/Architecture-Decisions.md records why this tier was left alone.
Z-index for in-page overlays that sit above ordinary page content but BELOW modal content — the renderer's overlay service (
src/renderer/components/overlays/) plus a handful of component-level overlays acrosslib/andextensions/.Deliberately the lowest tier in the scale: anything that must clear a modal, a popover, or the dock belongs on Z_INDEX_ABOVE_DOCK instead. No ordering test covers this tier.
Consumers are deliberately not listed here — an enumerated list in this comment went stale once already and sent a menu to 400 underneath its own 600-tier host. Grep for the constant to find them; the
adr-z-index-ordering-invariantsentry in.context/standards/Architecture-Decisions.mdrecords why this tier was left alone.