Commit graph

304 commits

Author SHA1 Message Date
87a4864c49 Merge branch 'improve-ui' into dev-pm 2025-11-04 00:48:47 +01:00
0b7639adf5 Improve merchant creation with automatic keypair generation
Enhance the merchant creation process by automatically generating Nostr keypairs
for users who don't have them, and streamline the API interface.

Changes:
- Add CreateMerchantRequest model to simplify merchant creation API
- Auto-generate Nostr keypairs for users without existing keys
- Update merchant creation endpoint to use user account keypairs
- Improve error handling and validation in merchant creation flow
- Clean up frontend JavaScript for merchant creation

This ensures all merchants have proper Nostr keypairs for marketplace
functionality without requiring manual key management from users.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 00:47:46 +01:00
PatMulligan
33c62ba1ea CHORE: Improve UI (#112)
* Refactor merchant details layout for improved responsiveness and styling in index.html

* Revamp key pair component layout with improved styling and functionality. Added a header with a toggle for showing the private key, enhanced QR code display for both public and private keys, and included copy buttons for better user interaction.

Update key pair component styling and functionality: adjust QR code dimensions, improve key display format with truncation, and refine button margins for enhanced user experience.

Add 'show-buttons' prop to QR code components in key pair template for improved functionality

Update key pair component layout to use 'col-sm-6' for responsive design of QR code sections, enhancing display on smaller screens.

* Enhance direct messages component layout with improved styling and responsiveness. Updated class names for better alignment, added ellipsis for long customer labels, and modified button styles for consistency. Improved select options display with custom templates for better user experience.

* Refactor customer label generation in direct messages component for improved readability. Added checks for undefined customer data, enhanced label formatting with truncation for long descriptions, and adjusted unread message display format.

* make format
2025-09-15 09:48:13 +03:00
Vlad Stan
0fc26d096f V1 (#106) 2024-11-06 11:50:21 +02:00
rleed
83c94e94db Changes to deactivate/reactivate products (#89) 2024-11-04 10:59:04 +02:00
PatMulligan
cf82ed478d pass showKeys as prop to merchant-details child and use emit to toggle (#105)
previously, index and its child compoment merchant-details had their own
booleans and their values were not synched. Using a prop avoids this
problem
2024-10-25 15:19:13 +03:00
benarc
01f5f28739 Added advanced description 2024-05-15 11:23:49 +01:00
Vlad Stan
55624cc2b5 fix: colours (#92) 2023-11-08 15:33:31 +02:00
Vlad Stan
751271eb65 fix: long product name in order details 2023-11-06 12:41:53 +02:00
Vlad Stan
954deb8c45 chore: update market binaries 2023-09-21 17:37:17 +03:00
Vlad Stan
5c83bf8972 Custom shipping cost (#86)
* feat: simple UI for shipping zone per product

* feat: add empty cost

* fix: backwards compatible zones

* feat: finish UI for product shipping cost

* fix: some ui issues

* feat: add per product shipping cost

* feat: show receipt for product

* fix: publish per product shipping cost
2023-09-21 17:29:13 +03:00
Vlad Stan
2dc5c5479f feat: refresh merchant from nostr (#85) 2023-09-20 12:06:36 +03:00
Vlad Stan
656723ed5e chore: market UI update 2023-09-20 09:17:40 +03:00
Vlad Stan
c0226fe85b chore: update mrket app 2023-09-15 18:30:48 +03:00
Vlad Stan
734a09795d chore: update market binaries 2023-09-15 17:51:54 +03:00
Vlad Stan
7e71e7d169 chore: update market binaries 2023-09-15 15:25:02 +03:00
Vlad Stan
1a3fc62106 feat: add auto-reply on payment (#82) 2023-09-15 10:21:03 +03:00
Vlad Stan
889152a80b Fix subscription errors (#81)
* pref: merge filters in one

* chore: load nit

* feat: restore individual order
2023-09-12 15:03:37 +03:00
Vlad Stan
a3299b63c4 Extract market place (#78)
* chore: remove marketplace components

* feat: add static marketplace

* feat: add entry point for static marketplace

* doc: add comment

* chore: include nostr-bundle.js
2023-07-31 11:35:50 +03:00
Vlad Stan
8ebe2fe458 chore: code clean-up 2023-07-24 11:11:31 +02:00
Vlad Stan
e1fd62400d refactor: stuff 2023-07-24 11:11:31 +02:00
Vlad Stan
f41a502d3b fix: update product list when product deleted 2023-07-24 11:11:31 +02:00
Vlad Stan
ee3b161b47 feat: add readNotes and clearAllData option 2023-07-24 11:11:31 +02:00
Vlad Stan
bb2d68d7dc fix: why even optimize 2023-07-24 11:11:31 +02:00
Vlad Stan
091d3cf5d9 chore: code clean-up 2023-07-18 16:40:43 +02:00
Vlad Stan
97cc7a3e17 feat: user logout and data clear 2023-07-18 16:40:43 +02:00
Vlad Stan
da00113666 feat: ui loading update 2023-07-18 16:40:43 +02:00
Vlad Stan
28683087aa chore: code clean-up 2023-07-18 16:40:43 +02:00
Vlad Stan
4a07f1423a fix: persist UI config 2023-07-18 16:40:43 +02:00
Vlad Stan
ca7a973041 feat: load naddr 2023-07-18 16:40:43 +02:00
Vlad Stan
c15086d0cf feat: ask for login 2023-07-18 16:40:43 +02:00
Vlad Stan
04d087c65d fet: ui bla 2023-07-18 16:40:43 +02:00
Vlad Stan
8aed357397 feat: ui bla bla 2023-07-18 16:40:43 +02:00
Vlad Stan
820ae9a831 fix: config update 2023-07-18 16:40:43 +02:00
Vlad Stan
d810b7c5d5 refactor: code clean-up 2023-07-18 16:40:43 +02:00
Vlad Stan
a65f3cdd96 feat: UI improvements 2023-07-18 16:40:43 +02:00
Vlad Stan
12349aa344 fix: navigation link 2023-07-18 16:40:43 +02:00
Vlad Stan
2518715110 fix: active page 2023-07-18 16:40:43 +02:00
Vlad Stan
ea6ba611b5 fix: query param names 2023-07-18 16:40:43 +02:00
Vlad Stan
edb9fffdc3 refactor: param parsnig 2023-07-18 16:40:43 +02:00
Vlad Stan
b9ca9e325a refactor: naddrs stuff 2023-07-18 16:40:43 +02:00
Vlad Stan
c366d571ef fix: dark mode 2023-07-18 16:40:43 +02:00
Vlad Stan
d8721a0785 refactor: extract applyUiConfigs 2023-07-18 16:40:43 +02:00
Vlad Stan
6c3f2b529b refactor: extract restoreFromStorage 2023-07-18 16:40:43 +02:00
Vlad Stan
e6d65c0ade chore: code clean-up 2023-07-18 16:40:43 +02:00
Vlad Stan
d22c15d7a7 feat: refresh market-config 2023-07-18 16:40:43 +02:00
Vlad Stan
3ffb055e94 fix: logo image 2023-07-18 16:40:43 +02:00
Vlad Stan
582c71a98c fix: banner & logo update 2023-07-18 16:40:43 +02:00
Vlad Stan
7cfb12011c chore: code clean-up 2023-07-18 16:40:43 +02:00
Vlad Stan
5895081dac fix: default images 2023-07-18 16:40:43 +02:00