Skip to content

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

Open
@lidel

Description

@lidel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low: Not priority right nowarea/pinningIntegrating pinning into GUI appsarea/screen/filesIssues related to Files screenkind/bugA bug in existing code (including security flaws)need/analysisNeeds further analysis before proceedingneed/maintainer-inputNeeds input from the current maintainer(s)topic/design-uxUX strategy, research, not solely visual design

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions