-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Transaction loading revamp #11306
Comments
Proof of concept done by Marek: #11355 |
Windsurf AI gave me this overlook of item rendering states. Not sure how accurate it is, but it is better than nothing. Transaction UI Elements and Conditions
Special LayoutsTransactionItem:
CoinjoinBatchItem:
|
I checked the PR made by @marekrjpolak #11355 There are things that I don't understand / can't decide with my current knowledge (=no knowledge):
I know that @Nodonisko has been changing things around regarding fetching, making in nicer in Sept 2024. I am not sure why Marek's changes weren't used. My proposal:
|
Noticed: the scroll restore doesn't work properly, when clicking on the unloaded page, it gets scrolled way up. |
In order to be able to implement some transaction list improvements (e.g. filter out Ehtereum scam transactions or #7005), we have to decouple transaction pagination in Suite UI from api call pagination. The steps should be approximately following:
TransactionList
and make it infinitely scrolling list instead (with some clever UI maybe?)page
param infetchTransactionsThunks
) can be still preserved under the hood, but only directly following pages will be ever accessedWith this, it should be possible to hide some transactions as they wouldn't need to correspond to selected page, and we won't have to deal with expected
undefined
's intransactionReducer
arrays because no page will ever be skipped.The text was updated successfully, but these errors were encountered: