Skip to content

0.0.0-beta.12 (@scion/workbench)

Compare
Choose a tag to compare
@danielwiehl danielwiehl released this 07 Sep 08:35
· 655 commits to master since this release

0.0.0-beta.12 (2018-11-23)

Bug Fixes

  • remove static initializers to be compatible with Angular 6 transpiled with TypeScript 2.x (d5ce02e), closes #26

Code Refactoring

  • extract sci-dimension-module into a separate NPM library (eecccb8), closes #44
  • extract sci-viewport-module into a separate NPM library (a390b54), closes #45

Features

  • add iframes of remote sites beyond workbench grid to not cover other parts of the workbench like sashes or view dropdown menu (b0bf93e), closes #30
  • allow cross-origin communication with remote sites (f492516), closes #31
  • allow programmatic registration of activities (efc1344), closes #28
  • continue scrolling in custom scrollbars even when the cursor enters or goes past the boundary of an iframe (9cb34a5), closes #41
  • control if workbench part content is capable of being moved in the DOM (303d29a), closes #30
  • disable vertical scrolling in workbench viewtab bar (e59ff5e), closes #33
  • provide message box action texts when spawning the message box (f589764), closes #32
  • register activity auxiliary routes only in root injector (0f3c5d4), closes #28
  • register view auxiliary routes via WorkbenchAuxiliaryRoutesRegistrator and set view active state upon view creation (e8718d9), closes #29
  • specify view-list dropdown anchor as ElementRef instead of native element to be compatible with Angular CDK 6 (d8b1c87), closes #42
  • use a separate routing navigate command when closing multiple views all at once (688a3b8), closes #34
  • use CDK overlay for the dropdown showing hidden view tabs (53763e7), closes #42

BREAKING CHANGES

  • Workbench requires @scion/viewport as its peer-dependency which you can install as following:
    npm install --save @scion/viewport
  • Workbench requires @scion/dimension as its peer-dependency which you can install as following:
    npm install --save @scion/dimension.
    Why not use ResizeObserver: Web Performance Working Group is working on a W3C recommendation for natively observing changes to Element’s size. The Web API draft is still work in progress and support limited to Google Chrome and Opera. See https://wicg.github.io/ResizeObserver/
  • Removed content projection from RemoteSiteComponent and added it to workbench part level. If using a remote site, wrap entire part content in a <wb-content-as-overlay> element, which causes it to be added to a top-level workbench DOM element and projected into that component's bounding box.
    Removed support to use RemoteSiteComponent as a routing component because must be a child of <wb-content-as-overlay> element
  • Message box action texts are no longer specified when importing the workbench module. Instead, message box texts are provided directly when spawning the message box.
  • Removed output property to listen for URL changes because not allowed for cross-origin communication and internally using a timer to detect URL changes (as there is no change event emitted natively and MutationObserver is not applicable). Use message output property instead.
  • Use added visible property over ngIf directive to show or hide an activity based on a conditional <wb-activity [visible]="conditional">