ipfs / ipfs/ipfs-desktop

IPNS CID should have association with cid in files tab

Open
#2,663 10 comments 1 reaction 0 assignees View on GitHub
effort/hours exp/intermediate good first issue help wanted kind/bug kind/enhancement P2 status/ready
Dominant language
JavaScript
Stars
6.6k
Forks
903
Avg merge
4d 13h
Merged PRs (30d)
5

Description

- OS: Windows, applies to all builds
- Version of IPFS Desktop https://github.com/ipfs/ipfs-webui/commit/2277a09

**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](https://github.com/ipfs/ipfs-desktop/assets/1844554/22923d3f-160b-413f-9ae7-fa011c1813aa)
![image](https://github.com/ipfs/ipfs-desktop/assets/1844554/377b2156-bd94-4066-b324-e0fd41249405)

**Additional context**
Add any other context about the problem here.

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.