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(extension): load historical tx on demand when scrolling [LW-12099] #1656

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

przemyslaw-wlodek
Copy link
Contributor

@przemyslaw-wlodek przemyslaw-wlodek commented Jan 20, 2025

Checklist


Proposed solution

  • update SDK packages
  • utilise infinite scroll lazy loading

Testing

  • activities list in the activity tab (popup and browser view), please consider next scenarios
    • no initial txs are available
    • pending/signed tx should always appear at the top of the list
    • pending tx should change it status to "confirmed"
    • particular amount of initial txs are available with no more items to load
    • particular amount of initial txs are available with more items to load
    • initially available tx should be displayed almost immediately with no additional requests to blockfrost
  • activities list in the reward history section in the staking page.

@przemyslaw-wlodek przemyslaw-wlodek self-assigned this Jan 20, 2025
@pczeglik-iohk
Copy link
Contributor

pczeglik-iohk commented Jan 20, 2025

Allure Report

allure-report-publisher generated test report!

processReports: ✅ test report for 5d450ee8

passed failed skipped flaky total result
Total 33 0 4 0 37

@przemyslaw-wlodek przemyslaw-wlodek force-pushed the feat/limit-number-of-historical-tx-loaded branch from 0297f2d to 12f26c5 Compare January 21, 2025 08:40
@przemyslaw-wlodek przemyslaw-wlodek changed the title Feat/limit number of historical tx loaded feat(extension): load historical tx on demand when scrolling [LW-12099] Jan 21, 2025
@przemyslaw-wlodek przemyslaw-wlodek force-pushed the feat/limit-number-of-historical-tx-loaded branch 2 times, most recently from 2f748f4 to fabd258 Compare January 21, 2025 08:56
@przemyslaw-wlodek przemyslaw-wlodek marked this pull request as ready for review January 21, 2025 08:57
@przemyslaw-wlodek przemyslaw-wlodek requested a review from a team as a code owner January 21, 2025 08:57
@przemyslaw-wlodek przemyslaw-wlodek force-pushed the feat/limit-number-of-historical-tx-loaded branch from fabd258 to e7d8657 Compare January 21, 2025 11:49
@przemyslaw-wlodek przemyslaw-wlodek force-pushed the feat/limit-number-of-historical-tx-loaded branch from 0b36022 to 27e3221 Compare January 21, 2025 18:47
@przemyslaw-wlodek przemyslaw-wlodek force-pushed the feat/limit-number-of-historical-tx-loaded branch from e98bab4 to a42307e Compare January 22, 2025 19:39
@vetalcore vetalcore requested a review from mkazlauskas January 22, 2025 19:56
@przemyslaw-wlodek przemyslaw-wlodek force-pushed the feat/limit-number-of-historical-tx-loaded branch from fbb8e6b to 9c57765 Compare January 27, 2025 16:53
@vetalcore vetalcore force-pushed the feat/limit-number-of-historical-tx-loaded branch 3 times, most recently from 8403fda to 5a8ca3b Compare January 31, 2025 18:02
@vetalcore vetalcore force-pushed the feat/limit-number-of-historical-tx-loaded branch 4 times, most recently from 77cdce4 to a02a84b Compare February 4, 2025 13:53
@vetalcore vetalcore force-pushed the feat/limit-number-of-historical-tx-loaded branch from a02a84b to 06823be Compare February 6, 2025 12:34
@vetalcore vetalcore force-pushed the feat/limit-number-of-historical-tx-loaded branch from 06823be to af45ff7 Compare February 6, 2025 13:37
if user has multiple addresses, and one of the addresses has a large
gap between transctions, it would skip some transactions

this fix is very inefficient, because it drops and re-fetches txes
it might be acceptable when combined with persistent cache
Copy link

sonarqubecloud bot commented Feb 7, 2025

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.

4 participants