Update notice says to update in Community plugins, but Cortex isn't listed there
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 74/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- electron, typescript
- Área
- frontend
Línea de trabajo
Empieza con las cadenas de actualización en src/ui/copy.ts (alrededor de las líneas 2645-2655) y con la lógica del aviso y del botón en runUpdateCheck en src/plugin/updateCheck.ts. En src/shared/update.ts, releasesRepo proporciona owner/repo, así que añade un helper para la URL de la página de releases junto a latestReleaseUrl y cúbrelo con pruebas en tests/commands.test.ts. Está terminado cuando el aviso de actualización indique la nueva versión y enlace a la página releases/latest, el botón abra esa página, noRepo y failed ya no mencionen Community plugins, y npm run check pase. Comenta en el issue para que te asignen antes de empezar.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2
- Forks
- 1
- Merge medio
- 5 min
- PR fusionados (30 d)
- 19
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de A21-devs/cortex
-
help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
A short demo GIF for the READMEAbiertodocumentation help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
Todos los issues de A21-devs/cortex
Issues similares
-
area:config bug priority:medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Doezer/Questarr#1451 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
sidebandstudio/clawtrate#1156 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
WenyuChiou/agent-board#1993 ·
Los mantenedores suelen responder en 1 día
-
bug design
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Colorado-Startups/coloradostartups.org#151 ·
Los mantenedores suelen responder en 1 día
-
question
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jarrodwatts/claude-hud#883 · 1 comentario ·
Los mantenedores suelen responder en 1 día