Commit graph

21 commits

Author SHA1 Message Date
Vlad Stan
b57b164980 feat: show raw message data 2023-07-04 08:40:49 +02:00
Vlad Stan
1242b9c000 feat: improve DMs for structured messages 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
19f67e474a feat: allow to add test public key 2023-05-04 12:15:45 +03:00
Vlad Stan
a65017d04e fix: shipping cost; update UI on new order 2023-04-03 11:57:55 +03:00
Vlad Stan
ce5a578429 feat: show unread count 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
9e7f808fdc feat: navigate from customer to chat 2023-03-30 13:58:14 +03:00
Vlad Stan
87c0477b33 feat: keep track of new messages 2023-03-30 13:58:14 +03:00
Vlad Stan
4d2022297d fix: Vue error 2023-03-30 13:58:14 +03:00
Vlad Stan
afb21b100f feat: show customer names 2023-03-30 13:58:14 +03:00
Vlad Stan
9d63d2f5d8 feat: link order to DMs 2023-03-17 10:51:20 +02:00
Vlad Stan
3d41954c32 feat: show DMs for customers 2023-03-16 18:34:56 +02:00
Vlad Stan
e183deb5e0 fix: use merchant id instead of user id 2023-03-15 11:25:52 +02:00
Vlad Stan
e8da077aab chore: code format 2023-03-14 14:31:30 +02:00
Vlad Stan
63b6895018 fix: direct message focus 2023-03-14 14:31:30 +02:00
Vlad Stan
70effcc515 feat: store event_created_at for some events 2023-03-14 14:31:30 +02:00
Vlad Stan
c355e3111c feat: basic chat 2023-03-14 14:31:30 +02:00
Vlad Stan
8228487fc4 feat: add empty DMs box 2023-03-14 14:31:30 +02:00