sarahsporck / Migration-Test-Repository

This repository is used to test the ticket migration from jira to github
0 stars 1 forks source link

IGAPP-57: External links should open in the same tab #2298

Closed jira-to-github-migrator-test[bot] closed 1 year ago

jira-to-github-migrator-test[bot] commented 1 year ago

Lutz Lonnemann [X] - 16.6.2020, 17:15:33

As discussed in the AppTeam Call: The behavior should be consistent everywhere and external links should always open in the same tab. This has to be adjusted for at least categories, check if there are other occurrences as well.

Environment: any Linked issues:

jira-to-github-migrator-test[bot] commented 1 year ago

Michelle de Wildt [X] - 2.11.2020, 12:22:38

For the web I'd also recommend to open external links in new tabs. For the case (when external link opens in the same tab) that the user clicks through the new website and wants to return back to Integreat, it will be pretty laborious.

Sven Seeberg - 3.12.2020, 15:46:13

If this issue is only about the default behavior when there is no target, then you can ignore this comment. If this issue is about overriding the target attribute, then I have the following thoughts:

I'm not sure if it is wise to override web standards. Currently, the Wordpress editor by default does not set a target flag. The same is true for Django. If there actually is a target attribute in a link, then this is there intentionally. We may want to encourage content creators to think about whether the target attribute is really necessary. We can also easily add a CSS style to the editor that highlights links with target="_blank" and encourage them to remove the attribute.

In general I disagree with the assumption that the behavior must be the same everywhere. For example, a content page might be purely about sending a user to another web site, for example to fill out an important form. If the user clicks on that link, we can assume that this is where he/she wants to go. In this case it is very good to open the link in the same tab, because it can be assumed that the user was searching for this form and wants to continue there and not continue reading in the app. In other cases it might be a link to a document which is needed later and the link occurs right in the middle of a text. In such cases it is perfectly sane to open the link in an additional tab.

I also disagree with the assumption that only experienced users do know how to handle browser tabs. iOS for example handles browser tabs like different apps. Most users know how to switch apps. For the part of users that actually uses desktop browsers, opening a new tab is very obvious: a new tab will appear in a clearly visible position.