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

feat(DataPlatform Logos): Adding server driven logos #2165

Merged

Conversation

jjoyce0510
Copy link
Collaborator

Scope
This change populates the recently added "logoUrl" field of DataPlatformInfo.json.

Description
Adding logo URLs for each DataPlatform. Images will be stored in the repo, similar to what we do for the existing images (default avatar, etc).

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

Copy link
Contributor

@shirshanka shirshanka left a comment

Choose a reason for hiding this comment

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

Had a couple of questions for you.

datahub-web-react/src/App.tsx Outdated Show resolved Hide resolved
@@ -10,14 +7,5 @@ export function getLogoFromPlatform(platform: string) {
if (platform === 'Looker') {
return lookerLogo;
Copy link
Contributor

Choose a reason for hiding this comment

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

looker remains?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Dashboards and Charts do not have DataPlatformUrns. Thus there is no way we can push these from the server. My view is that we should migrate Charts + Dashboards to also use DataPlatformUrns and then do the same here. Until then, this will unfortunately have to remain.

Copy link
Contributor

@shirshanka shirshanka left a comment

Choose a reason for hiding this comment

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

needs a small edit

Copy link
Contributor

@shirshanka shirshanka left a comment

Choose a reason for hiding this comment

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

LGTM!

@shirshanka shirshanka merged commit e575add into datahub-project:master Mar 5, 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.

2 participants