ipfs-webui
ipfs-webui copied to clipboard
need a better message for show why error
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- upload a file whit exists same name
Expected behavior A clear and concise description of what you expected to happen.
Screenshots


Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Indeed, uploading file for the second time fails without clear explanation why:
We could
- detect that imported file already exists (check the destination path)
- abort operation
- display yellow warning message on the bottom instead of populating file import drawer with error one
duplicate of https://github.com/ipfs/ipfs-webui/issues/1612
