Commit graph

59 commits

Author SHA1 Message Date
Vlad Stan
e47c6ec7f4 feat: show order details for customer 2023-07-04 08:40:49 +02:00
Vlad Stan
4bcc994057 chore: code clean-up 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
a3c221aca8 feat: activate/deactivate merchant 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
Tiago Vasconcelos
e227aef7eb
Add a banner header (props to JoshuaM) (#41)
* add banner header

* init naddr

* add type to place order content obj

* add content to config

* naddr working, still WIP

* add banner and UI customization

* add banner header

* init naddr

* add type to place order content obj

* add content to config

* naddr working, still WIP

* add banner and UI customization

* add market name to stall page breadcrumbs

* Add usage description to readme
2023-05-29 22:23:49 +03:00
Vlad Stan
37d26645da fix: remove closed websocket 2023-04-11 19:16:05 +03:00
Vlad Stan
af780a3080 feat: add reconnect to nostrclient 2023-04-11 19:03:41 +03:00
Vlad Stan
a9abba2785
Merge pull request #39 from lnbits/fix_images
feat: add more images for product
2023-04-03 18:37:01 +03:00
Vlad Stan
4996a6b7fd feat: add more images for product 2023-04-03 18:36:14 +03:00
Vlad Stan
c8bd8af884
Merge pull request #37 from lnbits/fix_ui_nitpicks
Fix: UI nitpicks
2023-04-03 18:18:34 +03:00
Vlad Stan
755f8ac9ae fix: filter and notifications 2023-04-03 15:11:46 +03:00
Tiago Vasconcelos
59d7349843 remove pubkey on add in drawer 2023-04-03 11:27:51 +01: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
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
9dac1d25b2 feat: keep customer profiles up to date 2023-03-30 13:58:14 +03:00
Vlad Stan
dd4d677ce1 feat: allow delete merchant from nostr 2023-03-23 11:14:34 +02:00
Vlad Stan
27589856bd fix: clear merchant screen on delete 2023-03-23 09:47:40 +02:00
Tiago Vasconcelos
89be5c26af remove key generation on checkout, redirect to login 2023-03-22 12:35:57 +00:00
Tiago Vasconcelos
7965268eab have a subscription on... 2023-03-17 15:00:02 +00:00
Tiago Vasconcelos
2605f43cdd feat: allow multiple images 2023-03-17 10:12:43 +00:00
Vlad Stan
9d63d2f5d8 feat: link order to DMs 2023-03-17 10:51:20 +02:00
Vlad Stan
aeebae863e fix: do not allow two merchants with the same public key 2023-03-16 09:56:30 +02:00
Tiago Vasconcelos
2e05f7a059 relays add error fix 2023-03-15 12:10:27 +00:00
Tiago Vasconcelos
31676379dc account for faulty stalls 2023-03-15 11:48:49 +00:00
Tiago Vasconcelos
01ed3393db respect stored relay list 2023-03-15 11:24:35 +00:00
Tiago Vasconcelos
092591555a fix search error 2023-03-15 11:19:49 +00:00
Vlad Stan
a16bce543b feat: add merchant-details 2023-03-14 14:31:30 +02:00
Vlad Stan
8228487fc4 feat: add empty DMs box 2023-03-14 14:31:30 +02:00
Tiago Vasconcelos
470b97791e remove naddr and share button 2023-03-13 16:39:00 +00:00
Tiago Vasconcelos
9c525a1c08 allow for nip19 for account 2023-03-13 15:48:32 +00:00
Tiago Vasconcelos
5602731f96 add avatar to account 2023-03-13 15:13:48 +00:00
Tiago Vasconcelos
b5248faca0 clean up 2023-03-13 15:12:46 +00:00
Tiago Vasconcelos
645c19fe2a clean up 2023-03-13 15:12:46 +00:00
Tiago Vasconcelos
f9a43e8edf initial drafting of nostr global search fro products 2023-03-13 15:12:46 +00:00
Tiago Vasconcelos
bed734e9b4 fixing vlad's review comments 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
fe0fcfdc9f tweaks 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
46db248552 fix add merchant pubkey 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
68d36ae3a0 remove exchange rates 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
60f3edc25a login/account functionality 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
7cdbc5b752 hash string 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
7a62631e57 ordering working 2023-03-09 10:01:28 +00:00
Tiago Vasconcelos
c041fdac5f general fixes, prop passing and shopping cart (doesn't send dm) 2023-03-09 10:01:28 +00:00
Tiago Vasconcelos
85832b28c8 routing done 2023-03-09 10:01:28 +00:00
Tiago Vasconcelos
cb70b77750 detach js from html 2023-03-09 10:01:28 +00:00
Vlad Stan
0ca5bf6475 feat: add basic order-list 2023-03-07 09:12:14 +02:00
Vlad Stan
dbf0cee6cb fat: add create product logic 2023-03-02 17:42:28 +02:00
Vlad Stan
e72e315b7a feat: import private key 2023-03-02 16:00:40 +02:00