Commit graph

83 commits

Author SHA1 Message Date
Vlad Stan
3d3125c9e4 fix: order update 2023-07-18 16:40:43 +02:00
Vlad Stan
d57d63a606 fix: invoice dialog 2023-07-18 16:40:43 +02:00
Vlad Stan
9c19dc8ee1 chore: orders uffff 2023-07-18 16:40:43 +02:00
Vlad Stan
1f467c20ed feat: filter with since 2023-07-18 16:40:43 +02:00
Vlad Stan
6a093c8890 feat: basic order handling 2023-07-18 16:40:43 +02:00
Vlad Stan
303afcfab4 feat: add shipping cost to cart 2023-07-18 16:40:43 +02:00
Vlad Stan
761a3137a6 feat: stuff 2023-07-18 16:40:43 +02:00
Vlad Stan
b41e499591 fix: first product add 2023-07-18 16:40:43 +02:00
Vlad Stan
14bb0ff6e6 fix: login 2023-07-18 16:40:43 +02:00
Vlad Stan
602d6858cd fix: limit order quantity to in-stock 2023-07-18 16:40:43 +02:00
Vlad Stan
e1b2a4a479 feat: show total cart item count 2023-07-18 16:40:43 +02:00
Vlad Stan
483fcedfd9 feat: remove from card 2023-07-18 16:40:43 +02:00
Vlad Stan
52c987b88e feat: more fields to shopping card 2023-07-18 16:40:43 +02:00
Vlad Stan
21aa44a44f feat: basic stopping card list 2023-07-18 16:40:43 +02:00
Vlad Stan
b8cdf27a44 fix: partly navigation 2023-07-18 16:40:43 +02:00
Vlad Stan
676ab5cc1b feat: add shopping-cart list 2023-07-18 16:40:43 +02:00
Vlad Stan
58d7fc647c fix: remove products when merchant is removed 2023-07-18 16:40:43 +02:00
Vlad Stan
99a98f0df9 feat: validate merchant pubkeys 2023-07-18 16:40:43 +02:00
Vlad Stan
8061894057 feat: basic merchant fixes 2023-07-18 16:40:43 +02:00
Vlad Stan
8d5aa813d3 fix: navigation 2023-07-18 16:40:43 +02:00
Vlad Stan
ff9891302a fix: breadcrumbs 2023-07-18 16:40:43 +02:00
Vlad Stan
6c02e58f84 feat: basic market-config component 2023-07-18 16:40:43 +02:00
Vlad Stan
dc63d057fd chore: improving 2023-07-18 16:40:43 +02:00
Vlad Stan
d1cdc3cd5c feat: show shipping cost for order 2023-07-05 09:58:34 +03:00
Vlad Stan
1a82fc030a feat: show order details for customer 2023-07-04 08:40:49 +02:00
Vlad Stan
e6f2750272 chore: code clean-up 2023-07-04 08:40:49 +02:00
Vlad Stan
2b84ebc83b fix: notification for orders 2023-07-04 08:40:49 +02:00
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
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
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
301017633a remove pubkey on add in drawer 2023-04-03 11:27:51 +01:00
Vlad Stan
547c477ce6 fix: shipping cost; update UI on new order 2023-04-03 11:57:55 +03:00
Vlad Stan
39bcbfb035 feat: show total in fiat 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
89f46fff35 feat: keep customer profiles up to date 2023-03-30 13:58:14 +03: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
1edd2be480 remove key generation on checkout, redirect to login 2023-03-22 12:35:57 +00:00
Tiago Vasconcelos
b4da149007 have a subscription on... 2023-03-17 15:00:02 +00:00
Tiago Vasconcelos
0f5c3e32d0 feat: allow multiple images 2023-03-17 10:12:43 +00:00
Vlad Stan
d7d7869b0e feat: link order to DMs 2023-03-17 10:51:20 +02:00
Vlad Stan
3794eac915 fix: do not allow two merchants with the same public key 2023-03-16 09:56:30 +02:00
Tiago Vasconcelos
cfc430eab1 relays add error fix 2023-03-15 12:10:27 +00:00