Publish, edit, renew and delete listings from the web UI
- Form at #/mine/new and #/mine/<id>/edit: coordinates pasted and encoded to a precision-6 geohash in the browser (about 1 km, OSM link to check, no map tiles), euro price parsing, optional exact address saved on the node only - Region guard: refuses places the node does not follow; region fixed on edit - Owner view: days left with a warning under 5 days, manual Renew (30 days), Edit, Delete with confirmation - Tests (jsdom and pure logic), docs, rebuilt web/dist Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,10 @@ network, so a node only ever sees ciphertext. The owner reads and answers
|
||||
in the browser (`node run` prints a sign-in link; open it to get "My listings")
|
||||
and can release the exact address as a signed message.
|
||||
|
||||
Owners publish from the same screen: "New listing" takes a title, price and
|
||||
pasted coordinates (only a ~1 km area is published, never the address), and
|
||||
listings can be edited, renewed (30 days, manually) or deleted there.
|
||||
|
||||
A second node on the same network finds this one automatically (mDNS); across
|
||||
networks, pass `--bootstrap /ip4/<addr>/tcp/<port>/p2p/<peer id>`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user