bounswe / bounswe2022group7

8 stars 3 forks source link

[Frontend] Art Item Auction #583

Closed CahidArda closed 1 year ago

CahidArda commented 1 year ago

We will add art item auction support to our platform. In order for this to happen, we need to include the following functionalities:

Deadline 24.12.2022, 23:59 Reviewer: @erimerkin

CahidArda commented 1 year ago

I have finished the auction implementation. Here is how it works:

State space of the display is 2x2, dimensions being on_auction and max_bid (whether any bid was made). There are 2x2=4 different states.

State 1: Initial State (not on auction, no bid)

User creates and art item and views the page:

image

Users other than the owner doesn't see the new auction display at all.

State 2: Auction Starts

Owner clicks the start auction button and auction starts:

image

Other users:

image

Visitor users:

image

State 3: First Bid Made

Steve enters a bid amount and makes the bid. Owner:

image

Steve:

image

Visitor users:

image

State 4: Auction ends

Owner clicks end auction button to end the auction. He can restart the auction if he wants.

image

Steve and visitor users:

image

erimerkin commented 1 year ago

The related PR #585 is now merged to develop so this issue is now completed.