Update notice says to update in Community plugins, but Cortex isn't listed there
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- electron, typescript
- Domain
- frontend
Research direction
Start with the update strings in src/ui/copy.ts (around lines 2645-2655) and the notice and button logic in runUpdateCheck in src/plugin/updateCheck.ts. In src/shared/update.ts, releasesRepo gives owner/repo, so add a release-page URL helper beside latestReleaseUrl and cover it in tests/commands.test.ts. Done when the update notice names the new version and links to the releases/latest page, the button opens that page, noRepo and failed no longer mention Community plugins, and npm run check passes. Comment on the issue to be assigned before starting.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 1
- Avg merge
- 5m
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from A21-devs/cortex
-
help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
first issue
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
documentation help wanted
Difficulty 3/5 1-2 days Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
platform:windows provider:antigravity-cli providers setup triaged wontfix
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
can1357/oh-my-pi#21349 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ohcnetwork/care_fe#17474 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100