feat: broadcast or rebroadcast note to specific relays #536

Merged
DanConwayDev merged 1 commits from DanConwayDev/main into main 2023-05-04 13:18:31 +00:00
DanConwayDev commented 2023-04-20 14:29:16 +00:00 (Migrated from github.com)

The rationale for this feature is that users should have greater control over which relays they publish to on a case by case basis. They should also be able to change their mind (hence the rebroadcast feature).

Implementation: This adds two related features to different sections of the UI:

1. broadcast note to specific relays

Added a new section to the advanced options in NoteCreator which is used for both new notes and replies. This lists the users write relays and enables users to uncheck relays they do not wish to broadcast the note to.
When one or more relays are unchecked the submission is diverted from publisher.broadcast to publisher.broadcastAll with the desired relays specified.

image

2. rebroadcast user's own note to specific relays

Replaces 'block' from the 'more' menu on a given note with 'Broadcast Again' if the note was authored by the logged in user. The logic here is that the user won't want to block themselves. We also don't think they should be broadcasting other people's notes to new relays. When the new option is selected a modal opens where the user can uncheck the relays they do not want to (re)broadcast to.

image

The rationale for this feature is that users should have greater control over which relays they publish to on a case by case basis. They should also be able to change their mind (hence the rebroadcast feature). Implementation: This adds two related features to different sections of the UI: ### 1. broadcast note to specific relays Added a new section to the advanced options in NoteCreator which is used for both new notes and replies. This lists the users write relays and enables users to uncheck relays they do not wish to broadcast the note to. When one or more relays are unchecked the submission is diverted from ```publisher.broadcast``` to ```publisher.broadcastAll``` with the desired relays specified. ![image](https://user-images.githubusercontent.com/114834599/233389367-beee13de-5add-4b9a-96fa-de05085a3cc7.png) ### 2. rebroadcast user's own note to specific relays Replaces 'block' from the 'more' menu on a given note with 'Broadcast Again' if the note was authored by the logged in user. The logic here is that the user won't want to block themselves. We also don't think they should be broadcasting other people's notes to new relays. When the new option is selected a modal opens where the user can uncheck the relays they do not want to (re)broadcast to. ![image](https://user-images.githubusercontent.com/114834599/233396770-cd1937b2-85a3-4472-9b3c-22c1ed7691f6.png)
v0l (Migrated from github.com) reviewed 2023-04-24 10:38:18 +00:00
DanConwayDev (Migrated from github.com) reviewed 2023-04-25 19:40:37 +00:00
DanConwayDev (Migrated from github.com) reviewed 2023-04-25 19:42:05 +00:00
First-time contributor

Signed up to your Gitea instance to watch this PR.

Signed up to your Gitea instance to watch this PR.

Signed up to your Gitea instance to watch this PR.

👍 I need to fix the broadcast code, otherwise this looks good to me

> Signed up to your Gitea instance to watch this PR. 👍 I need to fix the broadcast code, otherwise this looks good to me
Kieran added 51 commits 2023-05-04 13:17:11 +00:00
9b2fb3b6bf
don't render nostr:npub as a link
People often type the literal text `nostr:npub` when talking about nostr URIs. That shouldn't be converted to a link.
a86e7e4757
New Crowdin updates (#523)
* New translations en.json (Tamil)

* New translations en.json (Tamil)

* New translations en.json (Danish)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Croatian)

* New translations en.json (French)

* New translations en.json (Russian)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Indonesian)

* New translations en.json (Tamil)

* New translations en.json (Danish)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Croatian)

* New translations en.json (French)

* New translations en.json (Russian)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Indonesian)

* New translations en.json (Tamil)

* New translations en.json (Tamil)

* New translations en.json (Arabic)

* New translations en.json (Danish)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Croatian)

* New translations en.json (French)

* New translations en.json (Russian)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Indonesian)

* New translations en.json (Tamil)

* New translations en.json (Swedish)

* New translations en.json (Swedish)

* New translations en.json (Hungarian)

* New translations en.json (Danish)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Croatian)

* New translations en.json (French)

* New translations en.json (Russian)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Indonesian)

* New translations en.json (Tamil)

* New translations en.json (Punjabi)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Swedish)

* New translations en.json (Swedish)

* New translations en.json (Hungarian)
28dec3aa0e
New Crowdin updates (#535)
* New translations en.json (Croatian)

* New translations en.json (Danish)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Croatian)

* New translations en.json (French)

* New translations en.json (Russian)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Indonesian)

* New translations en.json (Tamil)

* New translations en.json (Punjabi)

* New translations en.json (Swedish)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Japanese)
6219626ba0
New Crowdin updates (#540)
* New translations en.json (French)

* New translations en.json (Danish)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Croatian)

* New translations en.json (Russian)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Indonesian)

* New translations en.json (Tamil)

* New translations en.json (Punjabi)

* New translations en.json (Swedish)

* New translations en.json (Russian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Russian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Russian)

* New translations en.json (Japanese)

* New translations en.json (Japanese)

* New translations en.json (Tamil)

* New translations en.json (Spanish)

* New translations en.json (Italian)

* New translations en.json (Croatian)

* New translations en.json (German)

* New translations en.json (German)

* New translations en.json (Japanese)

* New translations en.json (Hungarian)

* New translations en.json (Spanish)
Kieran merged commit e42325f3b5 into main 2023-05-04 13:18:31 +00:00
Kieran deleted branch DanConwayDev/main 2023-05-04 13:18:31 +00:00
Sign in to join this conversation.
No description provided.