AllenInstitute / biofile-finder

An open-use web application created for easy access, collaboration, and sharing of datasets through rich metadata search, filter, sort, and direct viewing in common industry applications or in our web-based 3D Volume Viewer.
https://biofile-finder.allencell.org/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Update system errors and alerts to use StatusMessage #274

Open aswallace opened 1 month ago

aswallace commented 1 month ago

Any system errors, alerts or other messages that we want the user to see should use the StatusMessage component instead of going to console or failing silently. Will need to check instances of console.error/console.warn and other silent throws. There may be some cases where an alert is still necessary because of the component layers (e.g., modals overlay/hide the status message)

May require UX+dev discussion on which messages we want to surface

Originally posted by @SeanLeRoy in https://github.com/AllenInstitute/biofile-finder/pull/269#pullrequestreview-2367495285