States

Every state an order, a listing and an offer can be in, and every component that says so. One config per system decides a state's colour, icon and words, so its badge, its card and its row never disagree. Everything here is the live component, fed fixtures.

Orders

Pick a state to see all it wears: its badge as each reader sees it, and its status card on the item page and the order page. Where an order stands is one leaf of the order's statechart (orderLeafOf); orders-status-config.tsx gives it its colour and icon, the dictionaries its words.

Awaiting payment

pending_payment · Shipping · warning

Badge

BuyerAwaiting payment
SellerAwaiting buyer payment
StaffPending payment

Status card

Seller, item page

Awaiting buyer payment

Seller, order page

Awaiting buyer payment

Buyer, item page

Awaiting payment

Buyer, order page

Awaiting payment

Order card

The order in the seller's and the buyer's lists: who it is with, its items, its state and its total, its next action at the foot.

Sold toSmilethrift_jorge#10421
Ship this order
3 itemsR$312.90you receive R$285
R$189.32
VintageUsed – Like new
R$25.60
NikeM•New with tags
R$80.98
Ship by Apr 30, 8:59 PM189 days overdue
@thrift_jorge
View order
Bought fromSmilethrift_jorge#10422
Delivered
3 itemsR$312.90
R$189.32
VintageUsed – Like new
R$25.60
NikeM•New with tags
R$80.98
Delivered Apr 28. Did it arrive?
Correios · São Paulo
Confirm receiptView order

The deal in the thread

Where the deal stands in the two members' thread, said once: an island under the thread's bar, the item in a ring that fills as the deal moves, opening into what it costs or earns and what to do now.

Seller, just after the sale

Buyer, while it travels

Buyer, an offer out

Listings

A listing's own state (listings-status-config.ts) colours its bar and its notice; who reads it decides what it says.

Status bar

Across the top of the item page, and at the foot of the seller's item card. The seller reads their own state, a party to an order reads the outcome, everyone else reads why they can't buy.

Draft

seller only

Draft

Available

seller only

Available

Hidden

seller only: available, not visible

Hidden

Reserved

seller, reserved by an offer

Reserved

Sold

seller with an order

Congrats, you sold this item!

Bought

buyer with an order

You bought this item!

Reserved

everyone else

This item has been reserved

Sold

everyone else

This item has been sold

Notice card

The details column for anyone who is neither party: reserved is a wait, sold is gone. Nothing to celebrate.

Reserved

anyone but the seller and the buyer

This item has been reserved

It's currently reserved by another buyer

Sold

anyone but the seller and the buyer

This item has been sold

It's no longer available for purchase

Listing card

A listing card's state over its photo, wherever the listing is a card.

Available

Vintage leather bag

CoachGood

R$120

Sold

Sold

Vintage leather bag

CoachGood

R$120

Shipped

Vintage leather bag

CoachGood

R$120

Delivered

Vintage leather bag

CoachGood

R$120

Draft

Draft

Vintage leather bag

CoachGood

R$120

Offers

An offer in the thread, from the side that received it and the side that sent it, through each of its states.

Received

Pending, accepted, declined, countered, cancelled: what the seller sees, and what they can do about it.

Received - pending

€56.43€75

Pending

Received - accepted

€56.43€75

Accepted

Received - rejected

€56.43€75

Declined

Received - countered

€56.43€75

New price offered

Received - cancelled

€56.43€75

Cancelled

Sent

The same offer as the buyer who made it reads it: waiting, accepted, declined, countered.

Sent - waiting

€56.43€75

Pending

Sent - accepted

€56.43€75

Accepted

Sent - declined

€56.43€75

Declined

Sent - countered

€56.43€75

New price offered

Icons

Each state's icon on its tint, as its badge wears it, in the order an order goes through them. The icon is a shipped order's; where a meetup or a same-day courier draws another, it is under the name.

Payment

  • IconClockHour3Awaiting payment
  • IconScanPayment in analysis

Handover

  • IconOrderPreparingBeing preparedShip this orderMeetupSame day
  • IconTruckDeliveryOn its wayMeetupSame day
  • IconTruckDeliveryShippedMeetupSame day
  • IconTruckDeliveryIn transitMeetupSame day
  • IconHomeCheckDeliveredMeetup

Outcome

  • IconSquareRoundedCheckFilledCompleted
  • IconAlertTriangleProblem reported
  • IconPackageOffCancelled
  • IconReceiptRefundRefunded

Listings

  • IconLockReserved
  • IconTagOffSold