Commit graph

10 commits

Author SHA1 Message Date
Vlad Stan
51c4147e65 Product delete (#64)
* feat: restore stalls from `nostr` as pending

* feat: stall and prod last update time

* feat: restore products and stalls as `pending`

* feat: show pending stalls

* feat: restore stall

* feat: restore a stall from nostr

* feat: add  blank `Restore Product` button

* fix: handle no talls to restore case

* feat: show restore dialog

* feat: allow query for pending products

* feat: restore products

* chore: code clean-up

* fix: last dm and last order query

* chore: code clean-up

* fix: subscribe for stalls and products on merchant create/restore

* feat: add message type to orders

* feat: simplify messages; code format

* feat: add type to DMs; restore DMs from nostr

* fix: parsing ints

* fix: hide copy button if invoice not present

* fix: do not generate invoice if product not found

* feat: order restore: first version

* refactor: move some logic into `services`

* feat: improve restore UX

* fix: too many calls to customer DMs

* fix: allow `All` customers filter

* fix: ws reconnect on server restart

* fix: query for customer profiles only one

* fix: unread messages per customer per merchant

* fix: disable `user-profile-events`

* fix: customer profile is optional

* fix: get customers after new message debounced

* chore: code clean-up

* feat: auto-create zone

* feat: fixed ID for default zone

* feat: notify order paid
2023-06-30 13:12:56 +03:00
Vlad Stan
f7dd15e775 feat: allow to add test public key 2023-05-04 12:15:45 +03:00
Vlad Stan
547c477ce6 fix: shipping cost; update UI on new order 2023-04-03 11:57:55 +03:00
Vlad Stan
c583af3c33 fix: add orders to direct_messages table 2023-03-24 16:55:23 +02:00
Vlad Stan
482961a2ef chore: code clean-up 2023-03-16 18:34:37 +02:00
Vlad Stan
3e0b480f0a feat: user merchant_id instead of user_id 2023-03-14 14:31:30 +02:00
Vlad Stan
35298a4f44 feat: send invoice back for order 2023-03-06 17:33:55 +02:00
Vlad Stan
bee52340a2 feat: return payment-request for order 2023-03-06 16:31:34 +02:00
Vlad Stan
d0471744e0 feat: create order on DM 2023-03-06 15:03:02 +02:00
Vlad Stan
5972c44ad1 feat: publish event on C_UD for stalls 2023-03-02 10:14:11 +02:00