[repo-assist:issue-fix] githubnext/gh-cao issue 20097 fix review
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript
- Área
- documentation, frontend
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- JavaScript
- Estrellas
- 14
- Forks
- 5
- Merge medio
- 3 h 29 min
- PR fusionados (30 d)
- 761
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 githubnext/gh-cao
-
[aw] Upgrade availableAbiertoagentic-workflows
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
githubnext/gh-cao#20168 ·
Los mantenedores suelen responder en 1 día
-
repo-assist repo-assist:issue-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
githubnext/gh-cao#20041 ·
Los mantenedores suelen responder en 1 día
-
agentic-workflows self-care self-care:pages-health
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
githubnext/gh-cao#20028 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
githubnext/gh-cao#19959 ·
Los mantenedores suelen responder en 1 día
-
agentic-workflows self-care self-care:reactive-ui-expert
Dificultad 2/5 Menos de una hora Aptitud para principiantes 85/100
githubnext/gh-cao#19923 ·
Los mantenedores suelen responder en 1 día
Todos los issues de githubnext/gh-cao
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
hugomrdias/playwright-test#753 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
KonstantinStarovoytov/kitden#21 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
guybedford/es-module-shims#556 ·
-
app ernst:4-klein
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NewspeedyNL/PidLane#683 ·
Los mantenedores suelen responder en 1 día