Update notice says to update in Community plugins, but Cortex isn't listed there
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 74/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- electron, typescript
- 領域
- frontend
調査の方向性
src/ui/copy.ts の更新用の文字列(2645〜2655行目付近)と、src/plugin/updateCheck.ts の runUpdateCheck にある通知とボタンのロジックから始めてください。src/shared/update.ts では releasesRepo が owner/repo を返すので、latestReleaseUrl の隣にリリースページの URL を返すヘルパーを追加し、tests/commands.test.ts でテストしてください。完了条件は、更新通知に新しいバージョンが表示され releases/latest ページへのリンクが付いていること、ボタンがそのページを開くこと、noRepo と failed の文言から Community plugins への言及がなくなること、そして npm run check が通ることです。作業を始める前に、issue にコメントして担当者に割り当ててもらってください。
索引モデルが issue の本文から書いたものです。
説明
Cortex: Check for updates says "Cortex {version} is available. Update it in Community plugins." and has an Open Community plugins button. Cortex isn't in Obsidian's community plugin list yet (that's #31), so people who follow it find nothing to update.
Expected
When a newer release exists, the notice links to that release on GitHub and says to download the zip and unzip it over the old cortex folder. The "couldn't tell" and "couldn't reach" messages stop mentioning Community plugins too.
Files to look at
src/ui/copy.tsaround lines 2645-2655 (update.available,open,noRepo,failed): the wordingsrc/plugin/updateCheck.ts,runUpdateCheck: shows the notice and its buttonsrc/shared/update.ts:releasesRepogivesowner/repo; add a small helper for the release page URL next tolatestReleaseUrltests/commands.test.ts: already imports the update helpers, add tests there
Acceptance criteria
- the update-available notice names the new version and links to
https://github.com/<repo>/releases/latest - the button opens that page (in Obsidian,
window.openis fine) instead of Community plugins -
noRepoandfailedno longer mention Community plugins - a unit test for the release page URL helper
-
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分
- マージ済み PR(30日)
- 19
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
A21-devs/cortex のほかの issue
-
help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 80/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 日以内に返信
A21-devs/cortex の issue をすべて見る
似ている issue
-
Release utils decode git output chunk by chunk, so a multi-byte character can turn into U+FFFD対応中かも @goranai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
vercel-labs/ui#1494 ·
メンテナーはふだん 1 日以内に返信
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothing対応中かも @chaitanya0305 が今日担当しました。 オープンbug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
BaaRai/ARTEX#652 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
compiler-explorer/compiler-explorer#9710 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信