manifest.json: set author and authorUrl
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 80/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- electron, threejs, typescript
Direzione di ricerca
Inizia da manifest.json e releasesRepo in src/shared/update.ts, che dovrebbe ripiegare sulla costante RELEASES_REPO quando authorUrl manca. Imposta author e authorUrl, poi aggiungi un test in tests/node.test.ts che verifichi che releasesRepo restituisca A21-devs/cortex per il manifest reale. È completato quando quel test e npm run check passano e i link Docs e Changelog in src/ui/modals/AboutModal.ts continuano a funzionare in npm run desktop.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 2
- Fork
- 1
- Merge medio
- 5m
- PR unite (30g)
- 19
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di A21-devs/cortex
-
help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
documentation help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di A21-devs/cortex
Issue simili
-
Release utils decode git output chunk by chunk, so a multi-byte character can turn into U+FFFDForse già presa @goranai l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
vercel-labs/ui#1494 ·
I maintainer di solito rispondono entro 1 giorno
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothingForse già presa @chaitanya0305 l’ha presa oggi. Apertabug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
BaaRai/ARTEX#652 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
compiler-explorer/compiler-explorer#9710 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno