Commit Graph

150 Commits

Author SHA1 Message Date
c6ec8b7d80 style: reduce padding in ProfileInfoCard component 2025-04-22 21:36:30 +02:00
mroxso
9e581a4dc3 Styling improvements Part 2 (#94)
* style: improve image layout in KIND20Card component

* style: refactor layout structure in ProfileFeed component

* style: refactor layout structure in ProfileTextFeed component

* Update components/ProfileFeed.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update components/ProfileTextFeed.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-22 21:12:41 +02:00
a185de6366 style: add margin to KIND20Card component 2025-04-22 20:34:27 +02:00
mroxso
e3ba9f1cc6 Feature: Update Profile Info Card (#93)
* feat: add Lightning Address copy functionality to ProfileInfoCard

* feat: add website link functionality to ProfileInfoCard

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-21 18:08:45 +02:00
mroxso
986e151948 Design: Small Design Updates for NoteCard (#91)
* fix: remove unnecessary padding from NotePage and KIND20Card components

* fix: remove unnecessary class from KIND20Card component

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-21 16:28:55 +02:00
f8ea327c66 chore: update version to 0.1.17 in package.json, package-lock.json, and README.md v0.1.17 2025-04-21 14:15:17 +02:00
mroxso
5ab2b99424 fix: refactor zap request signing logic and add placeholders for id and sig (#90)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-21 14:13:44 +02:00
67713bec87 chore: update version to 0.1.16 in package.json, package-lock.json, and README.md v0.1.16 2025-04-21 14:04:33 +02:00
da12e8ba38 fix: enhance LNURL fetch with timeout and error handling 2025-04-21 14:03:55 +02:00
mroxso
3ab9a666ff Feature: NIP-57 (Lightning Zaps) (#70)
* update ZapButton component to handle zap requests and receipts; add react-qr-code dependency for QR code generation.

* Enhance ZapButton component to track payment completion; add visual feedback for successful payments and improve event handling for zap receipts.

* Enhance ZapButton component to provide visual feedback for payment completion; update QR code display and messaging based on payment status.

* feat: add QR code link for direct payment and improve invoice display logic

* fix: encode signed zap request before appending to params

* fix: rm encodeURIComponent

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-21 14:02:00 +02:00
5cc9218971 fix: sanitize relay URLs by removing trailing slashes 2025-04-21 00:04:52 +02:00
mroxso
0857d4a7ab Styling Improvements (#41)
* refactor: update Skeleton component styles for better responsiveness

* refactor: comment out title elements and update TabsList styling for consistency

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-20 22:17:26 +02:00
5d146adf20 chore: update version to 0.1.15 in package.json, package-lock.json, and README.md v0.1.15 2025-04-20 22:03:11 +02:00
cd9dd6625d fix: remove alert messages from event verification
in CreateProfileForm
2025-04-20 22:02:11 +02:00
ae2859fb71 chore: update version badge to 0.1.14 in README.md 2025-04-20 22:00:16 +02:00
5c32ab9938 chore: update version to 0.1.14 in package.json and package-lock.json v0.1.14 2025-04-20 21:59:17 +02:00
c25ff960a6 fix: correct HTML entity in security notice description 2025-04-20 21:58:23 +02:00
mroxso
f076f64558 Feature: Enhance onboarding flow with profile creation and secret key generation improvements (#85)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-20 21:54:09 +02:00
037bb3db44 Feature: Implement CreateProfileForm component and update onboarding page 2025-04-20 21:33:13 +02:00
mroxso
d942b106a8 Feature: Updated Profile Settings Page (#82)
* refactor: enhance ProfileSettingsPage and UpdateProfileForm with improved layout and state management

* refactor: remove unused icons from UpdateProfileForm component

* refactor: improve loading state handling in UpdateProfileForm with skeleton UI

* refactor: remove redundant displayName property from profile update payload

* refactor: adjust container class for improved layout in ProfileSettingsPage

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-20 21:16:10 +02:00
mroxso
71e6b4f29d docs: update README.md (#81)
* docs: update README.md to enhance project description and improve setup instructions

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-20 18:55:03 +02:00
mroxso
73c85f2977 Feature: Change to /upload Blossom Endpoint + Strip Metadata in Client (#78)
* feat: add image metadata stripping functionality in UploadComponent

* Update components/UploadComponent.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: improve memory management by revoking object URLs in stripImageMetadata function

* fix: update file input to accept specific image formats (jpeg, png, webp)

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-20 17:37:32 +02:00
ab80abc209 fix: update .gitignore to include workbox files and their maps 2025-04-20 16:59:00 +02:00
bb830f13b3 chore: bump version to 0.1.13 in package.json and package-lock.json v0.1.13 2025-04-20 16:49:26 +02:00
814cebb221 fix: add sw files to .gitignore 2025-04-20 16:47:51 +02:00
09cb7fb5c9 Remove obsolete workbox core file (workbox-07a7b4f2.js) from public directory 2025-04-20 16:47:04 +02:00
mroxso
ebaf7ce308 Feature: Add QRCode scanner for nsecbunker login (#79)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-20 16:44:27 +02:00
8c54786240 chore: bump version to 0.1.12 in package.json and package-lock.json v0.1.12 2025-04-18 23:13:15 +02:00
e79f0f5e24 fix: escape HTML entities in NIP-65 relays description 2025-04-18 23:12:01 +02:00
f1e3ed756e chore: bump version to 0.1.11 in package.json and package-lock.json v0.1.11 2025-04-18 23:09:49 +02:00
mroxso
ac7de1e1f4 Feature: Add NIP-65 (Load User Relays) (#74)
* feat: add NIP-65 utility functions for relay management

- Implemented fetchNip65Relays to retrieve relay permissions for a user.
- Added parseNip65Event to extract relay information from NIP-65 events.
- Created mergeAndStoreRelays to combine NIP-65 relays with existing custom relays and store them in localStorage.

* feat: enhance LoginForm with loading states and improved UI feedback for login actions

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-18 23:07:48 +02:00
mroxso
8842400f2a feat: implement custom relay management and add relay addition functionality (#73)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-18 21:21:17 +02:00
mroxso
b9f1ba9568 feat: add Relays page and integrate relay status display (#72)
feat: add Relays link to AvatarDropdown menu
feat: create Badge component for status indicators
fix: update @radix-ui/react-slot version in package.json and package-lock.json

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-18 20:55:00 +02:00
dependabot[bot]
495f7a7eeb Bump the npm_and_yarn group across 1 directory with 3 updates (#71)
Bumps the npm_and_yarn group with 3 updates in the / directory: [next](https://github.com/vercel/next.js), [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) and [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime).


Updates `next` from 14.2.20 to 14.2.28
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.20...v14.2.28)

Updates `@babel/helpers` from 7.23.9 to 7.27.0
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-helpers)

Updates `@babel/runtime` from 7.23.9 to 7.27.0
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 14.2.28
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: "@babel/helpers"
  dependency-version: 7.27.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: "@babel/runtime"
  dependency-version: 7.27.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-18 20:23:54 +02:00
3cf1a57a0b bump version to 0.1.10 in package.json and package-lock.json v0.1.10 2025-04-18 20:12:39 +02:00
c912d03719 add nostr-react prompt 2025-04-18 20:11:15 +02:00
mroxso
0df571067f add NIP-46 support (#61)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-18 18:35:43 +02:00
bd8c670a3a refactor: simplify profile update logic and improve event signing 2025-04-18 16:47:14 +02:00
fa301be988 bump version to 0.1.9 in package.json and package-lock.json v0.1.9 2025-04-01 22:07:44 +02:00
ad5bd34277 add additional x tag to kind 20 2025-04-01 17:19:51 +02:00
mroxso
86ff9fa856 add switch and optional nip-89 client tagging (#57)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-03-31 22:56:08 +02:00
378fa5b246 fix sha256 in final event 2025-03-31 22:32:31 +02:00
mr0x50
29e1520487 fix auth event description breaking with emojis 2025-03-22 22:25:05 +01:00
mr0x50
d0db048768 update blossom list and use media endpoint instead of upload 2025-03-22 22:11:04 +01:00
mr0x50
2c0dca6f0a revert not working stuff 2025-03-22 20:07:44 +01:00
highperfocused
7d8ba267c1 comment out removal of exif data 2025-03-22 13:55:08 +01:00
highperfocused
26cd5f4772 use custom base64encode function to handle UTF8 bytes properly 2025-03-22 13:40:31 +01:00
highperfocused
11aa3f2a14 use btoa instead of buffer to generate base64 auth string for Upload 2025-03-22 13:34:47 +01:00
highperfocused
36d6ebea20 change upload to use /media instead of /upload to blossom servers 2025-03-22 13:25:02 +01:00
highperfocused
f0605021b8 maybe fix hash calculation 2025-03-22 13:17:36 +01:00