Consignment market: list items to sell while offline (port the fork's feature; server is ours)

Ouverte
#3,529 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
8/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
go
Domaine
full-stack

Piste de recherche

Start by judging the seven forkmap "Consignment market" cards, which exist only in the maintainer's ledger, and read stall_network.go to see how town selling works today. The server work (listing store, expiry, settlement, return to warehouse or bag, commission) is design-heavy and needs the owner's fee and limit approval first. Done means the SRO_CONSIGNMENT flag and an Experimental client row both pass tests when on and off.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

area: client area: server enhancement priority: medium

Players asked for it on Discord (2026-11-15), and the owner wants it.

What exists today

  • The v1.150 client has no consignment: no window, no text (0 matches for "consign" in its UI strings). The stall network (stall_network.go) is the only way to sell from towns.
  • A downstream fork already ships a consignment market in its browser client. In the forkmap ledger (laptop, handover/forkmap/work) it is the registered feature Consignment market. Seven items mention it, all unjudged: H-ec5fdff3, H-5dce0496, H-eb911134, C-75948b85, C-51d6ce00, C-6199d551, and C-d44d967b (SUPPORT, option-row plumbing).
  • What their client shows: a CONSIGNMENT window on its own hotkey, item search, "My listings", listing from the inventory by drag, and sale notices: sold, sold to a named buyer, did not sell and returned to the warehouse or the bag, "warehouse is full, take it back from My listings", "Consignment is closed right now".

What we can and cannot take

  • Their client half can be read from the served bundle through forkmap. Their server cannot: they do not share code. The server half (listing store, expiry, sale settlement, return to warehouse, the commission) is ours to write.
  • Their strings are their own Turkish/English text, not a native catalogue.

Done when

  • The forkmap "Consignment market" cards are judged (what each one does; which we take).
  • Server: listings persist across restarts, expire and return items (warehouse, else the bag), pay the seller, take a fee, and hold up against duplication and abuse (an item is in exactly one place at every step).
  • Client: the window, search, My listings, the notices.
  • Ships behind SRO_CONSIGNMENT (port-only, not native; off is native) plus an Experimental row for the client entry, both tested on and off.
  • The owner approves the fee and the listing limits before it turns on.
Langage dominant
Go
Étoiles
97
Forks
61
Merge moyen
4 h 14 min
PR mergées (30 j)
913

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de opensro-dev/opensro

Toutes les issues de opensro-dev/opensro

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.