-
Notifications
You must be signed in to change notification settings - Fork 390
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
[multinode] Show appropriate error in case if user trying add node with wrong data #4199
Comments
Hey. I'll like to work on this issue. Is it still open? |
Hi @Pranav2612000, yes this is still open. Let me explain this issue better; When a user is adding a node and there is an error or the details are incorrect, the errors are not displayed to the user but you can find them in the console. Multinode UI code can be found here https://github.com/storj/storj/tree/main/web/multinode |
Thank you. I am working on setting up the repository and trying to reproduce the issue. Will let you know if I am stuck somewhere and need help. |
You can check #4202 (comment) on how to setup the multinode dashboard instead of running the whole Also, some test nodes you can add to your multinode dashboard here: #4202 (comment) |
Thanks. I'll go through it. |
Hey, I am facing an error with the installation. I am unable to install the go packages.
Also, GOPATH is set and the corresponding value is added to the PATH variable
When I run
It just creates a Thank you for the help |
@Pranav2612000 Go 1.15 is not supported anymore (always latest two minor versions, now being 1.16 and 1.17). |
Oh. Okay. Let me try to update go to the latest version and try again. |
Thank you @stefanbenten . Updating the go version fixed the issue.
Due to this, the multinode executable wasn't created. I fixed this by installing the packages -
|
Thank you everyone. Was able to have the setup ready. Starting with the task. I just had one question. The error responses received when the API key, the node ID or the IP Address are incorrect, are cryptic enough and cannot be shown directly to the UI. So for this task, we'll just check the response status, and if its 400 we'll show a browser alert ( or do we have a better alert component ?) showing the text "Wrong node ID. Please double check". And if the response status is 404 we'll show the alert with the text "Wrong IP address or API key. Please double check". Right? I think is already answered in the first comment, but just wanted to get it clarified once. Pardon me. |
Hey! Any help with this? |
@Pranav2612000 sorry for getting back to you late on this.
You're right but instead of using the browser alert, a toast notification component would be a better option. |
Sure. Got it. Thanks. |
Hi @Pranav2612000, would you still have time to work on this? |
Yeah. Sorry. I'll work on it. Do we already have a toast notification component or will I need to create a new one? |
@Pranav2612000 we don't have a toast notification component for the multinode dashboard. You can create one. It would help resolve other notification issues. |
What's your opinion on using a library for the notifications( E.g vue-toasted, vue-notification )? Or do you want it to be built from scratch? |
Hi @Pranav2612000, using a library should be fine as long as it is actively maintained. Thanks! |
@profclems What do you think of this notification style? |
@Pranav2612000 this looks good! Kindly open a PR whenever you're ready |
I've opened one. |
@Pranav2612000 Hi, I am new to open source contribution. Can you help me set up the multi node dashboard ? |
Hey. I haven't worked a lot with the project. But I was able to get it set
up. I'll be happy to help if needed.
…On Wed, 2 Mar, 2022, 3:13 pm RishmithaRaheem, ***@***.***> wrote:
@Pranav2612000 <https://github.com/Pranav2612000> Hi, I am new to open
source contribution. Can you help me set up the multi node dashboard ?
—
Reply to this email directly, view it on GitHub
<#4199 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE7QYFT2YR4E375UFUDWN7DU54Z2ZANCNFSM5EOB47EQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Is this issue still open ? |
This issue has been mentioned on Storj Community Forum (official). There might be relevant details there: https://forum.storj.io/t/multinode-addition-doesnt-work/26983/1 |
On adding action with wrong ID we have 404 (show "Wrong node ID. Please double check")
On adding with wrong key or IP -> 400 (show "Wrong IP address or API key. Please double check")
Let's show user errors for that action, because now we do not show anything and it might be confusing for user
see attachment
The text was updated successfully, but these errors were encountered: