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: allow link to open in a new tab if internal #97

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Conversation

emilyjablonski
Copy link
Contributor

@emilyjablonski emilyjablonski commented Nov 25, 2024

Issue Overview

This PR addresses #92

Description

Allows the Link component to also open an internal link in a new window.

How Can This Be Tested/Reviewed?

You can checkout the new link story that has an internal link and also opens in a new window. We can't actually internally link from within Storybook, so it goes expectedly to a Netlify page not found.

Checklist:

  • I have added QA notes to the issue with applicable URLs
  • I have performed a self-review of my own code
  • I have reviewed the changes in a desktop view
  • I have reviewed the changes in a mobile view
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have exported any new components
  • My commit message(s) and PR title are polished in the conventional commit format, and any breaking changes are indicated in the message and are well-described

Copy link

netlify bot commented Nov 25, 2024

Deploy Preview for storybook-ui-seeds ready!

Name Link
🔨 Latest commit bac7be7
🔍 Latest deploy log https://app.netlify.com/sites/storybook-ui-seeds/deploys/6745166718fa870008fd50a5
😎 Deploy Preview https://deploy-preview-97--storybook-ui-seeds.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@ColinBuyck ColinBuyck left a comment

Choose a reason for hiding this comment

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

LGTM 🧼 Love the refactor away from target undefined

@emilyjablonski emilyjablonski merged commit 3414236 into main Dec 2, 2024
5 checks passed
Copy link

github-actions bot commented Dec 2, 2024

🎉 This PR is included in version 1.18.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants