Skip to content

Basic Operations #136

@Haydart

Description

@Haydart

Task: Basic Operations

Description

Implement core wallet management operations: add wallet, remove wallet, and refresh wallet data.
Wire up the action buttons with orchestrator API calls using simple JavaScript functions.

Acceptance Criteria

  • Implement "Add Wallet" functionality with address input form
  • Implement "Remove Wallet" button with confirmation dialog
  • Implement individual "Refresh Wallet" buttons for each wallet
  • Implement "Refresh All" button for bulk wallet refresh
  • Form validation for wallet address input (basic format check)
  • Update UI immediately after successful operations

Technical Details

  • Use orchestrator API endpoints:
    • POST /api/wallets for adding wallets
    • DELETE /api/wallets/{address} for removing wallets
    • POST /api/wallets/{address}/refresh for individual refresh
    • POST /api/wallets/refresh-all for bulk refresh
  • Simple form handling with basic validation
  • Confirmation dialogs using confirm() for destructive actions
  • Refresh table data after successful operations
  • Basic loading states during operations (disable buttons)

Dependencies

  • Task 002 (API Integration) must be complete
  • Orchestrator API endpoints must be functional

Effort Estimate

  • Size: M
  • Hours: 8-12 hours
  • Parallel: false (depends on task 002)

Definition of Done

  • Add wallet form works with valid addresses
  • Remove wallet prompts for confirmation and removes successfully
  • Individual refresh updates single wallet data
  • Bulk refresh updates all wallet data
  • UI updates immediately after operations
  • Basic validation prevents invalid wallet addresses
  • Loading states prevent double-clicks during operations

Part of Epic: #

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions