Skip to content

refactor(frontend): fix frontend data handling#62

Merged
Im-Madhur-Gupta merged 3 commits intocamille/eng-524-optimize-and-cleanup-app-for-rolloutfrom
madhur/fix-frontend-data-handling
Jan 14, 2026
Merged

refactor(frontend): fix frontend data handling#62
Im-Madhur-Gupta merged 3 commits intocamille/eng-524-optimize-and-cleanup-app-for-rolloutfrom
madhur/fix-frontend-data-handling

Conversation

@Im-Madhur-Gupta
Copy link
Collaborator

@Im-Madhur-Gupta Im-Madhur-Gupta commented Jan 14, 2026

  • Removes the key requirement for transfers, swaps list inorder to prevent full list re-renders upon new event add, instead memoized the state to cause the re render of only the elements needed.
  • Moved block state tracker block limit to 15k which is safe considering the data we are holding in it. (more head room before the pruning starts)

@vercel
Copy link

vercel bot commented Jan 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
execution-events-example Ready Ready Preview, Comment Jan 14, 2026 2:02pm

@Im-Madhur-Gupta Im-Madhur-Gupta changed the base branch from main to camille/eng-524-optimize-and-cleanup-app-for-rollout January 14, 2026 10:07
@Im-Madhur-Gupta Im-Madhur-Gupta merged commit e7d0dfc into camille/eng-524-optimize-and-cleanup-app-for-rollout Jan 14, 2026
6 checks passed
@Im-Madhur-Gupta Im-Madhur-Gupta deleted the madhur/fix-frontend-data-handling branch January 14, 2026 14:39
Im-Madhur-Gupta added a commit that referenced this pull request Jan 14, 2026
* added limits on events context, block time tracker and transfer events tab

* Prevent scroll with non-passive event listener in blockchain component

* adding high numbers limits to protect too much data but not modify the behavior of the components

* bumping the numbers again

* clean tooltip style

* small style clean up

* clean style css to refer to globals.css

* named export for components instead of default export

* revert px convertion to rem in globals.css

* refactor(frontend): rename TPSTracker to NetworkActivityTracker, create separate for network stats

* fixed swaps and transfers list

* put back virtualised scroll protection

* fix Block Execution Timeline when max reached

* refactor(frontend): fix frontend data handling (#62)

* refactor(frontend): update Swap and Transfer components to use direct data props instead of refs

* fix(frontend): increase MAX_BLOCKS limit to 15000

* chore(frontend): increase MAX_EVENTS_STORED limit to 25000

---------

Co-authored-by: Madhur Gupta <madhurgupta107@gmail.com>
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.

2 participants