Install fresh Drupal once you complete the installation successfully, on front page there is link which points to User Guide to start building your site. Currently when we click on link it's getting open in same window. It will be good if we will open that link in new tab.

When Drupal is freshly installed, The main page where the link for the user guide is should open. When link for user guide is clicked it should open a a user friendly way which allows user to glance between tabs.

Proposed resolution

This will provide convenience for the user as they can flick between tabs which helps them work more productively

Remaining tasks

Is now in 'needs review' stage by the Drupal test bot. All documentation and information are attached

User interface changes

user guide" link is clicked on it should open in a new tab. This increases the functionally of the user interface

Original report by [ By sushantpaste]

Install fresh Drupal once you complete the installation successfully, on front page there is link which points to User Guide to start building your site. Currently when we click on link it's getting open in same window. It will be good if we will open that link in new tab

Comments

sushantpaste created an issue. See original summary.

sushantpaste’s picture

Issue summary: View changes
cilefen’s picture

Could you retitle the issue to be more specific?

dev.patrick’s picture

This should do the needful, User Guide link is added to 8.5.x prior to this I don't see traces of it, so patch may fail to 8.4.x or below.

admin_label: ''
content: 'No front page content has been created yet.<br/>Follow the <a href="https://www.drupal.org/docs/user_guide/en/index.html">User Guide</a> to start building your site.'
admin_label: ''
content: 'No front page content has been created yet.'
dev.patrick’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 4: installation-complete-userguide-2920172-4.patch, failed testing. View results

sushantpaste’s picture

Title: User Guide link on frontpage » User Guide link on front page in new Install should open in new tab
StatusFileSize
new867 bytes

Updated issue title and added patch.

sushantpaste’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 7: user_guide_link_on-2920172-7.patch, failed testing. View results

sushantpaste’s picture

StatusFileSize
new867 bytes

Added fix for Test. New patch added.

sushantpaste’s picture

Status: Needs work » Needs review
StatusFileSize
new2.07 KB

Please ignore previous patch sorry for that by mistake added old patch. Here is the consolidated patch.

dev.patrick’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new109.72 KB

Patch applied cleanly, with fresh installation User Guide link is opening in new tab. Attaching screenshot

xjm’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: +Needs usability review

Thanks for the patch and testing!

I'm not sure about this change. We don't usually use target="_blank" for external links. I also thought the best practice nowadays was no longer to hardcode link targets, but to allow the user to choose whether to open content in a new window or not.

We have a handful places in core that use target="_blank", a couple in the installer and a couple in the datetime module, but the vast majority of our external links to references do not use it.

Tagging for a usability review.

The last submitted patch, 10: user_guide_link_on-2920172-10.patch, failed testing. View results

dev.patrick’s picture

@xjm , tagging to usability review would be correct this time, found dangling discussion here : https://www.drupal.org/node/2652272

The last submitted patch, 10: user_guide_link_on-2920172-10.patch, failed testing. View results

Ashreen Kaur’s picture

Issue summary: View changes
Ashreen Kaur’s picture

Issue summary: View changes
Ashreen Kaur’s picture

Issue summary: View changes
Ashreen Kaur’s picture

Issue summary: View changes
yoroy’s picture

I'm in favor of opening in a new window. I don't think it's a good look that the first link we offer after succesful installation is taking you away from your succesful installation.

dev.patrick’s picture

Any other views on it?

yoroy’s picture

No :) Lets do this!

dev.patrick’s picture

Status: Needs review » Reviewed & tested by the community

Putting it on RTBC and see if still someone come up for with suggestion on it. Else we are good.

larowlan’s picture

Crediting @Ashreen Kaur for significant updates to the issue summary, @xjm for a committer review and @yoroy for a usability review.

  • larowlan committed 18bba35 on 8.5.x
    Issue #2920172 by sushantpaste, dev.patrick, Ashreen Kaur, yoroy, xjm:...
larowlan’s picture

Status: Reviewed & tested by the community » Fixed

Committed as 18bba35 and pushed to 8.5.x

Thanks for your contributions.

Great work on the issue summary @Ashreen Kaur

Congatulations on your first core commit credits @Ashreen Kaur and @dev.patrick!

yoroy’s picture

Yay, well done!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

dawehner’s picture

Issue tags: +First-Time Experience

Retrotagging