Commit graph

176 commits

Author SHA1 Message Date
Vlad Stan
93e9d4dd87 chore: code format 2023-07-04 16:20:08 +02:00
Vlad Stan
0a0e11e286 feat: show failed order error message 2023-07-04 16:20:08 +02:00
Vlad Stan
f658e793c9 feat: show message timestamp 2023-07-04 16:20:08 +02:00
Vlad Stan
6111b9398a fix: store failed orders also 2023-07-04 16:20:08 +02:00
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
b57b164980 feat: show raw message data 2023-07-04 08:40:49 +02:00
Vlad Stan
1242b9c000 feat: improve DMs for structured messages 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
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
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
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
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
6515adbf69 replace radio option to select dropdown for zones on checkout 2023-04-03 11:28:38 +01:00
Tiago Vasconcelos
59d7349843 remove pubkey on add in drawer 2023-04-03 11:27:51 +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
Vlad Stan
9dac1d25b2 feat: keep customer profiles up to date 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