-
Notifications
You must be signed in to change notification settings - Fork 834
Settings UI: update support links to match Calypso style #6430
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
Settings UI: update support links to match Calypso style #6430
Conversation
8c2822d
to
7680e51
Compare
7680e51
to
0ea581b
Compare
0ea581b
to
d07615f
Compare
In testing this, I found that the Pinterest link is actually 404ing now. I looked around and I think the best option is to point it at I posted about that for Calypso over here. Other than that, all the tooltips seem to be working nicely for me. |
// Disable in Dev Mode | ||
const module = props.module, | ||
disableInDevMode = props.disableInDevMode && props.isUnavailableInDevMode( module.module ); | ||
let support = props.support |
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.
Let's set this with defaultProps instead
As discussed in Slack, and sort of outside the scope of this PR, I think we should be paying more attention to our custom components and making sure that we typecheck our props, and provide defaults for them when necessary. |
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.
Design-wise, other than my comment about the external link icon, this looks great.
</Button> | ||
<InfoPopover screenReaderText={ __( 'Learn more' ) }> | ||
<ExternalLink | ||
icon={ true } |
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.
We should get rid of the external link icon on these. Here's the issue for it: #6252
@dereksmart updated to include prop default and type. @MichaelArestad icon removed |
@beaulebens @dereksmart |
If it's working for you guys, go ahead then, the rest of this is looking great. I'm guessing maybe it's because I have a verified URL already. |
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.
Looks good and works well!
Fixes #6198
Changes proposed in this Pull Request:
Testing instructions: