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

Create properties/on_reindex_trigger methods to determine which components will be loaded on the portal #438

Open
maxsibilla opened this issue Aug 22, 2024 · 0 comments

Comments

@maxsibilla
Copy link
Contributor

maxsibilla commented Aug 22, 2024

In the current implementation of the Portal view pages (e.g. /dataset?uuid=....) various components get loaded after several seconds. The only issue with this is that the user is not aware that something is actively being loaded until it has finished and appears on the page. We can potentially get around this issue by indexing into Elasticsearch whether or not the entity will be displaying various components and on the portal we can check against though and display a Suspense component will we wait for data.

One prime example of this is the Vitessce visualization, which will not be displayed until we have a configuration returned from the Ingest API has there are scenarios where given the assay type, having a dataset and derived dataset in QA does not support a visualization. If we can somehow determine during index time if this entity will support a visualization we can show that component on page load and the visualization will load once that has been built.

@maxsibilla maxsibilla added this to CODCC Aug 22, 2024
@maxsibilla maxsibilla converted this from a draft issue Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant