Commit graph

25 commits

Author SHA1 Message Date
Vlad Stan
889152a80b 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
b6b86f5a02 feat: show message timestamp 2023-07-04 16:20:08 +02:00
Vlad Stan
acc6ed45c5 fix: store failed orders also 2023-07-04 16:20:08 +02:00
Vlad Stan
1a82fc030a feat: show order details for customer 2023-07-04 08:40:49 +02:00
Vlad Stan
eccac69f7f feat: show raw message data 2023-07-04 08:40:49 +02:00
Vlad Stan
13b19b672e feat: improve DMs for structured messages 2023-07-04 08:40:49 +02:00
Vlad Stan
2b84ebc83b fix: notification for orders 2023-07-04 08:40:49 +02: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
fab419d974 fix: use singular for for customer entity 2023-05-04 12:22:27 +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
5942d135b3 feat: show unread count 2023-03-30 13:58:14 +03:00
Vlad Stan
4974192b21 feat: navigate from chat to orders 2023-03-30 13:58:14 +03:00
Vlad Stan
08e71e28e3 feat: navigate from customer to chat 2023-03-30 13:58:14 +03:00
Vlad Stan
e04b9dc448 feat: keep track of new messages 2023-03-30 13:58:14 +03:00
Vlad Stan
7c6feca831 fix: Vue error 2023-03-30 13:58:14 +03:00
Vlad Stan
a719517b9c feat: show customer names 2023-03-30 13:58:14 +03:00
Vlad Stan
d7d7869b0e feat: link order to DMs 2023-03-17 10:51:20 +02:00
Vlad Stan
b45927a15d feat: show DMs for customers 2023-03-16 18:34:56 +02:00
Vlad Stan
856ad53b7e fix: use merchant id instead of user id 2023-03-15 11:25:52 +02:00
Vlad Stan
82a04cc8b9 chore: code format 2023-03-14 14:31:30 +02:00
Vlad Stan
9bf416072f fix: direct message focus 2023-03-14 14:31:30 +02:00
Vlad Stan
ef6f2ebe33 feat: store event_created_at for some events 2023-03-14 14:31:30 +02:00
Vlad Stan
240da5277f feat: basic chat 2023-03-14 14:31:30 +02:00
Vlad Stan
b7c099c935 feat: add empty DMs box 2023-03-14 14:31:30 +02:00