Opened 7 months ago
Closed 7 months ago
#22628 closed defect (bug) (fixed)
Improve switching between browser and upload state
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
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.
Attachments (4)
Change History (13)
koopersmith
— 7 months ago
comment:1
koopersmith
— 7 months ago
koopersmith
— 7 months ago
comment:2
koopersmith
— 7 months ago
This is what an empty filter looks like.
koopersmith
— 7 months ago
comment:3
koopersmith
— 7 months ago
Latest patch fixes vanishing view when switching back and forth.
comment:5
ryan
— 7 months ago
- Resolution set to fixed
- Status changed from new to closed
This snuck in with [22919].
comment:7
ryan
— 7 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
This caused some problems with creating and editing galleries.
koopersmith
— 7 months ago
comment:8
koopersmith
— 7 months ago
Ah. Gallery problems were caused because they didn't have a content mode set. Fixed in latest patch.
A nice touch after this would be to add spinners when attachments are loading.