Commit graph

13 commits

Author SHA1 Message Date
Vlad Stan
5c83bf8972 Custom shipping cost (#86)
* feat: simple UI for shipping zone per product

* feat: add empty cost

* fix: backwards compatible zones

* feat: finish UI for product shipping cost

* fix: some ui issues

* feat: add per product shipping cost

* feat: show receipt for product

* fix: publish per product shipping cost
2023-09-21 17:29:13 +03:00
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
a293046106 chore: code clean-up 2023-03-17 18:01:34 +02:00
Vlad Stan
d7d7869b0e feat: link order to DMs 2023-03-17 10:51:20 +02:00
Vlad Stan
3e0b480f0a feat: user merchant_id instead of user_id 2023-03-14 14:31:30 +02:00
Vlad Stan
40c25ad085 feat: show orders per stall 2023-03-07 10:31:25 +02:00
Vlad Stan
2acce94fe9 feat: allow restore from nsec 2023-03-02 15:52:40 +02:00
Vlad Stan
f22e47e9ce feat: handle stall delete and update 2023-03-02 14:37:07 +02:00
Vlad Stan
6ff1997d36 feat: add basic stall details 2023-03-02 13:31:42 +02:00
Vlad Stan
ac02337ad3 feat: show stall list table 2023-03-02 11:46:46 +02:00
Vlad Stan
16a6104b25 fix: only allow zones with the same currency to be selected 2023-03-02 10:28:10 +02:00
Vlad Stan
aa10f639b5 feat: create stall 2023-03-01 11:46:21 +02:00
Vlad Stan
e9b7494bb6 feat: basic stall flow 2023-03-01 11:35:04 +02:00