Improve switching between browser and upload state
|Reported by:||koopersmith||Owned by:||ryan|
Currently, the attachments browser falls back to the upload state when there are no items in the collection. There are two major failings with the current implementation:
- When first navigating to the media library, you see a flash of the upload state before the attachments load.
- When a filter with no items is selected, we show an empty content area.
By moving the upload state and switching code into the browser view, we can fix both of these problems and eliminate complexity in the state.