[repo-assist:issue-fix] githubnext/gh-cao issue 20097 fix review
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- documentation, frontend
Hướng nghiên cứu
Start with the formatNumber function in dashboard/site/src/view-formatters.js, which now formats the unrounded AIC value, and with the DLS-UNIT-004 entry in docs/dashboard-language-specification.md, whose spec change needs maintainer sign-off. The matching test is in dashboard/site/test/unit/view-formatters.test.js. Done means npm test and npm run lint pass in dashboard/site and the Cost page per-repository slices sum to the total.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Cost page rounded aicc values to 2 AIC before dividing by 100, so per-repository slices ($0.40 each) disagreed with the total ($1.18). The attached patch formats the unrounded AIC value (rounded to cents by Intl), giving $0.39 each and $1.17, and updates DLS-UNIT-004 and its unit test. Validation: direct formatNumber check passed (341→$3.41, 39→$0.39, 117→$1.17); vitest/eslint could not run because dashboard/site dependencies failed to install.
Action: A maintainer should review the attached review bundle and confirm the spec change to DLS-UNIT-004 is acceptable; acceptance: npm test and npm run lint pass in dashboard/site/ and the Cost page totals reconcile.
Agent prompt
Apply the patch from the repo-assist-issue-fix-issue-20097 review bundle to githubnext/gh-cao (base f8b2fc99), then run npm ci && npm test && npm run lint && npm run typecheck in dashboard/site and npm run docs:build; fix any failures without weakening tests, then open a PR that Closes #20097.
Changed files
- dashboard/site/src/view-formatters.js
- dashboard/site/test/unit/view-formatters.test.js
- docs/dashboard-language-specification.md
Control Plane
cao: githubnext/gh-cao, correlation: 41444087799-128
Generated by :tools: Repo Assist / Issue Fix · copilot · auto · ~28 AIC · ⌖ ~1 AIC · ⊞ 14.2K · ◷
- expires on Nov 16, 2026, 12:34 PM UTC
- Ngôn ngữ chính
- JavaScript
- Star
- 14
- Fork
- 5
- Merge trung bình
- 3 giờ 24 phút
- Pull request đã merge (30 ngày)
- 796
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của githubnext/gh-cao
-
[aw] Upgrade availableĐang mởagentic-workflows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
githubnext/gh-cao#20168 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
repo-assist repo-assist:issue-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
githubnext/gh-cao#20041 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows self-care self-care:pages-health
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
githubnext/gh-cao#20028 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
githubnext/gh-cao#19959 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows self-care self-care:reactive-ui-expert
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 85/100
githubnext/gh-cao#19923 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của githubnext/gh-cao
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
parse-community/parse-server#10871 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
521xueweihan/HelloGitHub#4270 ·
-
502 on Node 26: ERR_INVALID_ARG_VALUE: Setting the TLS ServerName to an IP address is not permittedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
c1overzz/dsh-bili-scroll#189 ·
Maintainer thường phản hồi trong vòng 1 ngày