Commit graph

30 commits

Author SHA1 Message Date
Vlad Stan
1a840ac007
feat: refresh merchant from nostr (#85) 2023-09-20 12:06:36 +03:00
Vlad Stan
f2773e0b44
Fix subscription errors (#81)
* pref: merge filters in one

* chore: load nit

* feat: restore individual order
2023-09-12 15:03:37 +03:00
Vlad Stan
09e2b3c94d fix: do not re-add order on invoice re-issue 2023-07-05 10:15:23 +03:00
Vlad Stan
31d04ff3a5 feat: show shipping cost for order 2023-07-05 09:58:34 +03:00
Vlad Stan
df5e894b8c feat: update shipping zone when re-issuing invoice 2023-07-04 17:15:20 +02:00
Vlad Stan
dacf318ee4 feat: allow invoice re-issue 2023-07-04 16:20:08 +02:00
Vlad Stan
93e9d4dd87 chore: code format 2023-07-04 16:20:08 +02:00
Vlad Stan
0a0e11e286 feat: show failed order error message 2023-07-04 16:20:08 +02:00
Vlad Stan
e47c6ec7f4 feat: show order details for customer 2023-07-04 08:40:49 +02:00
Vlad Stan
0ce4d1ebce fix: notification for orders 2023-07-04 08:40:49 +02:00
Vlad Stan
33adae672d
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
dcb98ba982 fix: use singular for for customer entity 2023-05-04 12:22:27 +03:00
Vlad Stan
a65017d04e fix: shipping cost; update UI on new order 2023-04-03 11:57:55 +03:00
Vlad Stan
683a69b194 feat: show total in fiat 2023-03-30 13:58:14 +03:00
Vlad Stan
4ef957019a feat: show new badge for order 2023-03-30 13:58:14 +03:00
Vlad Stan
ef49983e10 feat: dinamically refresh orders 2023-03-30 13:58:14 +03:00
Vlad Stan
178966f0bb feat: navigate from chat to orders 2023-03-30 13:58:14 +03:00
Vlad Stan
35c426dd32 chore: label fix 2023-03-30 13:58:14 +03:00
Vlad Stan
dca4f92d7d fix: show nice labels for filters 2023-03-30 13:58:14 +03:00
Vlad Stan
021326e773 feat: filter orders 2023-03-30 13:58:14 +03:00
Vlad Stan
49dc59c684 chore: code format 2023-03-17 18:21:10 +02:00
Vlad Stan
4c5dae77e0 feat: allow order refresh 2023-03-17 18:15:07 +02:00
Vlad Stan
9d63d2f5d8 feat: link order to DMs 2023-03-17 10:51:20 +02:00
Vlad Stan
fa6b07ff37 feat: optimize filtering for DMs 2023-03-14 14:31:30 +02:00
Vlad Stan
30511b1fce feat: add ship/unship functionality 2023-03-07 14:30:58 +02:00
Vlad Stan
f98e66038d feat: show more details about the order 2023-03-07 12:00:43 +02:00
Vlad Stan
51806590c1 feat: show order details 2023-03-07 11:02:49 +02:00
Vlad Stan
c0fef1bd1c feat: show paid and shipped statues 2023-03-07 10:40:00 +02:00
Vlad Stan
fc02609d47 feat: show orders per stall 2023-03-07 10:31:25 +02:00
Vlad Stan
0ca5bf6475 feat: add basic order-list 2023-03-07 09:12:14 +02:00