Closes #196, implementing the load button in the header bar.
Changes
Implements the loading button, which opens a modal when clicked.
Up to 100 recently used datasets are stored and shown as a dropdown under the input.
Typing will filter the list using fuzzy search (via fuse.js)
Adjust modal styling to match designs
Adds a custom component for rendering truncated text with ellipses in the middle (MiddleTruncatedText). This handles very long text inputs in the recent datasets dropdown.
Adds a hook for saving recent datasets, copied from nucmorph-colorizer.
Estimated review size: medium, 20-30 minutes
Closes #196, implementing the load button in the header bar.
Changes
MiddleTruncatedText
). This handles very long text inputs in the recent datasets dropdown.Screenshots
Video talk-through (🔊):
https://github.com/allen-cell-animated/website-3d-cell-viewer/assets/30200665/2762d4ee-3095-4379-b12b-e83aed06edb9
Testing
Links: