Skip to content

Comments

Add SimpleX Chat links, Monero address highlight, and fix dual-install conflict#13

Open
SlowBearDigger wants to merge 3 commits intoretrnull:mainfrom
SlowBearDigger:feature/simplex-and-monero-highlight
Open

Add SimpleX Chat links, Monero address highlight, and fix dual-install conflict#13
SlowBearDigger wants to merge 3 commits intoretrnull:mainfrom
SlowBearDigger:feature/simplex-and-monero-highlight

Conversation

@SlowBearDigger
Copy link

@SlowBearDigger SlowBearDigger commented Jan 4, 2026

This PR implements two community-requested features from the Garnet Maintenance bounty.

Features Implemented

Issue #8: SimpleX Chat Links

  • Added simplex field to user metadata following NIP-24 kind 0 format
  • Smart URI handling for both simplex:/ and https://simplex.chat/ formats
  • Profile display with clickable link that opens in SimpleX app
  • User input field in profile settings

Issue #9: Monero Address Highlight

  • Tip button highlights with MoneroOrange when Monero address is detected in profile
  • Uses existing cryptocurrency_addresses field from user metadata
  • Seamless integration with existing tipping UI

Note on Dual-Install

The dual-install conflict (Issue #2) was already resolved by @greenart7c3 in PR #10 by changing the applicationId. This PR focuses on the two remaining tagged bounty issues.

Technical Changes

Backend:

  • Updated UserMetadata, MetadataEvent, and Account models
  • Proper JSON serialization/deserialization for new fields
  • Field sanitization in cleanBlankNames()

Frontend:

  • Added DisplaySimpleXAddress composable in ProfileScreen
  • Updated ReactionsRow with conditional MoneroOrange tint
  • Profile editor input for SimpleX address

Testing

  • Unit tests: All passing (GarnetFeaturesTest.kt)
  • Manual verification: UI components follow project design patterns
  • Field serialization verified

References

Monero address: 42w9YaCW8UwZ2BmQztNmUd6JgYVcjW7LXEMTcQqHdmtFCsSo5RGY2eQg2iZ3WyBSSs63gnhczLkJ46yfr4ojCXWT3H1ZBbR

SlowBearDigger added 3 commits January 4, 2026 15:08
Implements two community-requested features:

1. SimpleX Chat Integration (Issue retrnull#8)
   - Added 'simplex' field to user metadata (NIP-24 kind 0)
   - Smart URI handling for simplex:/ and https://simplex.chat/ formats
   - Profile display with clickable link
   - User input in profile settings

2. Monero Address Highlight (Issue retrnull#9)
   - Tip button highlights with MoneroOrange when Monero address detected
   - Uses existing cryptocurrency_addresses field
   - Seamless integration with existing tipping UI

Technical changes:
- Backend: Updated UserMetadata, MetadataEvent, Account models
- Frontend: Added DisplaySimpleXAddress composable, updated ReactionsRow
- Tests: Added GarnetFeaturesTest.kt with serialization tests

Closes retrnull#8
Closes retrnull#9

Part of Garnet Maintenance bounty: https://bounties.monero.social/posts/147

Monero wallet: 42w9YaCW8UwZ2BmQztNmUd6JgYVcjW7LXEMTcQqHdmtFCsSo5RGY2eQg2iZ3WyBSSs63gnhczLkJ46yfr4ojCXWT3H1ZBbR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] check if a Nostr profile has a Monero address [FEATURE] SimpleX Chat links in profile

1 participant