-
Notifications
You must be signed in to change notification settings - Fork 17
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
Make file-adding experience consistent across our tools #35
Comments
The fundamentals... regardless of app, file-drop and open a native file picker dialog should be supported. The user should be able to add any file type or directory from the same action. Once the file is selected we need to show a progress bar to indicate that it we're working on it. The progress bar should be deterministic, showing what percentage of the file has been processed. The progress bar could be skipped if it will take less than 1s to add. Once completed, the filename and CID should be shown (see #9), along with a buttons to share the file (See: #34). |
And those files should be added to MFS, right? |
It should also be one button for adding new files or folders. |
@akrych unfortunately that's something I just can't do due to Operating System restrictions.
|
I believe we have three ways of adding content to
|
@hacdias AAa ok :D Did't know that. Ok so we will do one button and after click choose if we wanted to pick a file or a folder. @lidel After consideration I like the simplicity of solution with add NURI as pinning - I just afraid about non-technical user - how we say them what "NURI" is. Still thinking about it |
Of note:
https://gateway.ipfs.io/ipns/ipfs-docs-research.robbrackett.com/html/Interviews/2018-02-02-Lars.html |
@olizilla So you suggest to call it "Add path" ? In my opinion still not so clear for non-technical user. |
@akrych keep those out loud thoughts coming. I agree that More generally, there are going to be a few concepts that will just have to be explained to every new user, so we should plan for an integrated help system from the start, along with a glossary of terms. @Mr0grog's research calls for a |
Ok;D So another issue. We will have this button call "Add by IPFS Path" (or sth like that - to agreed) and when I do this, the file will be downloaded from IPFS nodes. (According to my conversation with @lidel) The first:
BTW. if only we have the technical possibility to distinguish one from the other…(?) |
I think we can fetch IPLD info about the data before fetching the whole file. I think we can make all this smarter by just fetching the metadata first, so that we can then offer the user more info like how big the file might be, and a chance to change their mind, along with a finite progress bar, that knows how many bytes to expect, and if it is a directory or a file or raw data. |
we have to deal with the fact that we might not be able to find the Path that the user gives us if there are no copies currently being offered up. |
What is someone trying to do when they add files to an IPFS gui? Right now, I'm probably about to share a public gateway link to those files with someone. Adding things to an IPFS gui today leaves with a duplicate of the file, in a repo that I can't easily see in my filesystem explorer, so it's like I'm adding a share-able copy of a file to a magic box. A bit like adding a file to your It's possible, that I'd add them to an IPFS GUI because I want to back them up, but there is no obvious way (to me) to tell a IPFS node to auto-pin anything that is announced from a specific Peer ID. This is not a why add files to ipfs in general question. This is, in the context of a desktop / casual user, what is most likely to be my goal. What goals are possible and should we be optimising the flow for? |
Right now I see two paths that lead to "adding to IPFS":
I am not sure if we want to overthink it. More specific use cases will emerge with time after we provide users with basic UI for (i) adding (ii) managing (iii) sharing files. |
Agreed. I wanted to flag the idea that a user adding files to an IPFS app probably doesn't the same goal as a user adding a file to folder in the OS native file browser. Also agree on not over thinking it. The 2 use-cases you identify are good ones to optimise for right now. |
All three apps provide drag'n'drop and and a file picker dialog to add a file, but there are problems with each one. What is the ideal UI/UX for adding files to your IPFS repo.
This is closely related to the next step Share Files via IPFS discussed in #34
The current state of things is described here: https://github.com/ipfs-shipyard/pm-ipfs-gui/blob/master/research/README.md#add-files
The text was updated successfully, but these errors were encountered: