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 transferred bytes showing as NaN #15795

Merged

Conversation

robgleason
Copy link
Contributor

Show 0 bytes for cancelled sync job

What

Closes #15321

How

The UI error for ticket #15321 is being displayed by the AttemptDetails component. Within it is the FormattedMessage component that is expecting a number. I added the "or" operator, so if in case it is null then it will return zero.

Before:

Before

After:

After

Recommended reading order

  1. AttemptDetails.tsx

LOOM

https://www.loom.com/share/3c5e964138504ba6a02b05b9502233fe

Show 0 bytes for cancelled sync job
@robgleason robgleason requested a review from a team as a code owner August 19, 2022 16:49
@CLAassistant
Copy link

CLAassistant commented Aug 19, 2022

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added area/platform issues related to the platform area/frontend Related to the Airbyte webapp labels Aug 19, 2022
@timroes timroes self-assigned this Aug 19, 2022
@timroes timroes changed the title Update AttemptDetails.tsx 🪟 🐛 Fix transfered bytes showing as NaN Aug 22, 2022
@timroes timroes changed the title 🪟 🐛 Fix transfered bytes showing as NaN 🪟 🐛 Fix transferred bytes showing as NaN Aug 22, 2022
@marcosmarxm marcosmarxm requested a review from timroes August 30, 2022 16:13
Copy link
Member

@marcosmarxm marcosmarxm left a comment

Choose a reason for hiding this comment

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

thanks @robgleason

@marcosmarxm marcosmarxm merged commit 4892a08 into airbytehq:master Aug 31, 2022
@robgleason
Copy link
Contributor Author

thanks @robgleason
@marcosmarxm Thank you! I've worked with git and PR's before, but this is my first time contributing to an Open Source project! I have also found some Java/Python issues that looked interesting, and I've been getting deep into documentation/code. I plan to offer more contributions and PR's!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp area/platform issues related to the platform community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[webapp] Cancelled sync job shows NaN Bytes
5 participants