[MGNLUI-3204] Provide action to download a versioned binary node Created: 14/Oct/14 Updated: 15/Oct/14 Resolved: 15/Oct/14 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | content app |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.5 |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Philip Mundt | Assignee: | Philip Mundt |
| Resolution: | Outdated | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
Currently there are only actions to show versions info.magnolia.ui.contentapp.browser.action.ShowVersionsAction and to download binary nodes info.magnolia.ui.framework.action.DownloadBinaryAction. There is no way to download a versioned binary node. This action is required for the linked issue |
| Comments |
| Comment by Andreas Weder [ 14/Oct/14 ] |
|
There's no icon available, but I'd like to suggest a different course of action: we offer a "Download image/video/..." button inside the read-only editing form opened by the "Show versions" action instead. This allows me to preview a particular version and directly download it. The button would be a main action (i.e. a gray button in the bottom bar), but not the default button. We should probably make the "Cancel" button the (green) default button at the same time. Since the download action is not directly related to "Cancel", I'd move it the left side of the bar, similar to how we do it in the chooser dialog (see attached image A download button only needs to be available/shown, if the asset's media type supports a download. It should be shown but disabled, if the asset does not actually contain a medium. This has the following advantages:
Ideally, we would have a "download" action on the media upload field itself, especially since we might have more than one medium inside an asset (or similar content type). Actually, this will have to be changed accordingly. Similarly, we would offer the same "download" button also inside the regular "add/edit asset" dialog. There, again, the button would actually have to reside on the media upload field itself. I'll add follow-up tickets for that. |
| Comment by Philip Mundt [ 14/Oct/14 ] |
|
Reopening due to different suggested approach. |
| Comment by Philip Mundt [ 15/Oct/14 ] |
|
New approach/positioning of this action doesn't require a new action. Instead we utilize info.magnolia.ui.framework.action.DownloadBinaryAction in the edit subApp of dam-app. |
| Comment by Philip Mundt [ 15/Oct/14 ] |
|
Closing issue: see |