Skip to content

feat(frontend): optimistic UI for accept_offer and repay_invoice #178

Description

@samjay8

Problem

Accepting an offer and repaying are slow (wallet sign -> RPC -> confirm) with no interim feedback beyond a spinner. Optimistic updates make the app feel responsive and reduce double-submit confusion.

Scope

Stop

  • No offline queueing — a failed tx must roll back immediately

Acceptance criteria

  • Accepting an offer updates the UI instantly, then reconciles on confirmation
  • Failed/declined tx rolls state back cleanly
  • Double-submit protection retained

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSfrontendNext.js frontend workmediumStandard feature or fix — a single page, hook, or contract function

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions