trezor / trezor-suite

Trezor Suite Monorepo
https://trezor.io/trezor-suite
Other
724 stars 251 forks source link

Transaction loading revamp #11306

Open marekrjpolak opened 8 months ago

marekrjpolak commented 8 months ago

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:

With 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 in transactionReducer arrays because no page will ever be skipped.

peter-sanderson commented 6 months ago

Proof of concept done by Marek: https://github.com/trezor/trezor-suite/pull/11355