-
Notifications
You must be signed in to change notification settings - Fork 489
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
bug: Show indicator for indirect pins (within MFS breadcrumbs) #1736
Comments
I'd vote for the lower-opacity icon plus mouseover explanatory text. We experimented quite a bit with franken-icons in that column last year and none of them really worked ... |
It's a shame that something as useful as visually indicating if one of your files is pinned or not via an "old" folder recursive pin isn't yet implemented. It may be that I've not yet fully grasped IPFS, but the Web UI constantly gives me the impression that the GC will eat one of my files, because when I change a folder's contents, its CID will of course update too. Say 1 new file was added to this folder. The pinned CID of the folder before this change happened still recursively pins all files except this 1 new file (I think). A pin of the folder's new CID is necessary to make sure the new file stays local and isn't removed. As far as I can tell, only pinning files is the best method if reliable visual feedback is desired (when you know the contents of a folder's files won't change but you still plan to add new files). Is there not a way that, for example, when a folder's CID changes and the previous CID was recursive, automatically recursively pin the new CID? I'm not sure how much that would solve, but at least all new changes to the folder's contents would be automatically pinned. I'd just like to be confident that anything I Import won't be mistakenly removed by GC. |
@redactedscribe I apologize that we still haven't addressed this issue for you. For context: the ipfs-desktop project lost some team members to another higher priority project a few years ago and only recently has been receiving the dedicated devs it requires. Action items for dev (or community member!) who wants to make a PR for this:
@hacdias how does kubo handle item 3 currently? @juliaxbow what do you think about the proposed UX updates? |
Problem
Right now user can't tell when a file is pinned indirectly (when file is not pinned, but its parent dir is).
This is especially problematic when MFS autopinning is enabled.
In that scenario, everything is pinned indirectly via MFS root CID, but that is not reflected in the Files interface in any way.
How to detect indirect pins?
We need to limit checks to MFS. Even if file is pinned indirectly via some CID that is not in MFS, we won't be able to show that.
In the context of WebUI, we should check if any level from breadcrumbs is pinned (locally or remotely) and update "Pin Status" column.
How to indicate indirect pins?
I believe this should be only indicate in "Pin Status" column on Files screen, and should be distinct enough, so people know that file is pinned via one of its parents.
Would appreciate help / troughts / suggestions here. @jessicaschilling @rafaelramalho19
The text was updated successfully, but these errors were encountered: