Open garrettjstevens opened 9 months ago
Possible implementation for loading message:
Region[]
to volatile section of packages/jbrowse-plugin-apollo/src/session/ClientDataStore.ts
loadFeatures
in that same file, add currently loading region to "loadingRegions" at the beginning of the action and remove it at the endpackages/jbrowse-plugin-apollo/src/LinearApolloDisplay/components/LinearApolloDisplay.tsx
, check the currently loading regions (via session.apolloDataStore.loadingRegions
) and the displayed regions (via model.displayedRegions
), and if any of them overlap, add a "Loading..." message to the component
I'll have to think more about the "No data" message
In the graphical display and the tabular display, it would be good to have a "Loading" message while the data is being loaded so the user knows that something is happening.
When the loading is finished, if there is no data to show in the displayed area, the tabular display should also show a "No data in this region" or some sort of other message.
May need to add a loading status flag to the client data store.