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

Change GoCD to no longer force links to open in new windows/tabs #10520

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

chadlwilson
Copy link
Member

@chadlwilson chadlwilson commented Jun 13, 2022

Fixes #9526, related to #9613

Internal links will open by default in the same window/tab, returning control to the user to be able to middle-click (CMD + click) for new tab/window, and shift/middle-click for new background tabs, reducing a relatively age-old user complaint about excessive tabs being opened, and getting lost in tabs.

External and docs links continue to generally open in new tabs for now, but link display has been made more consistent to generally give a good indicaation with the icon if something is about to force-open in a new tab, e.g
image

@chadlwilson chadlwilson added ui / ux javascript Pull requests that update Javascript code labels Jun 13, 2022
@chadlwilson chadlwilson added this to the Release 22.2.0 milestone Jun 13, 2022
@chadlwilson chadlwilson marked this pull request as ready for review July 1, 2022 16:25
@chadlwilson chadlwilson marked this pull request as draft July 2, 2022 16:31
@GaneshSPatil
Copy link
Contributor

Hey @chadlwilson - the changes LGTM.

Lets wait to get an agreement if we want to make this change based on this comment

Also, I We might need to take a relook at the application to see at how many places we're opening links in new tab.
I remember at some places, we've done this using javascript 😛

@stale
Copy link

stale bot commented Sep 20, 2022

This pull request has been automatically marked as stale because it has not had activity in the last 14 days. It will be closed in 7 days if no further activity occurs.
Thank you for your contributions!

Internal links will open by default in the same window/tab, returning control to the user to be able to middle-click for new tab/window, and shift/middle-click for new background tabs, reducing a relatively age-old user complaint about excessive tabs being opened, and getting lost in tabs.

External and docs links continue to generally open in new tabs for now; with this change to make the "external link icons" consistent across places, so you have a good
idea if something is going to open in a new tab from the visual description of the link. There are some old non-Typescript pages which don't do this still unfortunately.
@chadlwilson chadlwilson merged commit 72088ba into gocd:master Apr 24, 2024
2 of 3 checks passed
@chadlwilson chadlwilson deleted the remove_window_opens branch April 24, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code no stalebot Don't mark this stale. ui / ux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please provide some way to stop new windows from being opened
2 participants