Skip to content

Show verified wallet session expiry countdown in VerificationModal #722

Description

@king-aj-the-first

GitHub labels: Stellar Wave

Drips complexity: Medium (100 points)

Area: Wallet

Description

lib/verifiedSessions.ts tracks session expiry, but VerificationModal does not show remaining time before re-verification is required.

Requirements and Context

SMEs mid-batch repay need to know when their verification session expires to avoid surprise modals.

Suggested Execution

git checkout -b feat/verification-session-countdown
  1. Create branch feat/verification-session-countdown
  2. Read session expiry from verifiedSessions helper
  3. Render countdown in VerificationModal header
  4. Refresh on interval without layout shift
  5. Add unit test for expired vs active states

Example commit message

feat(wallet): show verification session expiry countdown

File Paths

  • lib/verifiedSessions.ts
  • components/wallet/VerificationModal.tsx
  • hooks/useVerifiedAction.ts

Guidelines

  • Assignment required before starting
  • PR description must include: Closes #<issue_number>
  • Run npm run lint, npm run type-check, npm run test, and npm run build before opening PR
  • Add screenshots or recordings for UI changes
  • Complexity: Medium (100 points) — focused feature work in an existing surface

Acceptance Criteria

  • Modal shows time remaining when session active
  • Expired session prompts re-verify immediately
  • Countdown updates every second
  • No wallet secrets displayed
  • Unit test covers expiry edge

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions