Skip to content

Add getPanels to UiItemsProvider - #1480

Open
GerardasB wants to merge 15 commits into
masterfrom
gerardas/dynamic-panel
Open

Add getPanels to UiItemsProvider#1480
GerardasB wants to merge 15 commits into
masterfrom
gerardas/dynamic-panel

Conversation

@GerardasB

@GerardasB GerardasB commented Dec 15, 2025

Copy link
Copy Markdown
Collaborator

Changes

This PR adds getPanels property to UiItemsProvider interface.
Standard layout now supports dynamic panels with "left" and "right" placements.
Additionally, imperative panels API is exposed via FrontstageDef class.

Preview

https://itwin.github.io/appui/1480/?path=/story/frontstage-panels--dynamic-panel

@GerardasB GerardasB changed the title WIP: add getPanels to UiItemsProvider Add getPanels to UiItemsProvider Dec 29, 2025
@GerardasB
GerardasB marked this pull request as ready for review December 29, 2025 08:08
@GerardasB
GerardasB requested a review from a team as a code owner December 29, 2025 08:08
@GerardasB GerardasB self-assigned this Dec 29, 2025
@GerardasB GerardasB added the enhancement New feature or request label Dec 29, 2025
@grigasp

grigasp commented Sep 2, 2026

Copy link
Copy Markdown
Member

🕐

@grigasp grigasp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not competent to review the implementation, but looked at the API and the story - AFAICT the dynamic panel meets our needs. Would ask @saskliutas for a deeper look.

Comment on lines +32 to +35
/** Describes the data needed to provide a panel.
* @public
*/
export type Panel = CommonPanel | InformationPanel | DynamicPanel;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there documentation somewhere that I missed, describing the differences between these panel types?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe InformationPanel is just a placeholder for specifically https://itwinui.bentley.com/docs/informationpanel (one more panel type, that overlaps other stage panels/dynamic panels).
The idea was to use the same set of APIs, with slightly different definitions.
We should remove InformationPanel for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants