Commit graph

64 commits

Author SHA1 Message Date
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
Tiago Vasconcelos
809429c9d2 account for faulty stalls 2023-03-15 11:48:49 +00:00
Tiago Vasconcelos
a0d8aa9e62 respect stored relay list 2023-03-15 11:24:35 +00:00
Tiago Vasconcelos
d24ed52879 fix search error 2023-03-15 11:19:49 +00:00
Vlad Stan
152fe5baab feat: add merchant-details 2023-03-14 14:31:30 +02:00
Vlad Stan
b7c099c935 feat: add empty DMs box 2023-03-14 14:31:30 +02:00
Tiago Vasconcelos
98e673f3f3 remove naddr and share button 2023-03-13 16:39:00 +00:00
Tiago Vasconcelos
0fe9712b45 allow for nip19 for account 2023-03-13 15:48:32 +00:00
Tiago Vasconcelos
9853f2b455 add avatar to account 2023-03-13 15:13:48 +00:00
Tiago Vasconcelos
17ecb81f12 clean up 2023-03-13 15:12:46 +00:00
Tiago Vasconcelos
7882c9bbcc clean up 2023-03-13 15:12:46 +00:00
Tiago Vasconcelos
469aabc10a initial drafting of nostr global search fro products 2023-03-13 15:12:46 +00:00
Tiago Vasconcelos
f9fc52ac52 fixing vlad's review comments 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
02746ec170 tweaks 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
7413a9f620 fix add merchant pubkey 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
fbb45ed9f7 remove exchange rates 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
cc6c59253f login/account functionality 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
9e7f7e584d hash string 2023-03-09 10:02:16 +00:00
Tiago Vasconcelos
da404a6816 ordering working 2023-03-09 10:01:28 +00:00
Tiago Vasconcelos
52f8dead0e general fixes, prop passing and shopping cart (doesn't send dm) 2023-03-09 10:01:28 +00:00