U4-11437 - Add 'Document Type Alias' title on mouse hover over 'Document Type Name' under content 'Info' tab

Created by Adam Prendergast 13 Jun 2018, 09:50:09 Updated by Sebastiaan Janssen 13 Jun 2018, 18:44:17

Tags: Up For Grabs PR

It would be nice to have the Document Type Alias appear on hover over the Document Type Name on the content 'Info' tab.

Similar functionality exists when hovering over property titles.

This is a minor, 'nice to have' feature that would allow a developer to preview the Document Type Alias with out having to open it.

1 Attachments


Sebastiaan Janssen 13 Jun 2018, 09:54:35

We already do this for property aliases when in Debug mode and logged in as a admin (if I remember correctly) - so the logic on when to show the alias could be taken from there.

Adam Prendergast 13 Jun 2018, 10:07:11


Adam Prendergast 13 Jun 2018, 10:15:53

Hey @sebastiaan... I hope all is well.

I added this to give some context for a small change I wanted to make to be my first contribution. I was trying to keep the scope pretty simple.

I've created the above pull request, but it doesn't currently take into account Debug mode and admin login.

Adam Prendergast 13 Jun 2018, 10:30:50

I've spotted the code that deals with Admin & Debug. I'll get that added to the PR.

Many thanks, Adam

Sebastiaan Janssen 13 Jun 2018, 11:02:35

I could sound very clever and say that my intention is always to push people out of their comfort zone and get them to learn more than they thought they would.

But the truth is, I didn't know you were going to submit this as a PR so I just added some hints for people who would want to make a PR for it!

Great stuff Adam, we'll get to reviewing it soon!

Adam Prendergast 13 Jun 2018, 11:19:37

You always sound clever to me @sebastiaan ;)

I'll work on the updates this afternoon and get the PR updated. I'm enjoying my first foray into the code base.

Adam Prendergast 13 Jun 2018, 13:10:26

Hey @sebastiaan I've updated the PR with the admin and debug checks.

Hopefully I can get my first (albeit minor) code into the core. I'm looking forward to getting more involved over the next year :)


Priority: Minor

Type: Feature (request)

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions:

Due in version: 7.11.0


Story Points: