Skip to content

Conversation

deekshithvarma256
Copy link
Contributor

What this PR does / why we need it:

This feature integrates the Api calls to render server-side pagination for list of Blocks 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.

The Block Range Search feature facilitates user to search data using a block range. The Search field is provided in the blocks tab. A modal with the appropriate data will be displayed in response to user input.
It provisions user for a quick data search pertaining to specific block range.

Which issue(s) this PR fixes:

Fixes #355 and #365

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Yes

Additional documentation, usage docs, etc.:


Copy link
Contributor

@adityajoshi12 adityajoshi12 left a comment

Choose a reason for hiding this comment

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

LGTM

@deekshithvarma256
Copy link
Contributor Author

@adityajoshi12 Please check the latest commit. Added the configurable UI range limit and its validation. cc: @ArchanaArige

@deekshithvarma256
Copy link
Contributor Author

@adityajoshi12 Please check the attached snaps for the 'No of Blocks', dropdown feature
355_1
355_3

@ArchanaArige ArchanaArige merged commit 2d6bb44 into hyperledger-labs:main May 29, 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 Blocks Tab
3 participants