Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

feat: expansion local storage - #1539

Merged
gbarkhatov merged 2 commits into
mainfrom
feat/expansion-local-storage
Sep 4, 2025
Merged

feat: expansion local storage#1539
gbarkhatov merged 2 commits into
mainfrom
feat/expansion-local-storage

Conversation

@gbarkhatov

Copy link
Copy Markdown
Contributor
  • adds local storage utilities for expansions

Closes #1531

Copilot AI review requested due to automatic review settings September 4, 2025 06:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds local storage utilities for tracking expansion broadcast states, enabling the application to persist and manage expansion status across user sessions.

  • Implements local storage functions to mark, retrieve, and clean up expansion broadcast states
  • Integrates broadcast state tracking into the staking expansion service workflow
  • Updates expansion visibility service to use the new broadcast confirmation status

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/ui/common/utils/local_storage/expansionStorage.ts New utility module providing functions to manage expansion broadcast states in localStorage
src/ui/common/hooks/services/useStakingExpansionService.ts Integrates expansion broadcast tracking after successful transaction broadcast
src/ui/common/hooks/services/useExpansionVisibilityService.ts Updates comments to reflect the new broadcast confirmation status used for expansion visibility

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/ui/common/utils/local_storage/expansionStorage.ts
Comment thread src/ui/common/utils/local_storage/expansionStorage.ts Outdated
jrwbabylonlab
jrwbabylonlab previously approved these changes Sep 4, 2025
@gbarkhatov
gbarkhatov merged commit 9728e9d into main Sep 4, 2025
6 checks passed
@gbarkhatov
gbarkhatov deleted the feat/expansion-local-storage branch September 4, 2025 07:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

01 - Expansion - extend expansion localStorage to track broadcasted verified expansions

3 participants