-
Notifications
You must be signed in to change notification settings - Fork 306
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
[AMORO-1771] Add two line charts to the Table Transactions page, showing the count of table records and the count of table files. #1859
Conversation
…ing the count of table records and the count of table files.
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #1859 +/- ##
============================================
- Coverage 51.02% 50.90% -0.13%
- Complexity 3795 3806 +11
============================================
Files 467 477 +10
Lines 25496 25631 +135
Branches 2599 2608 +9
============================================
+ Hits 13010 13047 +37
- Misses 11321 11418 +97
- Partials 1165 1166 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thanks for your contributions, Ccould you provide a screenshot of the modified style? |
Of course, I posted the screenshot in the comments, it's implemented as the designed page, a little different is the x-axis shows the full date and time, if you think something is not implemented correctly please feel free to suggest it! |
If I understand correctly, each point in the graph corresponds to a Transaction, right? @minteliuwm I'm concerned that displaying these points uniformly in the x direction may cause distortion, because the time intervals between Transactions are not fixed. |
Yes, currently each point on the graph represents the commit time of a transaction.
|
Thank you for your prompt reply! As for the two questions you mentioned, for the first one, I think accuracy to the second is sufficient because based on my experience, it is unlikely that multiple Transactions would be committed within one second. As for the second question, I think it is acceptable. @hameizi Could you provide some suggestions on how these two issues were considered during design? |
We have discussed the display logic for this section before, and there is a theoretical possibility of submitting a large number of snapshots in a short time. Therefore, the current display logic is: only the snapshot of the current page is displayed, and the distance between the snapshots in the chart is equal. |
Make sense to me. 👍 In the scenario where only Transactions from the current page are displayed, I agree with the current implementation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Validate in my local environment.
…, showing the count of table records and the count of table files. (apache#1859) * [AMORO-1771] Add two line charts to the Table Transactions page, showing the count of table records and the count of table files. * fix: x-axis data should not be duplicated * style: optimize line chart style * build: build frontend project * fix: The x-axis shows specific data points
Why are the changes needed?
resolve #1771
Brief change log
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation