-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resize Popout to fit content on popout (#557)
* Resize popout widgets to fit content * Changelogs * Move size calculation to internal method * Update ui/appui-react/src/appui-react/childwindow/InternalChildWindowManager.tsx Co-authored-by: Raphaël LEMIEUX <[email protected]> * Resize only takes effect on intial popout * extract-api * Rush audit fixes * Extract Api * Revert "Rush audit fixes" This reverts commit 8719f3e. * Move size calculation further into nine zone state * Update FrontstageDef.tsx * Add test coverage * extract-api * Rush change * Delete common/changes/@itwin/appui-layout-react/joeh-resizePopout_2023-10-24-19-16.json * Delete common/changes/@itwin/appui-react/joeh-resizePopout_2023-10-24-19-16.json * Update NextVersion.md * Change playwright test * Uneeded test changes * Set min width for error boundary so that it appears in content renderer * Check size of popout when fitting to container in test * Delete common/changes/@itwin/appui-layout-react/joeh-resizePopout_2023-10-30-15-36.json * Delete common/changes/@itwin/appui-react/joeh-resizePopout_2023-10-30-15-36.json * Remove popout container and popout to floating widget bounds * Refactor changelogs * When preferredFloatingWidgetSize not set, will popout to content container size * Update ui/appui-layout-react/src/appui-layout-react/state/NineZoneStateReducer.ts Co-authored-by: Raphaël LEMIEUX <[email protected]> * Update joeh-resizePopout_2023-11-02-18-19.json * Update NextVersion.md * Change inital size of popout in test * Update joeh-resizePopout_2023-11-02-18-19.json * Update joeh-resizePopout_2023-11-02-18-19.json * Update NextVersion.md * Update NextVersion.md * Updated screenshot for failing test * Fix broken screenshot --------- Co-authored-by: Raphaël LEMIEUX <[email protected]>
- Loading branch information
1 parent
d1b1293
commit e65756f
Showing
9 changed files
with
102 additions
and
7 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
common/changes/@itwin/appui-layout-react/joeh-resizePopout_2023-11-02-18-19.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@itwin/appui-layout-react", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@itwin/appui-layout-react" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@itwin/appui-react/joeh-resizePopout_2023-11-02-18-19.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@itwin/appui-react", | ||
"comment": "Popout widgets will now popout to preferredFloatingWidgetSize. Will popout to container size if preferredFloatingWidgetSize is not set", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@itwin/appui-react" | ||
} |
This file contains 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
This file contains 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
Binary file modified
BIN
-9.05 KB
(58%)
...t.ts-snapshots/popout-widget-should-apply-styles-to-popout-1-chromium-win32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This file contains 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
This file contains 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
This file contains 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