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

feat: add pagination to tx list #895

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

feat: add pagination to tx list #895

wants to merge 5 commits into from

Conversation

im-adithya
Copy link
Member

Fixes #29

Needs some more testing, drafting till then

Screenshot 2024-12-16 at 6 57 54 PM Screenshot 2024-12-16 at 6 58 56 PM Screenshot 2024-12-16 at 6 58 12 PM

@rolznz
Copy link
Contributor

rolznz commented Jan 17, 2025

@im-adithya what is the status of this one?

return <TransactionItem key={tx.paymentHash + tx.type} tx={tx} />;
{transactions?.map((tx, i) => {
return (
<TransactionItem key={tx.paymentHash + tx.type + i} tx={tx} />
Copy link
Member Author

Choose a reason for hiding this comment

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

Should we use updatedAt in TransactionItem component instead of tx.settledAt || tx.createdAt

Copy link
Member Author

Choose a reason for hiding this comment

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

And for failed transactions we can maybe have initiated time in the tx dialog as well

@im-adithya im-adithya marked this pull request as ready for review February 18, 2025 18:00
@rolznz rolznz requested a review from pavanjoshi914 February 19, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add pagination to transaction lists
2 participants