Skip to content
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

fixes #652 #653

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fixes #652 #653

wants to merge 1 commit into from

Conversation

chestozo
Copy link
Member

No description provided.

@chestozo
Copy link
Member Author

@3y3 @vitkarpov @iEgit нужно ревью )

src/ns.view.js Outdated
if (this.async && this.isLoading() && !this.isModelsValid()) {
this.asyncState = true;
}

Copy link
Member Author

Choose a reason for hiding this comment

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

изначально хотел подложить сюда вычисление asyncState - https://github.com/yandex-ui/noscript/pull/653/files#diff-8398699a573a08340668f2925b626201L794 - но упало много тестов ... а тут не падает ничего )

Copy link
Member

Choose a reason for hiding this comment

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

А новый тест-то на это есть? :)

Copy link
Member Author

@chestozo chestozo Aug 30, 2017

Choose a reason for hiding this comment

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

:) пока нет ) но старые не упали
но зато я понял уже, что не все кейсы потестил руками ...
пока ещё смотрю

Copy link
Member Author

Choose a reason for hiding this comment

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

на такое наткнулся #654

@@ -951,6 +951,8 @@
// всегда собираем данные, в том числе закешированные модели для async-view
tree.models = this._getModelsForTree();

this._fixTreeStateByModels(tree);
Copy link
Member Author

Choose a reason for hiding this comment

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

Тут нужно бы ещё проверять this.isLoading().

@chestozo
Copy link
Member Author

Мы пока решили запатчить у себя на стороне вьюхи :/

@3y3
Copy link

3y3 commented Aug 30, 2017

Тестики?

@chestozo
Copy link
Member Author

@3y3 will do )

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.

3 participants