-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New relays section #477
Comments
@bu5hm4nn I'm checking the current unstable and updated the checklist. Notes about the updates: Notes about not updated: Added points: |
For B1 I'm waiting #474 because I cannot test a new profile anymore. |
The listing view optimization has been moved here: #466 |
So on A1, I am already doing what @mikedilger suggested which is to parse through the The only really good way of validating I see is to try to connect to the relay and check for a successful connection. The reasoning is that if someone uses relays by IP or in a private DNS then validating them against public DNS would not do any good. Also validating against public DNS would not validate the connection port while actually connecting would validate it. And I would always give the user the option of adding it anyways but maybe with a different looking button/link. We could also try to read the NIP-11 and display it to the user before they finally add the relay. |
@bu5hm4nn test a successful connection, and maybe use it to fetch NIP-11, is a good option but is more strict, because does not cover the case of an existent relay that is currently offline (but the user should be able to add it anyway). The DNS idea was just a way to catch misspellings, and as said, I think it can be deprioritized if it is too complicated or not so effective (ex. it hits false positives). |
M1 is fixed by #476 |
Did you give gossip a reason to connect to it, like someone you follow that uses it? Why would adding a relay make it go green? |
I do think it would be good to connect to user-added relays immediately.
|
@mikedilger sorry I missed the notification. ![]() ![]() ![]() In the "Known network" now I find all my relays: But I cannot see my notes. If I restart I see my notes and relay.damus.io is green.
I agree. |
ok so it is still a bug, and not so easy to find. |
@mikedilger Item "L3" from the list would require tracking the relay's add date in the db. Should we plan to support that at some point? |
Is this finished? If not, let's mark it for milestone 0.10 |
I revised the checklist: A1, A2, A3 are still open. |
Checklist updated, only A1, A2 and A3 are still open. |
Cloned from #402, now on
unstable
.Items marked with 📍 are in my opinion the priorities.
Add a relay
The error message "That's not a valid relay URL" should be showed inside the modal and not in the sidebar.Not needed because now the check is realtime and disable the "Check" buttonAfter adding & enabling a relay (read/write) it does not connect, no activity in the log, I have to restart gossip.Moved: Adding relays not working until restart #499Edit a relay
Light theme: when editing a relay the others' items background should be darker (ex. 50% opacity), like in the dark theme, to focus the edit area. Related to L5.All relays lists
Add a sort by add date (newer => older) and set it as a defaultMoved: Add a sort by add date (newer => older) to relays filter #525visuals.panel_fill
Active relays view
I'm not able to check further due to R1.
My relays view
Know network view
Bootstrap a fresh profile
Hide the "Relays" sub-menu block; when the user click the "Relays" item show "My Relays" view and immediatly open the "Add new relay" modal.With the new Onboarding Wizard #421 we should always have some relay, so this point is not necessary anymore.CosmeticsWe will move them to a new specific issue.
Revert light theme accent color to the original one.Review "Add relay" button colors/hover/spacing/font-size.Review "Close" button font-size.Make the tooltips less wide to improve readability.The text was updated successfully, but these errors were encountered: