Rename "health" references in code and HTML to neutral "activity trends" language
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- html, javascript, python
- Ambito
- full-stack
Direzione di ricerca
Start with health.py and its compute_project_health() function, then trace the related references in site/index.html and site/project.html. Rename the writer, HTML IDs and classes, JavaScript variables, and project_health.json consistently; done means the Python writer and HTML fetchers use the new activity-trends names without remaining health references.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The docs and user-visible HTML headings have been updated to use "Activity Trends" instead of "Health" — the word "health" implies a judgment call, but we're just measuring metrics and trends.
However, there are still internal references to "health" in:
Python code
health.pyfilename and modulecompute_project_health()function name- Output file:
project_health.json
HTML/JS (element IDs and variable names)
site/index.html: element IDs likehealth-title,health-window,health-methodology,health-method-detail, CSS classes likehealth-ml-header,health-git-headersite/index.html: JS variableshealthData,healthResp,healthErr, functionfillHealthTable()site/project.html: fetchesdata/_cache/project_health.json
Proposed renames
health.py→trends.py(oractivity_trends.py)compute_project_health()→compute_activity_trends()project_health.json→activity_trends.json(needs coordinated update in HTML fetchers)- HTML element IDs:
health-*→trends-* - JS variables:
healthData→trendData, etc.
This is a coordinated rename — the JSON filename change means both the Python writer and the JS readers need to update together.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 2
- Merge medio
- 9h 37m
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 apache/comdev-metrics
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
apache/comdev-metrics#8 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
apache/comdev-metrics#7 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
apache/comdev-metrics#4 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
apache/comdev-metrics#1 · 2 commenti ·
Tutte le issue di apache/comdev-metrics
Issue simili
-
upstream update
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conan-io/conan-center-index#31098 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
john-kurkowski/tldextract#382 ·
-
comp/tools duplicate P2 sweeper:risk-compatibility tool/mcp type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
NousResearch/hermes-agent#132042 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
deepset-ai/haystack#13092 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
feder-cr/invisible_playwright_mcp#1408 ·
I maintainer di solito rispondono entro 1 giorno