-
Notifications
You must be signed in to change notification settings - Fork 88
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: get transaction history from API #133
Conversation
✅ Linked to Task LF-4968 · Switch TxHistory from LocalStorage to /analytics/wallets endpoint |
…et into lf-4968-tx-history-endpoint
packages/widget/src/pages/TransactionDetailsPage/TransactionDetailsPage.tsx
Outdated
Show resolved
Hide resolved
packages/widget/src/pages/TransactionHistoryPage/TransactionHistoryPage.tsx
Outdated
Show resolved
Hide resolved
import { List } from '@mui/material'; | ||
import { useVirtualizer } from '@tanstack/react-virtual'; | ||
import type { FC, MutableRefObject } from 'react'; | ||
import { useEffect } from 'react'; | ||
|
||
import type { FullStatusData, StatusResponse } from '@lifi/sdk'; | ||
|
||
import { TransactionHistoryItem } from './TransactionHistoryItem'; | ||
import { TokenListItemSkeleton } from '../../components/TokenList/TokenListItem'; |
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.
We need to start enforcing import sorting on save 😄
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.
Yes we should, if you already have a setting enabled for this in VS Code let's push it to .vscode
so that linting remains consistent
CleanShot.2023-09-26.at.20.18.35.mp4Added more skeleton to show better loaders for data loading. There is a delay upon fetching the transaction details immediately post completing a transaction. Because the whole history is being fetched again. Attempting to shorten this delay by fetching and appending the latest transaction using |
Hey! This is your new endopint: https://f3bb1a97.widget-lf4968txhi.pages.dev |
…et into lf-4968-tx-history-endpoint
Hey! This is your new endopint: https://ac8e1f0f.widget-lf4968txhi.pages.dev |
This PR is on hold due to Backend's Pagination taskThe frontend is completed yet, waiting for backend to finish up with the pagination implementation and then the frontend would continue implementing this |
Hey! This is your new endopint: https://ab6b623f.widget-lf4968txhi.pages.dev |
Hey! This is your new endopint: https://7be5126f.widget-lf4968txhi.pages.dev |
No description provided.