17.0.0-beta.5 (@scion/workbench)
github-actions
released this
29 Feb 14:18
·
137 commits
to master
since this release
17.0.0-beta.5 (2024-02-29)
Bug Fixes
- workbench/router: support moving empty-path view to new window (acebd4c)
- workbench/view: display arrow cursor when hovering over context menu items (5f41151)
- workbench/view: ensure
sci-router-outlet
of inactive microfrontend view has correct attributes in the DOM (3e6be3f) - workbench/view: open view moved via drag & drop after the active view (78dc249)
Features
- workbench/view: enable dependency injection in context menu action callback (7d8d041)
- workbench/view: support moving view to different workbench window (408f634)
BREAKING CHANGES
-
workbench/view: Support for programmatically moving view to different workbench window has introduced a breaking change.
The signature of
WorkbenchView#move
has changed.To migrate:
- Specify the target part as the first argument, optionally defining the region via options object.
- Pass
new-window
instead ofblank-window
to move the view to a new window. - To move a view to a specific workbench window, pass the target workbench id via options object. The target workbench id is available via
WORKBENCH_ID
DI token in the target application. - Note that the built-in view context menu has been renamed from
moveBlank
tomoveToNewWindow
, breaking if overriding defaults such as text or accelerators.