Skip to content

18.0.0-beta.4 (@scion/workbench)

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Aug 12:39
· 64 commits to master since this release

18.0.0-beta.4 (2024-08-28)

Bug Fixes

  • workbench/view: update view properties between route deactivation and route activation (5526eec)
  • workbench/router: activate part only if specified by the navigation (51ba3bb)
  • workbench/popup: render popup at the correct position when activating view (a13e93f)
  • workbench/layout: debounce storing workbench layout (076c241)
  • workbench/layout: do not display "Not Found" page when closing a view (03681b5)
  • workbench/layout: serialize properties with a null value (49905f6)

Features

  • workbench/perspective: provide active perspective via WorkbenchService (ee6d22b)
  • workbench/view: enable passing data to an empty-path navigation (3b65d9b)
  • workbench: change WorkbenchService properties to signals to integrate with Angular reactive contexts (17280b3)
  • workbench/perspective: change WorkbenchPerspective properties to signals to integrate with Angular reactive contexts (df6603a)
  • workbench/part: change WorkbenchPart properties to signals to integrate with Angular reactive contexts (6aa6cd1)
  • workbench/view: change WorkbenchView properties to signals to integrate with Angular reactive contexts (4498b52)
  • workbench/dialog: change WorkbenchDialog properties to signals to integrate with Angular reactive contexts (53ab8bb)

BREAKING CHANGES

  • workbench: Migrating WorkbenchService properties to signals has introduced a breaking change.

    Migrate reading of WorkbenchService properties as follows:

    • WorkbenchService.layout => WorkbenchService.layout()
    • WorkbenchService.layout$ => WorkbenchService.layout()
    • WorkbenchService.parts => WorkbenchService.parts()
    • WorkbenchService.parts$ => WorkbenchService.parts()
    • WorkbenchService.perspectives => WorkbenchService.perspectives()
    • WorkbenchService.perspectives$ => WorkbenchService.perspectives()
    • WorkbenchService.theme$ => WorkbenchService.theme()
    • WorkbenchService.views => WorkbenchService.views()
    • WorkbenchService.views$ => WorkbenchService.views()
  • workbench/perspective: Migrating WorkbenchPerspective properties to signals has introduced a breaking change.

    Migrate reading of WorkbenchPerspective properties as follows:

    • WorkbenchPerspective.active => WorkbenchPerspective.active()
    • WorkbenchPerspective.active$ => WorkbenchPerspective.active()
  • workbench/part: Migrating WorkbenchPart properties to signals has introduced a breaking change.

    Migrate reading of WorkbenchPart properties as follows:

    • WorkbenchPart.actions => WorkbenchPart.actions()
    • WorkbenchPart.actions$ => WorkbenchPart.actions()
    • WorkbenchPart.active => WorkbenchPart.active()
    • WorkbenchPart.active$ => WorkbenchPart.active()
    • WorkbenchPart.activeViewId => WorkbenchPart.activeViewId()
    • WorkbenchPart.activeViewId$ => WorkbenchPart.activeViewId()
    • WorkbenchPart.viewIds$ => WorkbenchPart.viewIds()
    • WorkbenchPart.viewIds => WorkbenchPart.viewIds()
  • workbench/view: Migrating WorkbenchView properties to signals has introduced a breaking change.

    The breaking change refers to reading property values. Writable properties are still updated through value assignment. Some properties have also been renamed for consistency reasons.

    Migrate reading of WorkbenchView properties as follows:

    • WorkbenchView.active => WorkbenchView.active()
    • WorkbenchView.active$ => WorkbenchView.active()
    • WorkbenchView.cssClass => WorkbenchView.cssClass()
    • WorkbenchView.closable => WorkbenchView.closable()
    • WorkbenchView.dirty => WorkbenchView.dirty()
    • WorkbenchView.first => WorkbenchView.first()
    • WorkbenchView.heading => WorkbenchView.heading()
    • WorkbenchView.last => WorkbenchView.last()
    • WorkbenchView.navigationHint => WorkbenchView.navigationHint()
    • WorkbenchView.part => WorkbenchView.part()
    • WorkbenchView.position => WorkbenchView.position()
    • WorkbenchView.urlSegments => WorkbenchView.urlSegments()
    • WorkbenchView.scrolledIntoView => WorkbenchView.scrolledIntoView()
    • WorkbenchView.state => WorkbenchView.navigationState()
    • WorkbenchView.title => WorkbenchView.title()
  • workbench/dialog: Migrating WorkbenchDialog properties to signals has introduced a breaking change.

    The breaking change refers to reading property values. Writable properties are still updated through value assignment.

    Migrate reading of WorkbenchDialog properties as follows:

    • WorkbenchDialog.closable => WorkbenchDialog.closable()
    • WorkbenchDialog.cssClass => WorkbenchDialog.cssClass()
    • WorkbenchDialog.padding => WorkbenchDialog.padding()
    • WorkbenchDialog.resizable => WorkbenchDialog.resizable()
    • WorkbenchDialog.size.height => WorkbenchDialog.size.height()
    • WorkbenchDialog.size.width => WorkbenchDialog.size.width()
    • WorkbenchDialog.size.maxHeight => WorkbenchDialog.size.maxHeight()
    • WorkbenchDialog.size.minHeight => WorkbenchDialog.size.minHeight()
    • WorkbenchDialog.size.maxWidth => WorkbenchDialog.size.maxWidth()
    • WorkbenchDialog.size.minWidth => WorkbenchDialog.size.minWidth()
    • WorkbenchDialog.title => WorkbenchDialog.title()
    • Setting an observable as dialog title is no longer supported. Instead, manually subscribe to the observable and set the title.