Commit graph

34 commits

Author SHA1 Message Date
Vlad Stan
d810b7c5d5 refactor: code clean-up 2023-07-18 16:40:43 +02:00
Vlad Stan
e37d385a2c feat: focus on product details 2023-07-18 16:40:43 +02:00
Vlad Stan
4908d3986b feat: more UI improvements 2023-07-18 16:40:43 +02:00
Vlad Stan
8d5aa813d3 fix: navigation 2023-07-18 16:40:43 +02:00
Vlad Stan
5558b95d1e feat: put product details in card 2023-07-18 16:40:43 +02:00
Vlad Stan
ff9891302a fix: breadcrumbs 2023-07-18 16:40:43 +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
steepdawn974
f6ebff613c Fix small typo in customer-stall 2023-04-13 21:25:55 +02:00
Tiago Vasconcelos
c0a48bf444 replace radio option to select dropdown for zones on checkout 2023-04-03 11:28:38 +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
Tiago Vasconcelos
83f25f7972 shopping cart add and remove products quantity 2023-03-23 16:34:26 +00:00
Tiago Vasconcelos
25b41039ac remove from checkout list the "generate keys" 2023-03-22 12:38:56 +00:00
Tiago Vasconcelos
1edd2be480 remove key generation on checkout, redirect to login 2023-03-22 12:35:57 +00:00
Tiago Vasconcelos
4a69f023b3 feat: show not enough stock message 2023-03-20 10:45:55 +00:00
Tiago Vasconcelos
47adf676e2 feat: one pool to rule them all (WIP) 2023-03-17 15:38:54 +00:00
Tiago Vasconcelos
14cea467a8 fix: q-notify behaviour 2023-03-17 10:25:46 +00:00
Tiago Vasconcelos
f920e7d836 change optional display 2023-03-15 11:57:31 +00:00
Tiago Vasconcelos
93011f0ee4 less windows spinners 2023-03-15 11:32:44 +00:00
Tiago Vasconcelos
90b044fb22 make address field optional 2023-03-15 11:26:53 +00:00
Tiago Vasconcelos
e9f37f4a6b order not logged in - create keypair 2023-03-10 12:03:24 +00:00
Tiago Vasconcelos
a08824b526 tweak not logged in customer 2023-03-09 17:05:29 +00:00
Tiago Vasconcelos
d7dae2be8b Auto stash before rebase of "main" 2023-03-09 10:23:33 +00:00
Tiago Vasconcelos
cf12ee9287 brush up checkout dialog 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
5c4bcdf131 payment dialog flow 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
4817e6a3ea clean up 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
fbb45ed9f7 remove exchange rates 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
e0345be18e send/receive messages 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
52f8dead0e general fixes, prop passing and shopping cart (doesn't send dm) 2023-03-09 10:01:28 +00:00
Tiago Vasconcelos
64ed5795b8 routing done 2023-03-09 10:01:28 +00:00
Tiago Vasconcelos
9c29653ea0 mergeable-ish client UI 2023-03-09 10:01:28 +00:00
Tiago Vasconcelos
800619df9f add customer stall component, remove toolbar 2023-03-09 10:01:28 +00:00