dockstore
dockstore copied to clipboard
Improve error handling for featured content
Bug Report
If the UI fails to fetch the featured content, e.g, because the bucket doesn't exist:
- A snackbar pops up saying "failed".
- The featured content block is empty.
Suggestions:
- Either don't display a snackbar at all, or improve the message to something like "Error fetching featured content"
- Either remove the Featured Content title, or have some placeholder text reflecting the error condition.
This error condition will probably/hopefully never occur in production, although you never know, so seems low priority off-hand.
┆Issue is synchronized with this Jira Bug ┆fixVersions: Dockstore 2.X ┆friendlyId: DOCK-1174 ┆sprint: Backlog ┆taskType: Bug