-
Notifications
You must be signed in to change notification settings - Fork 483
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
feat: add connection #969
feat: add connection #969
Conversation
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
I think it's ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could not connect to the swarm
Insert the swarm address you want to connect to.
I believe it makes sense to replace "swarm" with "peer" in all labels/messages related to "Add Connection".
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
The multiaddr validation in the modal input isn't totally safe, as you can pass an incorrect CID and it will still be accepted, although it will fail to connect. E.g.: |
@fsdiogo yeah we can improve that later with ipfs-shipyard/is-ipfs#26 perhaps. |
@olizilla can we merge? |
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I'd like a native speaker to review proposed labels.
I'd like to keep this as a feature for the 2.5 release, while we are still ironing the kinks out of the analytics stuff for 2.4, that's why i've not reviewed it yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super neat ✨! Thank you @hacdias
Closes #891.
As a first iteration this is what I've done:
It works, but we don't provide feedback if it worked or not. What do you think?
/cc @lidel @olizilla @fsdiogo