Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Rename "health" references in code and HTML to neutral "activity trends" language

Đang mở
#5 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
html, javascript, python
Lĩnh vực
full-stack

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

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.py filename and module
  • compute_project_health() function name
  • Output file: project_health.json
HTML/JS (element IDs and variable names)
  • site/index.html: element IDs like health-title, health-window, health-methodology, health-method-detail, CSS classes like health-ml-header, health-git-header
  • site/index.html: JS variables healthData, healthResp, healthErr, function fillHealthTable()
  • site/project.html: fetches data/_cache/project_health.json
Proposed renames
  • health.pytrends.py (or activity_trends.py)
  • compute_project_health()compute_activity_trends()
  • project_health.jsonactivity_trends.json (needs coordinated update in HTML fetchers)
  • HTML element IDs: health-*trends-*
  • JS variables: healthDatatrendData, etc.

This is a coordinated rename — the JSON filename change means both the Python writer and the JS readers need to update together.

Ngôn ngữ chính
Python
Star
1
Fork
2
Merge trung bình
19 giờ 14 phút
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/comdev-metrics

Tất cả issue của apache/comdev-metrics

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.