Commit graph

30 commits

Author SHA1 Message Date
Vlad Stan
da284ba768 feat: prepare for merchant active/restoring state 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
4996a6b7fd feat: add more images for product 2023-04-03 18:36:14 +03:00
Vlad Stan
a65017d04e fix: shipping cost; update UI on new order 2023-04-03 11:57:55 +03:00
Vlad Stan
87c0477b33 feat: keep track of new messages 2023-03-30 13:58:14 +03:00
Vlad Stan
9dac1d25b2 feat: keep customer profiles up to date 2023-03-30 13:58:14 +03:00
Vlad Stan
d58c97f080 feat: user merchant_id instead of user_id 2023-03-14 14:31:30 +02:00
Vlad Stan
fa6b07ff37 feat: optimize filtering for DMs 2023-03-14 14:31:30 +02:00
Vlad Stan
b61e8933eb refactor: do not go over http to create order 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
5e6e9b8d26 feat: save incoming DMs 2023-03-14 14:31:30 +02:00
Tiago Vasconcelos
9f10da5902 fix migrations error 2023-03-10 10:14:24 +00:00
Vlad Stan
f98e66038d feat: show more details about the order 2023-03-07 12:00:43 +02:00
Vlad Stan
fc02609d47 feat: show orders per stall 2023-03-07 10:31:25 +02:00
Vlad Stan
b7071d6796 feat: add address for order 2023-03-06 18:07:52 +02:00
Vlad Stan
2912589b70 feat: create order on DM 2023-03-06 15:03:02 +02:00
Vlad Stan
9c410d686a fix: product.image column name 2023-03-03 12:00:49 +02:00
Vlad Stan
b6ae448bea feat: publish events for products 2023-03-03 11:08:55 +02:00
Vlad Stan
dbf0cee6cb fat: add create product logic 2023-03-02 17:42:28 +02:00
Vlad Stan
3542b1a08b fix: column name 2023-03-01 14:23:51 +02:00
Vlad Stan
83d4d5727b feat: refine table columns 2023-03-01 14:09:39 +02:00
Vlad Stan
8ea5fbc113 feat: basic stall flow 2023-03-01 11:35:04 +02:00
Vlad Stan
fef4f349f2 feat: manage shipping zones 2023-02-28 16:30:09 +02:00
Vlad Stan
dc6ae1d9b3 feat: basic shipping zones UI 2023-02-28 13:08:58 +02:00
Vlad Stan
8d957002eb refactor: rename product column 2023-02-28 12:28:40 +02:00
Vlad Stan
b0ffbe0b4c feat: init merchant 2023-02-28 11:46:40 +02:00
Vlad Stan
e3884b13ce refactor: clean migration statements 2023-02-28 10:24:27 +02:00
Tiago Vasconcelos
5b23b0054b More skeleton 2023-02-27 18:32:13 +00:00
Tiago Vasconcelos
a5d6919465
Add files via upload 2023-02-27 17:45:08 +00:00