Commit graph

167 commits

Author SHA1 Message Date
Vlad Stan
21a77d643f feat: activate/deactivate merchant 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
Tiago Vasconcelos
d2ff0b8f64 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
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
steepdawn974
f6ebff613c Fix small typo in customer-stall 2023-04-13 21:25:55 +02:00
Vlad Stan
b8fe674dd7 fix: remove closed websocket 2023-04-11 19:16:05 +03:00
Vlad Stan
e05b54468a feat: add reconnect to nostrclient 2023-04-11 19:03:41 +03:00
Tiago Vasconcelos
e869270ddd making sure images exist 2023-04-03 22:15:38 +01:00
Tiago Vasconcelos
2ecfc4f33b Merge branch 'main' into fix_multiple_images 2023-04-03 21:32:34 +01:00
Tiago Vasconcelos
31eee1e003 fix product card 2023-04-03 21:28:29 +01:00
Vlad Stan
6dcd416e93 Merge pull request #39 from lnbits/fix_images
feat: add more images for product
2023-04-03 18:37:01 +03:00
Vlad Stan
d032c8b259 feat: add more images for product 2023-04-03 18:36:14 +03:00
Vlad Stan
00e8da895c Merge pull request #37 from lnbits/fix_ui_nitpicks
Fix: UI nitpicks
2023-04-03 18:18:34 +03:00
Vlad Stan
62737e7a79 fix: filter and notifications 2023-04-03 15:11:46 +03:00
Tiago Vasconcelos
c0a48bf444 replace radio option to select dropdown for zones on checkout 2023-04-03 11:28:38 +01:00
Tiago Vasconcelos
301017633a remove pubkey on add in drawer 2023-04-03 11:27:51 +01:00
Vlad Stan
d106879a09 Merge pull request #33 from lnbits/listen_for_orders
Listen for orders
2023-04-03 11:59:31 +03:00
Vlad Stan
547c477ce6 fix: shipping cost; update UI on new order 2023-04-03 11:57:55 +03:00
Vlad Stan
05a0519dfe Merge pull request #36 from lnbits/filter_chat_messages
Filter JSON from chat
2023-04-03 10:24:24 +03:00
Tiago Vasconcelos
1cccfee95d some bling bling to the chat 2023-03-31 16:00:33 +01:00
Tiago Vasconcelos
bb0e6c069f fix: order not showing behaviour after loading 2023-03-31 14:40:25 +01:00
Tiago Vasconcelos
6c8f405cb8 remove json from chat messages 2023-03-30 16:58:34 +01:00
Vlad Stan
f80a75e90c refactor: rename shipping to shipping_id 2023-03-30 13:59:40 +03:00
Vlad Stan
39bcbfb035 feat: show total in fiat 2023-03-30 13:58:14 +03:00
Vlad Stan
5942d135b3 feat: show unread count 2023-03-30 13:58:14 +03:00
Vlad Stan
3a77bee659 feat: show new badge for order 2023-03-30 13:58:14 +03:00
Vlad Stan
8d1998c33b feat: dinamically refresh orders 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
2d522f8c47 chore: label fix 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
5ed77e68c4 fix: show nice labels for filters 2023-03-30 13:58:14 +03:00
Vlad Stan
5b03c324f1 feat: filter orders 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
89f46fff35 feat: keep customer profiles up to date 2023-03-30 13:58:14 +03:00
Tiago Vasconcelos
af0fa4e4e9 add shipping id on order json 2023-03-30 11:03:13 +01:00
Vlad Stan
48554b965a 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
d4efa84d2e feat: allow for manual quantity input 2023-03-27 18:12:04 +01:00
Tiago Vasconcelos
a88f0ee1d2 fix: motorina0's camel-case nitpick 2023-03-27 15:39:07 +01:00
Vlad Stan
b0890b8ebb Merge pull request #26 from lnbits/shopping_cart_actions
Shopping cart actions
2023-03-24 15:11:49 +02:00
Vlad Stan
13150f6360 feat: republish to nostr 2023-03-24 14:52:34 +02:00
Tiago Vasconcelos
ed0238bc9b fix: order list error 2023-03-23 16:47:19 +00:00
Tiago Vasconcelos
70d6c23d47 add remove product 2023-03-23 16:38:09 +00:00
Tiago Vasconcelos
83f25f7972 shopping cart add and remove products quantity 2023-03-23 16:34:26 +00:00
Vlad Stan
ccb32dba99 feat: part: republish to nostr 2023-03-23 14:33:05 +02:00
Vlad Stan
05ecc65e5a feat: allow delete merchant from nostr 2023-03-23 11:14:34 +02:00
Vlad Stan
260bea9ccf fix: clear merchant screen on delete 2023-03-23 09:47:40 +02:00
Tiago Vasconcelos
25b41039ac remove from checkout list the "generate keys" 2023-03-22 12:38:56 +00:00