-
Couldn't load subscription status.
- Fork 9.4k
Open link "Report an Issue" in a new tab #14016
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
Open link "Report an Issue" in a new tab #14016
Conversation
|
Asked the UX team, will report back. |
|
@miguelbalparda please note that proposed behavior change goes against modern UX recommendations (#14010 (comment)). |
|
@DMMundle anything to add here? |
|
In this case, opening a new tab is the right path. General best practice is to stay in the same tab, however exceptions include:
The bug report link falls squarely under the second case. There is a potential for loss of data. Protecting against this unintended consequence (error prevention) outweighs the user control UX guideline. |
|
Thanks for the heads-up, Miguel. I've asked the others on UX team at Magento, and our newest team member, @mikemyles-magento explains it clearly above. We recommend opening the link in a new tab. Apologies for the response delay! |
|
All good, thanks for the reply! |
|
Hi @miguelbalparda, thank you for the review. |
|
@DaniloEmpire thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
|
@magento-engcom-team Thank you for the link, I am a member of @magento/magespecialist |
|
Hi @mikemyles-magento, could you please evaluate my following suggestion
to decide if it makes sense to put different browsers in line in terms of data loss.
SImply means that every single link in Admin UI on the page containing form should be forced to open in a new tab. Well, quite awkward as to me. |
|
@slackerzz, @giacmir it would be more constructive to add some thoughts instead of silent downvoting 😉 |
|
@orlangur - User control is certainly an important usability guideline to consider, but there are also issues of error prevention, and data/work loss here. Let's consider the user flow... I'm in a form and discover a bug. I want to report it now, while it's fresh in my mind. May even want to attach screen shots (not sure if that capability is supported in this specific instance, but bear with me - this is my second week, and lack product knowledge). Refresh current page flow options
Now consider when a user is likely to encounter a bug to report: On a blank form? On a form with entries that are unimportant? Probably not. It will be while entering valid information, information they do not want to loose. This means option 1 and 4 are probably correct in the majority of cases. Opening a new tab eliminates option 3 & 4, and the potential for error in option 4, by clicking through the warning without realizing the consequences. What's the negative outcome of removing option 4? An new browser tab, which I can exercise my user control over, by acting on it (filling out the bug form), or just closing the tab (or copy and paste the URL into tab 1, if I really don't want another tab). Between the 2 cases - same tab, or new - a new tab is simpler, because it reduces user flow options by two; and safer, since it cannot affect the calling page. Any interruption of a modal form operation will raise similar considerations. You must either catch, and warn users of a potentially unintended action, or eliminate (minimize) the opportunities for unintended actions to occur. In this case, the cost of error prevention feels quite low. |
|
@orlangur down-voting your comment was only a quick way to say "i do not agree" simply because your proposal seemed a little over engineered to me. |
With this pull request the "Report an Issue" link will open in a new tab instead of the current page.
This is useful because in this way you don't loose your currently opened admin page.
Description
Added attribute target
Fixed Issues (if relevant)
Manual testing scenarios
Contribution checklist