feat: Add content overlay and status bar overlay mode for condensed layout#1545
Draft
jjbeckman13 wants to merge 6 commits into
Draft
feat: Add content overlay and status bar overlay mode for condensed layout#1545jjbeckman13 wants to merge 6 commits into
jjbeckman13 wants to merge 6 commits into
Conversation
…unication Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
|
|
Add bottom tool widget composers and update frontstage configuration - Introduced BottomContentToolWidgetComposer and BottomViewToolWidgetComposer for bottom-left and bottom-right tool areas. - Updated FrontstageConfig to include bottomContentManipulation and bottomViewNavigation properties. - Enhanced ToolbarComposer to support bottom tool usage. - Modified Toolbars and WidgetPanelsToolbars to render new bottom tool areas. - Added corresponding styles in Toolbars.scss for bottom tool layout.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds a content overlay and status bar overlay mode to
StandardLayout, enabling parent applications to iframe an AppUI child app and seamlessly place their own UI components over a reserved transparent zone.Motivation
Portal applications have the need to overlay their own header, toolbar, or navigation components on top of the viewport area without conflicting with the AppUI widget panel layout. This PR provides first-class support for that pattern.
Changes
Core Library (
@itwin/appui-react)StandardLayout.tsx— New optionalcontentOverlay(ReactNode) andstatusBarOverlay(boolean) props on the internal layout component. WhencontentOverlayis provided, it renders inside.nz-centerAreaabove the viewport. WhenstatusBarOverlayis true, the status bar renders between widget panels (overlaying the viewport) instead of as a full-width grid row.StandardLayout.scss— Added.nz-statusBarOverlaystyles with:--iui-color-background+--iui-border-radius-1)ConfigurableUiContent.tsx— ExposedstatusBarOverlayin the publicConfigurableUiContextso consuming apps can enable it declaratively.Frontstage.tsx— ReadsstatusBarOverlayfrom context and passes it through toStandardLayout.Test App
ContentOverlayFrontstage.tsx— New frontstage demonstrating the overlay pattern:OverlaySpacercomponent posts its bounding rect towindow.parentviapostMessageappui-set-overlay-modemessages to toggle overlay mode without iframe reloadparent-app.html— Full demo of the parent portal pattern:How It Works
Demo
2026-04-30_15-45-04.mp4
Testing
pnpm --filter test-app devhttp://localhost:3000/parent-app.html