manifest.json: set author and authorUrl

Open Beginner friendly
#24 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
80/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
electron, threejs, typescript
Domain
frontend, release

Research direction

Start with manifest.json and releasesRepo in src/shared/update.ts, which should fall back to the RELEASES_REPO constant when authorUrl is missing. Set author and authorUrl, then add a test in tests/node.test.ts asserting releasesRepo returns A21-devs/cortex for the real manifest. Done when that test and npm run check pass, and the Docs and Changelog links in src/ui/modals/AboutModal.ts still work in npm run desktop.

Written by the indexing model from the issue text.

Description

first 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.json
  • src/shared/update.ts, releasesRepo
  • src/ui/modals/AboutModal.ts: the About dialog builds its links from the same fields
  • tests/commands.test.ts (update helpers) and tests/node.test.ts, which read the manifest
  • leave versions.json as it is

Acceptance criteria

  • author and authorUrl set in manifest.json
  • a test that releasesRepo returns A21-devs/cortex for the real manifest
  • About Cortex still shows working Docs and Changelog links (try it in npm run desktop)
  • npm run check passes

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from A21-devs/cortex

All issues in A21-devs/cortex

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.