feat: add customizable search relays setting

Replace hardcoded SEARCHABLE_RELAY_URLS with user-configurable search
relays stored in localStorage. Add SearchRelaysSetting UI in System
settings page with add/remove/reset functionality.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
codytseng 2026-03-12 23:19:47 +08:00
parent 7be7b30d52
commit aae8fc2f17
27 changed files with 202 additions and 50 deletions

View file

@ -167,7 +167,7 @@ export default {
'Send only to r': 'Nur an {{r}} senden',
'Send only to these relays': 'Nur an diese Relays senden',
Explore: 'Entdecken',
'Search relays': 'Relays suchen',
'Search relays': 'Such-Relays',
relayInfoBadgeAuth: 'Auth',
relayInfoBadgeSearch: 'Suche',
relayInfoBadgePayment: 'Zahlung',
@ -694,6 +694,7 @@ export default {
'Hide indirect': 'Indirekte ausblenden',
'Copy note content': 'Notizinhalt kopieren',
'Video loop': 'Video-Schleife',
'Automatically replay videos when they end': 'Videos automatisch wiederholen, wenn sie enden'
'Automatically replay videos when they end': 'Videos automatisch wiederholen, wenn sie enden',
'Relays used for searching notes (NIP-50)': 'Relays für die Notizsuche (NIP-50)'
}
}