-
Notifications
You must be signed in to change notification settings - Fork 864
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
Fixes Bunch #596
Fixes Bunch #596
Conversation
eb9d1a3
to
2834421
Compare
9d7647a
to
84c1561
Compare
Most of the changes here were under the hood. It now uses MFS for the Files Pane, which does make a lot more sense. Could you take a look @diasdavid? |
Ping @olizilla too 😄 |
@hacdias are you storing the files to the mfs root folder or to a folder you create just for this app? |
@diasdavid root folder. That way, the user can manage its files and won't be limited by Desktop's scope. Take a look at #590 |
There is a new issue preventing adding files via the files pane. @hacdias is investigating. |
File adding now works! ✨ Buuuut I then got a little over excited and tired to add a large folder of pictures (around ~2GB). The UI got stuck immediatetly and after about 20s it stalled on: It may well have been adding all the files in the background, but after a few minutes of waiting I gave up, only to have my entire system become unresponsive. Killing all the ipfs processes i could find didn't help, and I eventutually had to hard reboot! Apart from the UI stall, I don't think this is an issue with this PR, but I thought I should flag it as, I'm not going to be the only person who thinks ipfs might be a good way to share all the cat gifs. What can we do to handle large file drops? Can we pull things off the ui thread so that it can warn the user about what's about to happen if they continue and show progress without freezing if they do? Much more minor but also suprising was having a default electron start screen appear when restarting. I assume this is just an artefact of running it in dev mode, but is there a way to make it not happen? |
Deleting files seems a little ruthless right now. Did you have any thoughts on how we could make deleteing be un-doable? The button is right next to the copy hash button, so it should either request confirmation of a destructive action, or be easy to undo if they user clicks delete accidentally. |
@olizilla :o
Hmm... I have uploaded movies (~2GB) without any problem here.
What if we just for confirmation telling that it is permanent?
I have never seen that before. |
Yes, I'd like to have a better icon for that 😆 It was already suggested to use a pin but then it could be confused with the Pin tab. I'll do the other updates later today since I won't be home during most of the evening. |
I think it's worth adding that. I find most confirmation boxes annoying ("what!? just do what i asked you to do computer!") but in the case where people could lose files by accident, it's worth it. I'll do some more tests of the file upload issue. |
Adding a single large file works well. Adding a directory tree with more 1 level seems to cause the super long add time... |
I smoke-tested under Linux (Debian 9.3) and got this odd error but no logs: Note that last release (v0.3.0) works fine on the same machine. |
|
Cleared
Note that repeated test with yarn instead of npm ( |
@lidel sorry! I've submited a fix for that (ipfs-inactive/js-ipfs-http-client#680) but it's on js-ipfs-api! To "fix" that temporarily, add a file to the root of your MFS and I promise it will work 😄 @diasdavid could you take a look at that bugfix, please? |
Cool, glad my smoke-testing is useful :) I created a file in MFS and it now starts, but .. oh boy, looks like CSS is missing? If I scroll, i can find not-styled buttons: Note that there are no errors in console nor in |
@lidel ugh that's weird... and ugly! Really... really... strange. Never happened. Try reloading with CTRL-R. You can open the dev tools with CTRL-SHIFT-I too |
@hacdias updates did not fix it, but I was able to find error related to app.less -- it references files which are not present(?), eg:
I see that app.less includes other files that are not in git. |
6bde49d
to
28608cd
Compare
@lidel, I'm sorry. Could you try now? (It was beginning with a lower case letter instead of an upper case). |
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 news: version from 28608cd solved style issues I had 👌
Reallllly nice @lidel 😄 @diasdavid @olizilla can we merge this? |
e772541
to
d0a3c8b
Compare
Codecov Report
@@ Coverage Diff @@
## master #596 +/- ##
========================================
Coverage ? 4.29%
========================================
Files ? 56
Lines ? 839
Branches ? 0
========================================
Hits ? 36
Misses ? 803
Partials ? 0
Continue to review full report at Codecov.
|
I'm merging this and if some other issue arises, we can fix it in another PR 😄 Let's move faster 😃 |
Great update, but it doesn't seem to fix #600 , at least not for me. It still doesn't show hashes I've pinned through the command line. 😞 |
Related:
Initial Issue: Restructuring WebUI ipfs-webui#616IPFS WebUI PR: Reusable Components + New UI ipfs-webui#618ipfs-react-components
- common React Components that are used on WebUI and Desktop.Goals