Set Pinning - Doesn't send the folder name
还没有人认领这个 Issue。
- #2506 来自 @sap1110 —— 已关闭,未合并
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, react
调研方向
首先跟踪 Settings 和文件列表中的“set pinning”流程,直到 issue 中描述的 POST 请求,并比较文件夹名称存在和缺失的情况。使用 Pinning Service API 的开发实例验证 fix,并确认 payload 除了 cid 和 origins 外还包含 name。
由索引模型根据 Issue 内容生成。
描述
- OS: macOs
- Version of IPFS Desktop: 0.24.0
Describe the bug
When pinning a folder to a remote service through the Pinning Service API, the client sometimes does not send the name over.
The payload of the POST request sent contains the cid and origins but no name.
This has been raised by a user on a web3.storage issue.
To verify it wasn't a problem in web3.storage implementation I tested this against a development instance of the service and logged Add pin payload to confirm no name is provided.
Unfortunately, this happens randomly, it sometimes does and sometimes doesn't, and I couldn't quite figure out a consistent way to reproduce it.
To Reproduce
Steps to reproduce the behavior:
- Go to 'settings'
- Add web3.storage
- Go to the file list
- Click on the 3 dots on the right -> set pinning to the newly added service
- Navigate to https://web3.storage/account/?table=pinned
- See file appearing with "no name"
Expected behavior
It should send the name.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Please be aware that in order to be able to be able to pin on Web3.storage you need to have the PSA enabled, see docs.
In order to see the table you need to have at least a succesful pin.
Example of payload sent:
{
"cid": "QmeWZGxrwPyR532r4HTHUwWo6zJPZKxzPMnsm3Smbi2TDv",
"origins": [
"/ip4/192.168.1.3/tcp/4001/p2p/12D3KooWF59pZMi2q4qqqz6Mimi5oULWFQABYGXSQjNkR6sKC1kD",
.. more origins
]
}
- 主要语言
- JavaScript
- 星标
- 1.6k
- 派生
- 539
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ipfs/ipfs-webui 的其他 Issue
-
need/triage
难度 5/5 一周以上 新手友好度 25/100
ipfs/ipfs-webui#2454 ·
-
need/triage
难度 1/5 1 小时以内 新手友好度 45/100
ipfs/ipfs-webui#2391 · 3 条评论 ·
-
effort/days exp/intermediate help wanted P2 status/blocked
难度 5/5 一周以上 新手友好度 25/100
ipfs/ipfs-webui#2380 · 6 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 28/100
ipfs/ipfs-webui#2359 · 3 条评论 · 1 个 reaction ·
-
feat: create shortcut component that can be used on any page可能已有人在做 @george-hub331 于 588 天前认领。 未关闭P3
难度 4/5 3-5 天 新手友好度 35/100
ipfs/ipfs-webui#2350 · 2 条评论 ·
相似的 Issue
-
QA
难度 2/5 1-3 小时 新手友好度 68/100
CSIS-iLab/more-red-ink#164 ·
维护者通常 1 天内回复
-
area:filesystem bug need-triage
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
comp/dashboard P2 type/bug
难度 2/5 1-3 小时 新手友好度 65/100
NousResearch/hermes-agent#156404 ·
维护者通常 1 天内回复
-
Band: compact mode never draws on Claude Code 2.1.292 (level Button has a Text child)可能已有人在做 @Bunty9 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
DietrichGebert/ponytail#1437 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
huggingface/transformers.js#1945 ·
维护者通常 1 天内回复