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: Table and Column Lineage Polish #970

Merged
merged 5 commits into from
Apr 14, 2021
Merged

feat: Table and Column Lineage Polish #970

merged 5 commits into from
Apr 14, 2021

Conversation

danwom
Copy link

@danwom danwom commented Apr 14, 2021

Summary of Changes

General UX polish for lineage features

  • Loading state for column lineage
  • Hide upstream/downstream tabs when not present

Tests

  • Added some tests about table detail tabs

Documentation

CheckList

Make sure you have checked all steps below to ensure a timely review.

  • PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"
  • PR includes a summary of changes, including screenshots of any UI changes.
  • PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
  • In case of new functionality, my PR adds documentation that describes how to use it.
    • All the public python functions and the classes in the PR contain docstrings that explain what it does
  • PR passes all tests documented in the developer guide

@@ -6,16 +6,16 @@ import * as React from 'react';
import './styles.scss';

const ShimmeringDashboardLoader: React.FC = () => (
Copy link
Author

@danwom danwom Apr 14, 2021

Choose a reason for hiding this comment

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

Using the pattern of ShimmeringXLoader seems somewhat verbose with both a prefix and a suffix. I almost named my loader as ShimmeringColumnListLineageLoader.

How do you feel about adopting either XLoader or XShimmer for these types of components?

Copy link
Contributor

Choose a reason for hiding this comment

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

What about just ShimmeringColumnLineageLoader?

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good!
Ideally, we should come up with a generic component that packs all this in one. At some point!

Daniel Won added 4 commits April 14, 2021 12:29
- Reordeered upstream/downstream tabs
- Hide upstream/downstream tabs when no tables are found
- Add loading state for column lineage

Signed-off-by: Daniel Won <dwon@lyft.com>
Signed-off-by: Daniel Won <dwon@lyft.com>
Signed-off-by: Daniel Won <dwon@lyft.com>
Signed-off-by: Daniel Won <dwon@lyft.com>
@danwom
Copy link
Author

danwom commented Apr 14, 2021

@Golodhros @allisonsuarez 👀 😄

Copy link
Contributor

@allisonsuarez allisonsuarez left a comment

Choose a reason for hiding this comment

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

LGTM

}

&.header {
height: 24px;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
height: 24px;
height: $shimmer-header-height;

@import 'variables';

$shimmer-height: 120px;
$shimmer-block-spacing: $spacer-2;
Copy link
Member

Choose a reason for hiding this comment

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

Nit: I feel this is a bit too much, I would make it spacer-1

Copy link
Member

@Golodhros Golodhros left a comment

Choose a reason for hiding this comment

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

Some minor comments

Signed-off-by: Daniel Won <dwon@lyft.com>
@danwom danwom merged commit cd2f4c4 into master Apr 14, 2021
@dorianj dorianj deleted the lineage-polish branch April 14, 2021 21:52
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.

3 participants