ipfs/ipfs-desktop

IPNS CID should have association with cid in files tab

オープン

#2,663 opened on 2023/10/11

 (10 件のコメント) (1 件のリアクション) (0 人の担当者)JavaScript (912 件のフォーク)batch import
P2effort/hoursexp/intermediategood first issuehelp wantedkind/bugkind/enhancementstatus/ready

Repository metrics

Stars
 (5,632 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Describe the bug When viewing files in the files tab, I am always able to "Publish to IPNS" even if I have already published this file. It seems to me, the UI should know and reflect that. Also we should display/have the ability to copy the IPNS CID from this view

To Reproduce Steps to reproduce the behavior:

  1. Import file
  2. Click on '....'
  3. Click "Publish to IPNS", choose key etc...
  4. Navigate away from view
  5. Repeat steps 2 and 3 and see that you get the same view.

Expected behavior

  • Publish to IPNS modal should show if the CID is published under a certain key (check mark or otherwise found via curl -X POST "http://127.0.0.1:5001/api/v0/name/resolve?recursive=true&dht-record-count=16&dht-timeout=1m0s" (see https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-name-resolve)
  • Publish to IPNS modal should show list of all available keys to publish under

Screenshots If applicable, add screenshots to help explain your problem.

image image

Additional context Add any other context about the problem here.

コントリビューターガイド