fix(sidebar): drop panel host below DSH cordis dynamic-plugin layer (z 40→25)
The ui-cordis CordisPanel is position:fixed at z-index 30; the unified panel host at 40 made the bottom workbench cover the cordis inventory and approval surfaces. Host now sits at 25 (above AppFrame overlay 20, below cordis 30 and the 100+ float stack). Update skin contract docs and add a mount e2e assertion for the layering band.
This commit is contained in:
5 files changed
+41
-19
No files matched your search
@@ -143,6 +143,15 @@ test('plugin mounts into the DSH shell and survives a built-in tab sweep', async
|
||||
// The unified panel host: the fixed containing block every panel lives in
|
||||
// (data-dsh-panel-host). Its presence is part of the injection contract.
|
||||
await expect(page.locator('[data-dsh-panel-host]')).toBeAttached({ timeout: 90_000 })
|
||||
// The host's global z-index is part of the layering contract: it must
|
||||
// sit above the AppFrame overlay layer (20) and below DSH's ui-cordis
|
||||
// dynamic-plugin panel (fixed, 30) so that surface is never hidden behind
|
||||
// the workbench, and below the DSH float stack (100+).
|
||||
const hostZ = await page.locator('[data-dsh-panel-host]').evaluate(
|
||||
(el) => Number.parseFloat(getComputedStyle(el).zIndex),
|
||||
)
|
||||
expect(hostZ).toBeGreaterThan(20)
|
||||
expect(hostZ).toBeLessThan(30)
|
||||
|
||||
// A keyless boot stacks onboarding takeovers that mask the whole shell: a
|
||||
// versioned welcome notice ("Continue", persists its acknowledgement to
|
||||
|
||||
Reference in new issue
Block a user