Closed ShrimpCryptid closed 5 months ago
good to delete yes, but wondering how we can get test data like this into the viewer during dev. These settings are basically how we want the variance dataset to be presented in the viewer.
Can't respond directly to this for some reason, but I did end up adding props for the AppWrapper
component where this could be overridden. You could also edit LandingPage/content.ts
to add a button for whatever test data you're working with, or include it via the URL?
Leaving further refactor of project until #215.
Estimated review size: medium, 30-40 minutes
Closes #188, the landing page implementation!
This change finishes implementing loading from the landing page and also sets up routing for the app.
These changes seem large, but the majority of the changes are just file moves and renames! I'll note what files you can compare between, and a summary of any changes on each file.
Changes:
react-router-dom
and routes for the landing page (at root URL,/
) and viewer (/viewer
).landing-page
directory towebsite
, since it now includes several website-related components.AppWrapper
component, which wrapsImageViewerApp
.url_utils.tsx
.Videos (🔊)
Browser Router:
https://github.com/allen-cell-animated/website-3d-cell-viewer/assets/30200665/176cc000-384f-4e75-a5cf-8cc471499f0a
Hash Router:
https://github.com/allen-cell-animated/website-3d-cell-viewer/assets/30200665/51920aa7-e427-4793-b973-4cc85ff7fd72
Loading empty viewer:
Validation:
/viewer
page./viewer
page.