-
Notifications
You must be signed in to change notification settings - Fork 22
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
base: master
Are you sure you want to change the base?
fixes #652 #653
Conversation
@3y3 @vitkarpov @iEgit нужно ревью ) |
src/ns.view.js
Outdated
if (this.async && this.isLoading() && !this.isModelsValid()) { | ||
this.asyncState = true; | ||
} | ||
|
There was a problem hiding this comment.
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 - но упало много тестов ... а тут не падает ничего )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А новый тест-то на это есть? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:) пока нет ) но старые не упали
но зато я понял уже, что не все кейсы потестил руками ...
пока ещё смотрю
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тут нужно бы ещё проверять this.isLoading()
.
Мы пока решили запатчить у себя на стороне вьюхи :/ |
Тестики? |
@3y3 will do ) |
No description provided.