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

Bad user experience on slow networks #47

Closed
dylans opened this issue Sep 13, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@dylans
Copy link
Contributor

commented Sep 13, 2012

When using the API viewer on a slow network, the request to load the items under dojo or dijit may take 5-15 seconds, but there's no user feedback that the tree is loading. This may lead a user to click on the tree again, which then would close the tree.

A possible solution would be to give some sort of user feedback that the tree is loading, etc.

@wkeese

This comment has been minimized.

Copy link
Owner

commented Sep 13, 2012

Tree does have a loading indicator but I guess not for the root node. So
probably it should do the XHR to load the data not in the getRoot() call
but after that, when it gets the first level of children. Or fix Tree to
show the indicator for the root node too.

@wkeese

This comment has been minimized.

Copy link
Owner

commented Nov 7, 2012

OK, fixed in http://bugs.dojotoolkit.org/ticket/16302.

To further speed things up, I'm sure the size of the tree.json file could be reduced, and we could even do lazy loading of the Tree data. It's just a question of diminishing returns, since the Tree already loads quickly over a broadband connection.

@wkeese wkeese closed this Nov 7, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.