ipfs / ipfs/ipfs-webui

bug: Show indicator for indirect pins (within MFS breadcrumbs)

Open
#1,736 3 comments 0 reactions 0 assignees View on GitHub
area/pinning area/screen/files kind/bug need/analysis need/maintainer-input P3 topic/design-ux
Dominant language
JavaScript
Stars
1.6k
Forks
534
PR merge metrics
No merged PRs in 30d

Description

> Extracted from https://github.com/ipfs/ipfs-webui/pull/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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.