File browser improvements
Some small UX improvements discussed with @marcus.oscarsson
Add a button to go back to previous folder on error
When clicking on an invalid file in the filebrowser, the browser only shows the ErrorBoundary
with Try again
and Report Issue
buttons. There is no way for the user to go back to what they were doing before: they must reload the page which make them go back to the root folder.
To solve this, I added a button to go back to the previous folder to the ErrorBoundary
.
Clear filter when picking an entry
When filtering for files/folders, the user is searching for a particular entry. Once they have found this entry and clicked on it, there is a high chance that the filter is no longer relevant.