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

fix: show dashed lines for empty values instead of removing them #79

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

schottra
Copy link
Contributor

@schottra schottra commented Jul 1, 2020

This is a small fix to correct a poor experience. My previous implementation of the execution metadata section would completely hide the start time / duration if they didn't have a value. In order to be consistent, I've updated it to show dashes in the case of a missing value, so that the element is always present. I also updated the "Cluster" element to show dashes in the case of a missing value.

@schottra schottra requested review from BobNisco and podehnal July 1, 2020 22:59
@codecov-commenter
Copy link

Codecov Report

Merging #79 into master will increase coverage by 0.28%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
+ Coverage   62.99%   63.27%   +0.28%     
==========================================
  Files         363      363              
  Lines        5685     5686       +1     
  Branches      840      842       +2     
==========================================
+ Hits         3581     3598      +17     
+ Misses       2104     2088      -16     
Impacted Files Coverage Δ
src/common/constants.ts 100.00% <100.00%> (ø)
.../Executions/ExecutionDetails/ExecutionMetadata.tsx 100.00% <100.00%> (ø)
.../components/Executions/Tables/NodeExecutionRow.tsx 91.11% <0.00%> (+2.22%) ⬆️
src/components/hooks/useDataRefresher.ts 95.83% <0.00%> (+16.66%) ⬆️
src/components/common/ExpandableMonospaceText.tsx 90.47% <0.00%> (+38.09%) ⬆️
...nts/Executions/Tables/ExpandableExecutionError.tsx 100.00% <0.00%> (+42.85%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e8c0ef...7b8b571. Read the comment docs.

@schottra schottra merged commit 0eaaecd into master Jul 1, 2020
@schottra schottra deleted the better-empty-value-handling branch July 1, 2020 23:05
@service-github-lyft-semantic-release
Copy link
Contributor

🎉 This PR is included in version 0.7.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

4 participants