manifest.json: set author and authorUrl
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 80/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- electron, threejs, typescript
调研方向
从 manifest.json 和 src/shared/update.ts 中的 releasesRepo 开始,当缺少 authorUrl 时应回退到 RELEASES_REPO 常量。设置 author 和 authorUrl,然后在 tests/node.test.ts 中添加一个测试,断言对真实的 manifest,releasesRepo 返回 A21-devs/cortex。当该测试和 npm run check 通过,并且 npm run desktop 中 src/ui/modals/AboutModal.ts 的 Docs 和 Changelog 链接仍然可用时,即完成。
由索引模型根据 Issue 内容生成。
描述
manifest.json has "author": "Cortex" and no authorUrl. Obsidian shows the author in its plugin list, and its plugin guidelines expect the author's name there, not the plugin's name. This is also the first step of #31.
Expected
"author": "A21-devs" (or the maintainer's name) and "authorUrl": "https://github.com/A21-devs". With that URL, releasesRepo() in src/shared/update.ts works out A21-devs/cortex from the manifest (one-part GitHub URL plus the plugin id) instead of falling back to the RELEASES_REPO constant.
Files to look at
manifest.jsonsrc/shared/update.ts,releasesReposrc/ui/modals/AboutModal.ts: the About dialog builds its links from the same fieldstests/commands.test.ts(update helpers) andtests/node.test.ts, which read the manifest- leave
versions.jsonas it is
Acceptance criteria
-
authorandauthorUrlset inmanifest.json - a test that
releasesReporeturnsA21-devs/cortexfor the real manifest - About Cortex still shows working Docs and Changelog links (try it in
npm run desktop) -
npm run checkpasses
Setup
Read CONTRIBUTING.md and docs/DEVELOPMENT.md first. Node 20.11 or newer, and clone outside OneDrive, Dropbox or iCloud.
git clone https://github.com/A21-devs/cortex.git
cd cortex
npm ci
npm run check # typecheck + module boundaries, unit tests, build (what CI runs)
npm run sample # a made-up vault in your temp folder, so you never need your own notes
npm run desktop # build and open Cortex Desktop to try your change
Taking it
Comment here if you want to take it, and I will assign it to you. Ask questions in this issue, I will answer here. One pull request, with "Closes #N" in the description.
- 主要语言
- TypeScript
- 星标
- 2
- 派生
- 1
- 平均合并
- 5 分钟
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
A21-devs/cortex 的其他 Issue
-
help wanted
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
first issue
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
documentation help wanted
难度 3/5 1-2 天 新手友好度 62/100
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 58/100
维护者通常 1 天内回复
相似的 Issue
-
area:config bug priority:medium
难度 2/5 1-3 小时 新手友好度 88/100
Doezer/Questarr#1451 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
sidebandstudio/clawtrate#1156 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
WenyuChiou/agent-board#1993 ·
维护者通常 1 天内回复
-
bug design
难度 2/5 1-3 小时 新手友好度 88/100
Colorado-Startups/coloradostartups.org#151 ·
维护者通常 1 天内回复
-
question
难度 2/5 1-3 小时 新手友好度 78/100
jarrodwatts/claude-hud#883 · 1 条评论 ·
维护者通常 1 天内回复