TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.19k stars 363 forks source link

Render app before loading all datasets #7248

Closed na9da closed 1 month ago

na9da commented 3 months ago

This is useful for rendering the app before we fully finish loading all the workbench items from a share link.

What this PR does

Currently when loading a share URL with several items in the workbench, the app does not render until all workbench items have been loaded. If the data custodian server is slow, this could be perceived as Terria being slow to load. This PR contains changes for testing a different behaviour where we render the app before all workbench datasets have been loaded.

Some implications:

Test me

How should reviewers test this? (Hint: If you want to provide a test catalog item, create a Gist of its catalog JSON, add its url and your branch name to this url: http://ci.terria.io/<branch name>/#clean&<raw url of your gist> , and then paste that in the body of this PR)

Checklist