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

Update external links attributes to open in a new tab #12980

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ramram-mf
Copy link
Collaborator

@ramram-mf ramram-mf commented Oct 9, 2024

Description

This PR updates all external links attributes so that these links open in a new tab.

To test

  1. Open the review app homepage.
  2. Click on the hero link cta button, it should open in a new tab.

image

This behavior will be consistent in preview/staging apps, but not in production, since all preview/staging apps hero links point to production urls which are served from a different domain.

Link to sample test page: https://foundation-s-tp1-260-al-safchz.herokuapp.com/
Related PRs/issues: #8214

┆Issue is synchronized with this Jira Story

@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-260-al-vmrwtb October 9, 2024 21:25 Inactive
@ramram-mf ramram-mf self-assigned this Oct 9, 2024
@mofodevops mofodevops temporarily deployed to foundation-s-tp1-260-al-safchz October 9, 2024 21:27 Inactive
@ramram-mf ramram-mf marked this pull request as ready for review October 9, 2024 21:44
@ramram-mf ramram-mf requested a review from mmmavis October 9, 2024 21:44
Copy link
Collaborator

@mmmavis mmmavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ramram-mf , do you think we could address this directly at the template level? While using JS does work, it feels more like a temporary solution, and it might only apply to links available during the initial page load. Let me know your thoughts!

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.

3 participants