Skip to content

Conversation

@sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Sep 4, 2017

  • refactor(renderer): invoke removeFromQueue for every element

  • refactor(action-bar): insert ActionItems at correct positions
    ActionBar's insertChild method is now passed a next view argument. When the view to insert is an ActionItem, next is used to find the correct position to insert the new item.

  • refactor(renderer): patch every View with ViewExtensions
    When a View is passed through the renderer on insert/remove it's patched
    with ViewExtensions for its class. That is done for parent views and for
    child views.

fixes #689, fixes #978

@sis0k0 sis0k0 added this to the 4.3 milestone Sep 4, 2017
@sis0k0 sis0k0 requested a review from vakrilov September 4, 2017 18:20
@ghost ghost assigned sis0k0 Sep 4, 2017
@sis0k0 sis0k0 added the renderer label Sep 7, 2017
@dtopuzov
Copy link
Contributor

dtopuzov commented Sep 7, 2017

run ci

ActionBar's insertChild method is now passed a `next` view argument. When the view to insert is an ActionItem, `next` is used to find the correct position to insert the new item.

fixes #689
When a View is passed through the renderer on insert/remove it's patched
with ViewExtensions for its class. That is done for parent views and for
child views.

fixes #978
@sis0k0 sis0k0 force-pushed the vlaeva/action-bar-refactoring branch from 3599e12 to cac0831 Compare September 7, 2017 12:14
@sis0k0 sis0k0 merged commit 389f5b7 into master Sep 7, 2017
@sis0k0 sis0k0 deleted the vlaeva/action-bar-refactoring branch September 7, 2017 13:09
@ghost ghost removed the ready for test label Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ActionBarExtension throws when adding/removing new items dynamically ActionItems are displayed in the wrong order using *ngIf

4 participants