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 startup performance and user experience #86

Closed
emxsys opened this issue Feb 9, 2018 · 3 comments
Closed

Improve startup performance and user experience #86

emxsys opened this issue Feb 9, 2018 · 3 comments

Comments

@emxsys
Copy link
Member

emxsys commented Feb 9, 2018

Refactor module dependencies to display the globe ASAP.

  • Consider a progress indicator
  • Consider displaying a tessellation layer until basic layers are loaded.
@emxsys emxsys added this to the Explorer v0.2.0 milestone Feb 9, 2018
emxsys added a commit that referenced this issue Feb 10, 2018
emxsys added a commit that referenced this issue Feb 10, 2018
emxsys added a commit that referenced this issue Feb 10, 2018
emxsys added a commit that referenced this issue Feb 10, 2018
- Removed many require dependencies.
- Initializes the WorldWindow with background layers to display with the Explorer loads.
- Makes a second require call to load the Explorer and the view model dependencies async.
- Re: issue #86.
@emxsys
Copy link
Member Author

emxsys commented Feb 10, 2018

Improvements

The globe is now displayed early in the startup and is now using a configurable startup position.

  • Refactored the application entry point (main.js) to minimize the number of dependencies at startup.
  • Now displaying the WorldWind globe with a background layer ASAP.
  • Now using the configuration startup parameters for the initial WorldWind globe position.
  • The Explorer object is initialized asynchronously after the WorldWind globe is initialized.
  • The Explorer was refactored to perform the Knockout Model-View-View Model initialization.

@emxsys
Copy link
Member Author

emxsys commented Feb 11, 2018

Additional Improvements

Added support for slow connections.

  • Using CDNs for the popular libraries instead of my (slow) personal web hosting service.
  • Added an error handler to provide feedback/advice on timeout errors.
  • Increased the script loading timeout period from 7s to 15s to handle slow 3G connections.

emxsys added a commit that referenced this issue Feb 12, 2018
- Added pace 1.0.2 library.
- main.js starts the counter.
- index.html control the style.
- Re: #86
@emxsys
Copy link
Member Author

emxsys commented Feb 12, 2018

Another Improvement

Added a progress counter that displays in the upper right during startup.

emxsys added a commit that referenced this issue Feb 12, 2018
- Updated index.html pace stylesheet.
- Re: #86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant