-
-
Notifications
You must be signed in to change notification settings - Fork 251
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/group pending transactions by date #12975
Conversation
40b14fe
to
f20b346
Compare
f20b346
to
3b0cb27
Compare
4bd66f5
to
81fc6db
Compare
We encountered some (unrelated) weird stuff when testing this, but given this is testnet and very edge-casey, I am not going to investigate further. This behaviour can (for now) be observed on the second default testnet account with tbtc2 backend:
|
...suite/src/views/wallet/transactions/TransactionList/TransactionsGroup/PendingGroupHeader.tsx
Show resolved
Hide resolved
suite-native/transactions/src/components/TransactionsList/TransactionList.tsx
Show resolved
Hide resolved
suite-native/transactions/src/components/TransactionsList/TransactionList.tsx
Show resolved
Hide resolved
/rebase |
Start rebasing: https://github.com/trezor/trezor-suite/actions/runs/10179704384 |
refactor groupTransactionsByDate to enable/disable grouping pending split DayHeader to create PendingHeader refactor TransactionList: split pending & confirmed, rather than lumping them together refactor useMemo maps to FCs rename DayHeader to GroupHeader which more properly reflects its purpose Revert "REVERT ME: mock data for development" This reverts commit 5f2cf76. CR: use arrayPartition CR: don't use FC GroupHeaders file reorganization rename Wrapper to HeaderWrapper extract TransactionGroupedList refactor groupTransactionsByDate monkey-patch original behavior in suite-native more test cases
…in one separate group as before
5257993
to
8c1ec92
Compare
Group pending transactions by date. Otherwise, only time is displayed which is confusing when the transaction has been in a pending state for a long time.