Skip to content

Removed NgElement #962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

vakrilov
Copy link
Contributor

No description provided.

@ghost ghost assigned vakrilov Aug 28, 2017
@ghost ghost added the in progress label Aug 28, 2017
Copy link
Contributor

@sis0k0 sis0k0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after green build

@sis0k0
Copy link
Contributor

sis0k0 commented Aug 28, 2017

uitests

@vakrilov
Copy link
Contributor Author

uitests

@vakrilov vakrilov merged commit 3db5cd1 into vlaeva/renderer-siblings-refactor Aug 29, 2017
@ghost ghost removed the in progress label Aug 29, 2017
@vakrilov vakrilov deleted the renderer-siblings-refactor-ex branch August 29, 2017 13:34
vakrilov pushed a commit that referenced this pull request Aug 30, 2017
#945)

* refactor(renderer): keep internal sibling queue for views

* test: update test interface

* refactor(renderer): fix setting of siblings

* refactor(renderer): skip invisible nodes when using insertBefore

* refactor(renderer): replace doubly linked list with singly linked one

* refactor(renderer): split insert/remove of views to smaller methods

methods for insert/remove from:
- internal view queue (NgElements)
- visual tree (NgViews)

* refactor(renderer): set first child to every NgElement

* style: fix linting errors

* refactor(renderer): stop setting templateParents to `ProxyViewContainer`s

* refactor: remove unused method from view-util

* chore: remove yarn.lock

* refactor(renderer): fix removal from internal queue and add trace for
view util

* test: fix unit tests for renderer

* test(e2e): add app with nativescript-appium tests for renderer

* test(e2e): fix examples for iOS

Content views (Pages) cannot have multiple children and throw in iOS.

* Template tag fixed

* Removed NgElement (#962)

* Removed NgElement

* fix: TestProject does not compile

* fix: subsequent *ngIf break renderer-a

* chore(lint): remove unused import

* refactor(view-util): extract the lookup for next visual view into method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants