Skip to content

Conversation

@RyanSkonnord
Copy link
Contributor

@RyanSkonnord RyanSkonnord requested a review from a team November 8, 2021 23:07
@RyanSkonnord
Copy link
Contributor Author

This forks and duplicates some code from static/app/plugins/components/pluginIcon.tsx. The only differences are the contents of the ICON_PATHS list and the default size prop.

If you don't like this, we could instead extract a common base component, or have PluginIcon continue to pull double duty for identity providers and add the provider icons to the list. For reference, the non-overlapping icons added here are 'auth0', 'google', 'okta', 'onelogin', 'rippling', 'saml2'.

Copy link
Member

@markstory markstory left a comment

Choose a reason for hiding this comment

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

Looks good to me. Having a separate component makes sense as the list of logos, and default props are different.

@RyanSkonnord RyanSkonnord merged commit 9de9221 into master Nov 9, 2021
@RyanSkonnord RyanSkonnord deleted the identity-settings-icons branch November 9, 2021 17:52
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants