This repository was archived by the owner on Jul 27, 2026. It is now read-only.
Repository navigation
fix: render telemetry consent banner above the onboarding modal - #1602
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
PR Artifacts Notice This PR contains a
|
Contributor
✅ Mock-LLM E2E Tests60/60 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
Contributor
✅ Mock-LLM Docker E2E Test Results60/60 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
Contributor
|
🚀 Released in v1.2.0. |
2 of 6 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HUMAN:
Verified locally with:
npm run lint→ typecheck (tsc), ESLint, and Prettier all pass.npx vitest run __tests__/components/shared/modals/modal-backdrop.test.tsx→ 5 passed (4 existing + 1 new regression test).The z-order itself is a browser-only observable (jsdom does not compute stacking/paint order), so it must be confirmed in a real browser using the steps under How to Test. The new unit test asserts the functional stacking-layer contract — the elevated overlay carries a higher z-index than the default one — which fails without the fix (both would be
z-60).AGENT:
Why
On first run the telemetry consent prompt appears, then the onboarding modal mounts a moment later and covers it. The consent prompt is a privacy gate that must always sit above onboarding.
Root cause: both overlays render through the shared
ModalBackdrop, which hardcodesz-60and portals todocument.body. At equal z-index the two sibling overlays stack by DOM insertion order, and becauseOnboardingModalisReact.lazy-loaded its portal commits last and paints on top.Summary
elevatedprop toModalBackdropthat raises the overlay toz-[70](default staysz-60, so all other callers are unchanged).TelemetryConsentBannerpasseselevated, so it deterministically stacks above the onboarding modal regardless of mount order.Issue Number
Resolves #1990
How to Test
npm run dev.Video/Screenshots
Type
Notes
z-[70]reuses a layer value already present in the codebase (command-menu.tsx) rather than introducing a new magic number.elevateddefaults tofalse, so the ~30 otherModalBackdropcallers keepz-60and are behaviorally unchanged.🐳 Docker images for this PR
• GHCR package: https://github.com/OpenHands/agent-canvas/pkgs/container/agent-canvas
ghcr.io/openhands/agent-canvasghcr.io/openhands/agent-server:1.32.0-pythonopenhands-automation==1.1.3ef38a1a357087ff283a14a304f1be078ed08304aPull (multi-arch manifest)
# Multi-arch manifest — Docker automatically pulls the correct architecture docker pull ghcr.io/openhands/agent-canvas:sha-ef38a1aRun
All tags pushed for this build
About Multi-Architecture Support
sha-ef38a1a) is a multi-arch manifest supporting both amd64 and arm64sha-ef38a1a-amd64) are also available if needed