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

Improve scrolling efficiency on dashboard #138

Closed
brimoor opened this issue Jun 1, 2020 · 0 comments
Closed

Improve scrolling efficiency on dashboard #138

brimoor opened this issue Jun 1, 2020 · 0 comments
Labels
app Issues related to App features backlog Issues related to the roadmap and feature backlog

Comments

@brimoor
Copy link
Contributor

brimoor commented Jun 1, 2020

Infinite scrolling of images in the dashboard is awesome! So awesome that we made it a front-and-center feature that every user will definitely interact with. As a result, it's important that we optimize its performance as much as possible.

This will be a recurring issue, but here's an initial list of low-hanging fruit that we brainstormed:

Scrolling efficiency ideas

  • cache samples that have already been loaded so that scrolling upwards does not require reloading
  • prefetch the next page of results
  • optimize image annotation rendering (whatever low-hanging fruit may exist)
  • consider storing image thumbnails in the DB (this would be an internal-only field, not loaded when the user interacts with Samples) and show those in the samples view
  • asynchronously load content so that content appears as fast as possible; for example, show a gray/solid-colored placeholder image while the actual image loads so that scrolling doesn't appear to "hang" until enough images load that the next page can be shown. For inspiration here, try scrolling as fast as possible through Google Images
@brimoor brimoor added enhancement Code enhancement app Issues related to App features high priority Issues of high priority labels Jun 1, 2020
@brimoor brimoor added backlog Issues related to the roadmap and feature backlog and removed enhancement Code enhancement labels Jun 1, 2020
@lethosor lethosor removed their assignment Nov 12, 2020
@brimoor brimoor removed the high priority Issues of high priority label Dec 22, 2020
@brimoor brimoor closed this as completed Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app Issues related to App features backlog Issues related to the roadmap and feature backlog
Projects
None yet
Development

No branches or pull requests

3 participants