Skip to content

Implement Single Claim Model Logic #79

@Benjtalkshow

Description

@Benjtalkshow

Implement Single Claim Model Logic in bounties details page (/bounty/[bountyId])

Add support for “Single Claim Model”.

What is Single Claim Model?

  • Only ONE contributor can claim the bounty.
  • After claim:
    • Status becomes claimed
    • Others cannot claim
    • Page shows “Claimed by @username”

Expected Data Types

type ClaimInfo = {
  claimedBy?: {
    userId: string
    username: string
    avatarUrl?: string
  }
  claimedAt?: string
}

UX Requirements

  • Show claimant profile

  • Disable claim button

  • Display “Already Claimed” state

Acceptance Criteria

  • Cannot claim if already claimed

  • Claimed user displayed properly

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programfrontendFrontend developmentgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions