-
Notifications
You must be signed in to change notification settings - Fork 959
added pagination for transactions view frontend #350
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
Conversation
This PR has dependency on #346 |
LGMT, please squash the commits. |
"react-copy-to-clipboard": "^5.0.1", | ||
"react-d3-graph": "^1.0.1", | ||
"react-datepicker": "^1.6.0", | ||
"react-dom": "^16.2.0", |
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.
mui has dependency on recent versions of react
componentWillUnmount() { | ||
clearInterval(this.interVal); | ||
clearInterval(this.interval); | ||
if (this.props.transactionId) { |
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.
resolved - interval not getting cleared on unmount in existing code. Please review the latest commits @adityajoshi12
Signed-off-by: deekshithvarma256 <[email protected]>
2722106
to
639ef23
Compare
Signed-off-by: deekshithvarma256 [email protected]
What this PR does / why we need it:
This feature integrates the Api calls to render server-side pagination for list of transactions to be fetched.
As of now the pagination is being handled from UI. Implementing pagination from backend addresses an issue when dealing with retrieval of huge data sets.
Which issue(s) this PR fixes:
Fixes #347
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation, usage docs, etc.: