-
Notifications
You must be signed in to change notification settings - Fork 17
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
[PLAY-277] Home ID in HomeAddressStreet should open in a new tab #2023
Conversation
…ts and created doc examples for each. Added new_window prop to the ruby hashtag component and created a new doc example for it
… doc examples for both rails and react for hashtag and homeaddresskit components
…and 32. link_option was the correct method to test for
…HomeAddressStreet
…ag so it dosnt mess with other tests
@@ -49,7 +51,10 @@ const Hashtag = (props: HashtagProps) => { | |||
className={classes} | |||
id={id} | |||
> | |||
<a href={url}> | |||
<a href={url} | |||
rel="noreferrer" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is an open source project, this really shouldn't be hard-coded here. You can add it as an optional prop then default the value, but we shouldn't dictate this part to everyone.
state: "PA", | ||
zipcode: "19382", | ||
territory: "PHL", | ||
}) %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}) %> | |
}) %> | |
@@ -0,0 +1 @@ | |||
Use the newWindow/new_window prop to control whether the link opens on the same page or a new tab (same page is the default behavior) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the newWindow/new_window prop to control whether the link opens on the same page or a new tab (same page is the default behavior) | |
Use the `newWindow` / `new_window` prop to control whether the link opens on the same page or a new tab (same page is the default behavior). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more suggestion.
Screens
Breaking Changes
NO
Runway Ticket URL
Runway Ticket URL
How to test this
cd playbook && ./test.sh
Checklist:
enhancement
,bug
,improvement
,new kit
,deprecated
, orbreaking
. See Changelog & Labels for details.Milano
label when you are ready for a review.