You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(vault): show pending deposit progress in the sidebar - #2671
The Vaults sidebar badge shows the average progress of pending deposits. Completed deposits do not count as pending. The branch includes current main. Fresh CI is pending.
Change
Use the same progress steps as the deposit rows.
Update the arc when progress changes, even if the count stays the same.
Show the rounded percentage in the tooltip and accessible name. Show it on keyboard focus.
Keep a grey ring when progress is unknown. Hide the badge when no deposits are pending.
Resolve the test import conflict with current main.
Safety
This changes the sidebar display. It uses existing polling results. Transaction and signing rules remain unchanged.
Verification
All 54 focused sidebar and polling tests passed.
Vault lint and type checks passed. Lint reports 138 warnings and no errors.
All three PR updates merge together without conflicts. The combined vault suite passed 5,102 tests, with two skipped.
Full review covered all seven changed files. A later review checked the test import adjustment that prevents a conflict with the refund PR. Uncached affected lint and tests passed. No source file was rewritten by the checks.
The PR derives a pending-deposit count and average progress from polling results, then displays that progress in the Vaults sidebar badge.
Progress changes update the arc without requiring a count change; completed demo deposits are excluded.
The percentage needs an accessible presentation for keyboard and screen-reader users.
Security-guideline adherence: No SECURITY-GUARDRAILS.md was found. The changes are confined to display state and do not alter transactions, signing, or polling requests; no conflict with the repository’s security guidance was identified.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Deposit activities and polling results] --> B[Pending-deposit summary]
B --> C[Vaults sidebar badge]
C --> D[Count and progress arc]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
The Vaults sidebar badge shows the average progress of pending deposits. Completed deposits do not count as pending. The branch includes current main. Fresh CI is pending.
Change
Safety
This changes the sidebar display. It uses existing polling results. Transaction and signing rules remain unchanged.
Verification
Links
The following record is from the earlier review. The checks above cover this update.
Pre-review: 0 findings · 0 fixed · 0 open (0 merge-blockers) · 0 undecided · lint/test passed
Full review covered all seven changed files. A later review checked the test import adjustment that prevents a conflict with the refund PR. Uncached affected lint and tests passed. No source file was rewritten by the checks.