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

fix(GlobalHeaderItems): add new tab true to external links #1403

Merged
merged 2 commits into from
Feb 13, 2021

Conversation

saghdaey
Copy link
Contributor

@saghdaey saghdaey commented Feb 12, 2021

Overview

We had missed adding "newTab: true" to a few of the app header items that should open in new tabs

all external links should open in a new tab
ex. forums, chapters, blog, chat

PR Checklist

  • Related to designs:
  • Related to JIRA ticket: ABC-123
  • I have run this code to verify it works
  • This PR includes unit tests for the code change

@saghdaey saghdaey requested a review from rogervera February 12, 2021 23:43
@saghdaey saghdaey requested a review from a team as a code owner February 12, 2021 23:43
@saghdaey saghdaey requested review from JoshuaKGoldberg and dreamwasp and removed request for a team February 12, 2021 23:43
@saghdaey saghdaey changed the title add new tab true to external links fix: add new tab true to external links Feb 12, 2021
@@ -249,6 +252,7 @@ const profileCustomerSupport: AppHeaderLinkItem = {
const profileReportBug: AppHeaderLinkItem = {
id: 'report-bug',
href: 'https://codecademy.atlassian.net/servicedesk/customer/portal/9',
newTab: true,

Choose a reason for hiding this comment

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

Sweet

@saghdaey saghdaey removed the request for review from JoshuaKGoldberg February 12, 2021 23:47
Copy link

@rogervera rogervera left a comment

Choose a reason for hiding this comment

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

Nit: Can we rename the PR to fix(GlobalHeaderItems).

https://github.com/Codecademy/client-modules#pr-title-format
Especially since the scope is just this.

LGTM!

@codecademydev
Copy link
Collaborator

📬Published Alpha Packages:

@codecademy/[email protected]
@codecademy/[email protected]

@saghdaey saghdaey changed the title fix: add new tab true to external links fix(GlobalHeaderItems): add new tab true to external links Feb 12, 2021
@codecademydev
Copy link
Collaborator

🚀 Styleguide deploy preview ready!

https://602714941e69bd008e83a54c--gamut-preview.netlify.app

Deploy Logs

@saghdaey saghdaey changed the title fix(GlobalHeaderItems): add new tab true to external links fix(global header items): add new tab true to external links Feb 12, 2021
@saghdaey saghdaey changed the title fix(global header items): add new tab true to external links fix(GlobalHeaderItems): add new tab true to external links Feb 12, 2021
@saghdaey saghdaey merged commit 8c9361d into main Feb 13, 2021
@saghdaey saghdaey deleted the new-tab-links branch February 13, 2021 00:00
jakemhiller added a commit that referenced this pull request Feb 13, 2021
* origin/main: (1238 commits)
  chore(release): publish
  add new tab true to external links (#1403)
  chore(release): publish
  fix(GlobalHeader): Simplify loading header
  chore(release): publish
  feat!: bumped ESLint packages to latest and added recommended & Jest linting
  chore(release): publish
  feat: adding 3 new icons for business reporting
  chore(release): publish
  fix: reduce column gaps on mobile for LP components
  chore(release): publish
  fix(AppHeaderDropdown): fix jumpiness of bold text when dropdown is opened (#1394)
  chore(release): publish
  feat: imported babel plugin (#1233)
  chore(release): publish
  fix(Toggle): remove aria-label
  chore(release): publish
  fix(GlobalHeader): Spacing fixes
  chore(release): publish
  fix: update font sizes within LP components at smaller than xs
  ...
jakemhiller added a commit that referenced this pull request Feb 13, 2021
* origin/main: (131 commits)
  chore(release): publish
  add new tab true to external links (#1403)
  chore(release): publish
  fix(GlobalHeader): Simplify loading header
  chore(release): publish
  feat!: bumped ESLint packages to latest and added recommended & Jest linting
  chore(release): publish
  feat: adding 3 new icons for business reporting
  chore(release): publish
  fix: reduce column gaps on mobile for LP components
  chore(release): publish
  fix(AppHeaderDropdown): fix jumpiness of bold text when dropdown is opened (#1394)
  chore(release): publish
  feat: imported babel plugin (#1233)
  chore(release): publish
  fix(Toggle): remove aria-label
  chore(release): publish
  fix(GlobalHeader): Spacing fixes
  chore(release): publish
  fix: update font sizes within LP components at smaller than xs
  ...
natalieweesh pushed a commit that referenced this pull request Oct 26, 2021
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.

4 participants