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

Show facets even when dataset has no fields. #2214

Conversation

JDarDagran
Copy link
Contributor

Signed-off-by: Jakub Dardzinski [email protected]

Problem

Facets are not shown in UI when dataset has no fields set.

Closes: #2213

Solution

Change logic in DatasetInfo component to always show facets.

Checklist

  • You've signed-off your work
  • Your changes are accompanied by tests (if relevant)
  • Your change contains a small diff and is self-contained
  • You've updated any relevant documentation (if relevant)
  • You've updated the CHANGELOG.md with details about your change under the "Unreleased" section (if relevant, depending on the change, this may not be necessary)
  • You've versioned your .sql database schema migration according to Flyway's naming convention (if relevant)
  • You've included a header in any source code files (if relevant)

@boring-cyborg boring-cyborg bot added the web label Oct 26, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Oct 26, 2022

Thanks for opening your first pull request in the Marquez project! Please check out our contributing guidelines (https://github.com/MarquezProject/marquez/blob/main/CONTRIBUTING.md).

@codecov
Copy link

codecov bot commented Oct 26, 2022

Codecov Report

Merging #2214 (9e7bc52) into main (db92c4f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #2214   +/-   ##
=========================================
  Coverage     76.67%   76.67%           
  Complexity     1144     1144           
=========================================
  Files           219      219           
  Lines          5312     5312           
  Branches        421      421           
=========================================
  Hits           4073     4073           
  Misses          764      764           
  Partials        475      475           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: Jakub Dardzinski <[email protected]>

Use ternary logic.

Signed-off-by: Jakub Dardzinski <[email protected]>
@JDarDagran JDarDagran force-pushed the ui/show-facets-when-no-dataset-fields branch from 857b87e to 9e7bc52 Compare October 26, 2022 18:50
Copy link
Member

@phixMe phixMe left a comment

Choose a reason for hiding this comment

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

Thanks

@pawel-big-lebowski pawel-big-lebowski merged commit 64d8cd0 into MarquezProject:main Oct 27, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Oct 27, 2022

Great job! Congrats on your first merged pull request in the Marquez project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Facets are not shown in UI when dataset has no fields set.
3 participants