2.0 KiB
2.0 KiB
Company-channel period card copy
Metadata
- Date: 2026-07-31
- Scope:
arr_web/static/index.html,arr_web/static/styles.css,arr_web/static/app.js,tests/test_arr_web.py - Change type: display copy, card hierarchy and result-detail presentation
- Business-data mutation: none
Behavior facts
- The three generation cards no longer show the generic
第一期,第二期,第三期labels. - The card headline values now read
C/O:01-10,C/O:11-20and a month-aware final range:C/O:21-30for 30-day months orC/O:21-31for 31-day months. - These are display labels only. The internal period keys remain
01-10,11-20and21-month-end; release-date calculation, button enablement, confirmation context, POST payload and generation polling are unchanged. - Period-completeness chips (
周期未结束/周期已结束) and the computed Bangkok completion time remain below each C/O headline. The old duplicate C/O detail line was removed so each card has one clear range label. - A targeted execution check confirms June resolves to
C/O:21-30and July resolves toC/O:21-31. - Result problems are deduplicated by kind/code/period for display; the internal warning and error arrays are not mutated.
- The result table now shows
生成时间fromjob.finished_at, falling back tojob.created_at;version_noremains in the API payload but is no longer exposed as a user-facing revision label.
Verification
node --check arr_web/static/app.js: passed.- HTML parser check: passed.
- Focused suite:
28 tests,OK(tests.test_arr_web,tests.test_arr_web_company_reports). - Full discovery:
348 tests,OK (skipped=10). - Targeted execution check: repeated same-code/same-period warnings collapse to one display item.
- Isolated authenticated fake-server browser QA at 1280x720 and 390x844 confirmed all three labels, no stage-name remnants, the requested C/O values and zero horizontal overflow. Page console warnings/errors: none. No upload, extraction, deletion, activation or report generation was submitted.