feat: add explicit protected event toggle in post editor
Add a Switch control next to the relay selector for users to explicitly enable/disable NIP-70 protected events. Auto-enables when relay conditions suggest it (no optimal relays), but respects user override. Includes a help popover explaining protected events with a note that not all relays support them. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bd6340bbc7
commit
6cca3969ce
20 changed files with 96 additions and 34 deletions
|
|
@ -691,6 +691,7 @@ export default {
|
|||
'Automatically replay videos when they end': 'Automatycznie powtarzaj filmy po zakończeniu',
|
||||
'Relays used for searching notes (NIP-50)': 'Przekaźniki używane do wyszukiwania notatek (NIP-50)',
|
||||
'Protected event (NIP-70)': 'Chronione zdarzenie (NIP-70)',
|
||||
'Protected': 'Chronione'
|
||||
'Protected': 'Chronione',
|
||||
'Protected event hint': 'Chronione zdarzenia (NIP-70) mogą być publikowane tylko przez autora. Przekaźniki odrzucą te zdarzenia od osób trzecich, uniemożliwiając innym retransmisję Twoich treści. Uwaga: nie wszystkie przekaźniki obsługują chronione zdarzenia.'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue