Add owner inbox UI with address release
Web: "My listings" (listings, requests of a listing, conversation) in three panes on wide screens and one at a time on phones, and a sheet or dialog to release the exact address. Sign-in uses a link printed by `node run` (token in the URL fragment, kept in sessionStorage only). API: GET /api/v1/mine (own listings with request counts and whether an address is saved); inbox rows gain last_dir, needs_reply, preview, effort and grant_until, and can be filtered by listing. Docs: PROTOCOL.md and README describe the owner UI and login. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,8 +20,8 @@ pre-built and embedded; Node.js is only needed to change it
|
||||
Buyers can write to an owner straight from a listing, without an account.
|
||||
Messages are end-to-end encrypted in the browser and relayed through the
|
||||
network, so a node only ever sees ciphertext. The owner reads and answers
|
||||
through the token-protected API (`GET /api/v1/inbox`, see the protocol doc) and
|
||||
can release the exact address as a signed message; an owner UI is not built yet.
|
||||
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.
|
||||
|
||||
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