-
Notifications
You must be signed in to change notification settings - Fork 34
Add topic time to complete #370
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
Conversation
Add: - fetchProgress(id:, stepsService:) -> Guarantee<Double> - fetchProgresses(ids:, stepsService:) -> Guarantee<[Double]>
Update StepsServiceImpl to fetch steps if there is no cached one.
Now failable api request won't override cache data.
…ent' into feature/exam-topic-time-to-complete
| seal(self.computeProgress(steps: steps)) | ||
| }.catch { error in | ||
| print("Failed obtain progress for lesson with id: \(id), error: \(error)") | ||
| seal(0) |
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.
т. е. при отсутствии полученного прогресса, мы примем 0 за прогресс? Не уверен, что это хорошо, когда есть nil.
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.
Сегодня буду фиксить баги, которые заметил и это поправлю в другом PR.
Задача: #APPS-2046
Описание:
Добавили отображение времени на выполнение топика.