Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added fallback URLs for the "umbNodePreview" directive #2369

Merged
merged 7 commits into from Jul 25, 2018

Conversation

abjerner
Copy link
Contributor

@abjerner abjerner commented Jan 4, 2018

Issue created here: http://issues.umbraco.org/issue/U4-10805

Historically Umbraco 7 has used <a> elements for handling links - eg. to content, document types or other stuff within the backoffice. Over time, for at least some of these links, the href attribute has been replaced with ng-click. This basically kills the option to work with multiple browser tabs, as you no longer can open links in a new tab - which is really a shame.

706c13e3e4be74f5

With this pull request, I've introduced an optional fallback URL for the three methods - open, edit and remove. With the fallback URL in place, a user can now right click on a link (or press the middle mouse button if one's mouse supports this), and choose to open the URL in a new tab. IMO this improves the user experience greatly.

image

This pull request specifically targets the umbNodePreview and umbContentNodeInfo directives (see the screenshot above).

The list view has been affected by the same problem for a while now (you can't right click on an item and open it in a new tab):

http://issues.umbraco.org/issue/U4-8655

Other parts of the backoffice may be affected as well.

@nul800sebastiaan nul800sebastiaan changed the base branch from dev-v7.8 to dev-v7 February 27, 2018 10:44
@ghost ghost added the review label Jul 25, 2018
@nul800sebastiaan nul800sebastiaan merged commit 187a32c into umbraco:dev-v7 Jul 25, 2018
@ghost ghost removed the review label Jul 25, 2018
@nul800sebastiaan
Copy link
Member

Great, works as advertised @abjerner !

@abjerner abjerner deleted the patch-29 branch October 24, 2019 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants