-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Storage] Add warning when pinning a cid twice #2027
Conversation
Your Render PR Server URL is https://chainsafe-components-stage-pr-2027.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c8pmi9j97ejbdv1ivf8g. |
Your Render PR Server URL is https://storage-ui-stage-pr-2027.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c8pmiaj97ejbdv1ivfd0. |
Your Render PR Server URL is https://files-ui-stage-pr-2027.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c8pmibj97ejbdv1ivfqg. |
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.
Good solution for the scenario, warning over prevention makes sense :)
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.
So i tried this approach ->
I copied a CID without the last character,
typed in the last character
but I did not get the warning.
While we are at it, On a UI note, I would prefer the CID modal to be wider than what we have.
Co-authored-by: Tanmoy Basak Anjan <tanmoy3399@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.
Just a few cosmetic changes, but working great otherwise 👍🏼
Thanks Tanmoy and Mike. My logic was a little meh for the check. I re-implemented that in a nicer way. The problem you mentioned @tanmoyAtb is now fixed, great catch. |
BTW I agree with the modal style that's a little weird. I'll change that when adding a name together with #2022 |
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.
Looking 💯
closes #1212