Commit graph

57 commits

Author SHA1 Message Date
Vlad Stan
1721ec8741 refactor: code clean-up 2023-07-18 16:40:43 +02:00
Vlad Stan
9fca4ec512 chore: code clean-up 2023-07-18 16:40:43 +02:00
Vlad Stan
56d828ad8b feat: focus on product details 2023-07-18 16:40:43 +02:00
Vlad Stan
beef488f9e feat: add product to cart from main page 2023-07-18 16:40:43 +02:00
Vlad Stan
7ea94dfd54 feat: basic stopping card list 2023-07-18 16:40:43 +02:00
Vlad Stan
be8aa4433c feat: more UI improvements 2023-07-18 16:40:43 +02:00
Vlad Stan
9ba0a82836 fix: navigation 2023-07-18 16:40:43 +02:00
Vlad Stan
2ce9eb7bec feat: put product details in card 2023-07-18 16:40:43 +02:00
Vlad Stan
69e33589ec fix: breadcrumbs 2023-07-18 16:40:43 +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
steepdawn974
381ef52a9a
Fix small typo in customer-stall 2023-04-13 21:25:55 +02:00
Tiago Vasconcelos
6515adbf69 replace radio option to select dropdown for zones on checkout 2023-04-03 11:28:38 +01:00
Vlad Stan
a65017d04e fix: shipping cost; update UI on new order 2023-04-03 11:57:55 +03:00
Vlad Stan
64316f97ee refactor: rename shipping to shipping_id 2023-03-30 13:59:40 +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
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
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
Tiago Vasconcelos
bc41925bf7 feat: one pool to rule them all (WIP) 2023-03-17 15:38:54 +00:00
Tiago Vasconcelos
abe856ac00 fix: notify misplacement 2023-03-17 15:00:33 +00:00
Tiago Vasconcelos
047cdd1cb0 fix: typo 2023-03-17 12:45:54 +00:00
Tiago Vasconcelos
c4195f90f4 fix: don't allow adding more units than stock to cart 2023-03-17 11:22:56 +00:00
Tiago Vasconcelos
c1a23c8a62 feat: make carts pesistent across stores 2023-03-17 11:11:23 +00:00
Tiago Vasconcelos
8da40e9f14 fix: q-notify behaviour 2023-03-17 10:25:46 +00:00
Tiago Vasconcelos
7f7b206351 fix blocking loading button on checkout 2023-03-17 10:13:35 +00:00
Tiago Vasconcelos
10d0d099ff fix: remove the confirmation popup 2023-03-16 14:22:12 +00: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
acaa7dd894 dialogs tweaks 2023-03-15 14:43:20 +00:00
Tiago Vasconcelos
fbf50cb587 change optional display 2023-03-15 11:57:31 +00:00
Tiago Vasconcelos
11326d3cbb fix dialog close error 2023-03-15 11:53:10 +00:00
Tiago Vasconcelos
51479b9a27 less windows spinners 2023-03-15 11:32:44 +00:00
Tiago Vasconcelos
cbe033219c make address field optional 2023-03-15 11:26:53 +00:00
Vlad Stan
108caa3014 fix: publish events via websocket 2023-03-14 16:00:01 +02:00
Tiago Vasconcelos
7846bc70c8 order not logged in - create keypair 2023-03-10 12:03:24 +00:00
Tiago Vasconcelos
0af208fb4e tweak not logged in customer 2023-03-09 17:05:29 +00:00
Tiago Vasconcelos
825dbc4250 Auto stash before rebase of "main" 2023-03-09 10:23:33 +00:00
Tiago Vasconcelos
88a40f48a7 brush up checkout dialog 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
9f1d11d451 payment dialog flow 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
9acc67b2ce clean up 2023-03-09 10:02:16 +00:00