U4-11039 - Media Upload Button Disabled Status

Created by Adam Burt 02 Mar 2018, 11:09:31 Updated by Sebastiaan Janssen 04 Jun 2018, 06:56:59

Tags: Up For Grabs PR

When you use the Media Picker doctype, there is a button that allows you to upload media directly from the slide-out modal.

At some point in recent Umbraco history, it became standard procedure for media uploads to be disallowed at the root level of media.

When you click the button while at the root level, nothing happens, which is expected behaviour.

However, the fact that the button is there and enabled is misleading to CMS users. The button should either not be visible at this level, or should at least have the disabled attribute on it, which would alter the style and cursor to make it clearer that this action is not allowed at root level.

I notice that there is an ng-disabled property so it seems to me that the Angular model needs to be updated appropriately to set this property when at the root level of the media tree.

I've attached an image to demonstrate the area that I'm talking about

1 Attachments

Comments

Ross Davidson 16 May 2018, 14:42:59

Issue looks to be related to this post:

https://our.umbraco.org/forum/using-umbraco-and-getting-started/91736-media-picker-upload-button-dead-after-upgrade-from-764-7102

If you navigate down into a folder and then up to the root level - button is enabled and media can be added at root level again.


Andy Felton 28 May 2018, 14:39:28

Resolved with Pull Request - https://github.com/umbraco/Umbraco-CMS/pull/2649


Priority: Minor

Type: Usability Problem

State: Fixed

Assignee:

Difficulty: Easy

Category: UI

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.7.8, 7.9.1

Due in version: 7.11.0

Sprint:

Story Points:

Cycle: