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

@ -166,7 +166,7 @@ export default {
'Send only to r': 'Invia solo a {{r}}',
'Send only to these relays': 'Invia solo a questi relay',
Explore: 'Esplora',
'Search relays': 'Ricerca relay',
'Search relays': 'Relay di ricerca',
relayInfoBadgeAuth: 'Autorizzazione',
relayInfoBadgeSearch: 'Ricerca',
relayInfoBadgePayment: 'Pagamento',
@ -687,6 +687,7 @@ export default {
'Hide indirect': 'Nascondi indirette',
'Copy note content': 'Copia contenuto della nota',
'Video loop': 'Ripetizione video',
'Automatically replay videos when they end': 'Riprodurre automaticamente i video quando terminano'
'Automatically replay videos when they end': 'Riprodurre automaticamente i video quando terminano',
'Relays used for searching notes (NIP-50)': 'Relay utilizzati per cercare le note (NIP-50)'
}
}