Description
Extracted from #1713
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.
- We could display a faded cloud icon (30% etc) next to files that are pinned indirectly
- .. or design a new icon for such files
- ?
Would appreciate help / troughts / suggestions here. @jessicaschilling @rafaelramalho19