Commit graph

141 commits

Author SHA1 Message Date
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
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
steepdawn974
381ef52a9a
Fix small typo in customer-stall 2023-04-13 21:25:55 +02:00
Tiago Vasconcelos
a8aa4e5a74 making sure images exist 2023-04-03 22:15:38 +01:00
Tiago Vasconcelos
534fdd22ba Merge branch 'main' into fix_multiple_images 2023-04-03 21:32:34 +01:00
Tiago Vasconcelos
6531e36cee fix product card 2023-04-03 21:28:29 +01: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
Tiago Vasconcelos
6515adbf69 replace radio option to select dropdown for zones on checkout 2023-04-03 11:28:38 +01:00
Vlad Stan
3cd64a4085
Merge pull request #33 from lnbits/listen_for_orders
Listen for orders
2023-04-03 11:59:31 +03:00
Vlad Stan
a65017d04e fix: shipping cost; update UI on new order 2023-04-03 11:57:55 +03:00
Vlad Stan
9334952292
Merge pull request #36 from lnbits/filter_chat_messages
Filter JSON from chat
2023-04-03 10:24:24 +03:00
Tiago Vasconcelos
9ed3a4c5bf some bling bling to the chat 2023-03-31 16:00:33 +01:00
Tiago Vasconcelos
df89a4cdfd fix: order not showing behaviour after loading 2023-03-31 14:40:25 +01:00
Tiago Vasconcelos
e2c2b64f5e remove json from chat messages 2023-03-30 16:58:34 +01:00
Vlad Stan
64316f97ee refactor: rename shipping to shipping_id 2023-03-30 13:59:40 +03:00
Vlad Stan
683a69b194 feat: show total in fiat 2023-03-30 13:58:14 +03:00
Vlad Stan
ce5a578429 feat: show unread count 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
9e7f808fdc feat: navigate from customer to chat 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
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
Tiago Vasconcelos
a8ac60790a add shipping id on order json 2023-03-30 11:03:13 +01:00
Vlad Stan
e926521bbc
Merge pull request #31 from lnbits/add_readme_instructions
Add merchant setup guide in readme
2023-03-28 09:49:13 +03:00
Tiago Vasconcelos
b9c924e549 feat: allow for manual quantity input 2023-03-27 18:12:04 +01:00
Tiago Vasconcelos
c64716b0d5 fix: motorina0's camel-case nitpick 2023-03-27 15:39:07 +01:00
Vlad Stan
5ef29ef5a6
Merge pull request #26 from lnbits/shopping_cart_actions
Shopping cart actions
2023-03-24 15:11:49 +02:00
Vlad Stan
330a734932 feat: republish to nostr 2023-03-24 14:52:34 +02:00
Tiago Vasconcelos
bdbfbc0b77 fix: order list error 2023-03-23 16:47:19 +00:00
Tiago Vasconcelos
220ef060ed add remove product 2023-03-23 16:38:09 +00:00
Tiago Vasconcelos
20a27076d6 shopping cart add and remove products quantity 2023-03-23 16:34:26 +00:00
Vlad Stan
b483fc2bac feat: part: republish to nostr 2023-03-23 14:33:05 +02:00
Vlad Stan
dd4d677ce1 feat: allow delete merchant from nostr 2023-03-23 11:14:34 +02:00
Tiago Vasconcelos
3aff1e3274 remove from checkout list the "generate keys" 2023-03-22 12:38:56 +00:00
Tiago Vasconcelos
89be5c26af remove key generation on checkout, redirect to login 2023-03-22 12:35:57 +00:00
Tiago Vasconcelos
b6a9253431 fix: check for login on checkout 2023-03-20 11:00:15 +00:00
Tiago Vasconcelos
013081ebb7 feat: show not enough stock message 2023-03-20 10:45:55 +00:00
Tiago Vasconcelos
4dcd5cad9c fix: only one ws connection open 2023-03-20 10:01:21 +00: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
1e14aa9974 chore: code clean-up 2023-03-17 18:01:34 +02:00
Tiago Vasconcelos
bc41925bf7 feat: one pool to rule them all (WIP) 2023-03-17 15:38:54 +00:00