U4-10116 - Add propertyTypeAlias to a tool tip one fields when editing content (if logged in as developer/admin)

Created by Pete Duncanson 05 Jul 2017, 14:13:52 Updated by Sebastiaan Janssen 27 Feb 2018, 13:46:42

Tags: PR

Subtask of: U4-11011

Often find myself wanting to know what the alias is for a field when editing content but to do so I have to go to settings and go hunting around. Think it would be good to allow developers to see what the alias is as a tooltip (using the title attribute of the label for the field) when hovering over the field.

Essential? No. Great developer help though? Yep.

1 Attachments

Comments

Claus Jensen 11 Jul 2017, 06:57:57

@peteduncanson I believe we've had this for quite a while actually... it was added about two years ago:

https://github.com/umbraco/Umbraco-CMS/commit/a0761b92b846bc065d66ddc584bdcfa96b6bb61c - search for ng-attr-title

Included a screenshot from how it works in the backoffice.. was it something else you had in mind? (you can't see my cursor since it refuses to screengrab that for some weird reason .. but I'm hovering the property name)


Pete Duncanson 11 Jul 2017, 10:27:16

That does indeed work, good memory! But it only works in debug mode and when live we rarely get to re-enable it when you want to develop a quick feature. I'd rather we changed the check to see if you were logged in as developer or admin or in debug mode?


Pete Duncanson 14 Sep 2017, 12:10:18

Would still love this one to be done, bit me again today!


Claus Jensen 14 Sep 2017, 12:40:29

You're welcome to submit a PR to change this to be shown permanent instead of only when in debug mode. I think it's basically just disabling that check and that should be it.


Sebastiaan Janssen 14 Sep 2017, 12:52:09

Or, you know.. only show it when you're either admin OR debug=true as Pete suggested ;-)


Chris Evans 22 Feb 2018, 01:04:33

uDuf Hackathon ftw!

https://github.com/umbraco/Umbraco-CMS/pull/2458


Shannon Deminick 22 Feb 2018, 03:13:37

Tested and it all works #h5yr!


Priority: Normal

Type: Feature (request)

State: Fixed

Assignee: Shannon Deminick

Difficulty: Easy

Category: UI

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.9.0

Sprint:

Story Points:

Cycle: