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

Make TimelineWindow.load resolve quicker if we have the events #458

Merged
merged 1 commit into from
Jun 9, 2017

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jun 9, 2017

If we have the events in memory, let TimelineWindow.load() return
a resolved promise, so that the UI can show the view straight away instead
of showing the spinner.

If we have the events in memory, let TimelineWindow.load() return
a resolved promise, so that the UI can show the view straight away instead
of showing the spinner.
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

Merging to get the performance fix in to the next release. The promise-inspection is no ideal: #459 seems nicer but the tests fail, so I'm going with this fix for now.

@dbkr dbkr merged commit 17cc128 into develop Jun 9, 2017
@richvdh richvdh deleted the rav/resolve_timeline_window_quickly branch June 12, 2017 12:44
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