Skip to content

Conversation

deekshithvarma256
Copy link
Contributor

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?

Yes

Additional documentation, usage docs, etc.:


@adityajoshi12
Copy link
Contributor

This PR has dependency on #346

@adityajoshi12
Copy link
Contributor

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",
Copy link
Contributor Author

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) {
Copy link
Contributor Author

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

@ArchanaArige ArchanaArige merged commit 5a8dc39 into hyperledger-labs:main Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Frontend - Pagination implementation for Transactions Tab
3 participants