Skip to content

Conversation

@zaelgohary
Copy link
Contributor

Changes

  • Add @vueuse/core dependency for page visibility detection
  • Implement useDocumentVisibility in profile_manager.vue to pause/resume
    balance polling based on tab visibility
  • Add visibility checks in contracts_table.vue to prevent unlock refresh
    timeout from running when tab is inactive
  • Add visibility checks in public_ips_table.vue to prevent refresh timeouts
    from running when tab is inactive
  • Refactor polling logic in profile_manager.vue by extracting helper
    functions (startBalancePolling, stopBalancePolling) and removing nested
    conditionals for better maintainability
  • Add proper cleanup for all intervals and timeouts on component unmount

Related Issues

@zaelgohary zaelgohary changed the base branch from development to development_cleanup_intervals November 24, 2025 07:48
Base automatically changed from development_cleanup_intervals to development December 4, 2025 10:27
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