Files
wyndham-ARR/.project-docs/50-evidence/topics/2026-07-31-standard-monthly-page-cleanup.md
2026-07-31 15:11:42 +08:00

2.4 KiB

Evidence Topic: Standard monthly page cleanup

Metadata

  • Date: 2026-07-31
  • Status: Implemented; focused checks pass
  • Scope: desktop monthly tab DOM/CSS/JS and monthly-run Web response contract
  • Confidence: Fact
  • Source: static inspection, focused Web/schema tests and JavaScript/Python syntax checks
  • Last verified: 2026-07-31
  • Stale trigger: monthly table columns, monthly-run response shape, publication watermark rule or desktop navigation changes

Request

Does the standard monthly page remove the redundant version-history surface while keeping the correct ARRIVAL watermark?

Changes

  • The monthly tab is labeled 月报; the page heading, VERSION HISTORY, 标准月报版本记录 title and C/O-period footer sentence are removed.
  • The top of the remaining list is identified by the concise 月报处理 heading alongside the live-update state.
  • The visible monthly table now has six columns: 更新至, 状态, 数据行, 公司数, 生成时间 and 月报. The separate company-report 版本 column is unchanged.
  • The repository exposes max_arrival_date as an explicit alias of reporting.monthly_runs.as_of_date; as_of_date remains in the response for compatibility. Publication rules already define that stored date as the greatest included ARRIVAL.
  • The frontend renders max_arrival_date with an as_of_date fallback for older fixtures, preserving 50-row pagination, ordering and four-second visible-tab polling.
  • The remaining panel uses a compact live-status toolbar, a wider six-column table and responsive table overflow rather than leaving the removed title block as empty space.

Verification

  • node --check arr_web/static/app.js passed.
  • Python compilation passed for the changed repository/app/tests modules.
  • tests.test_arr_web, tests.test_arr_web_repository_schema, tests.test_arr_web_task_log_ui and tests.test_arr_web_daily_visual_ui passed: 32 tests.
  • The live authenticated browser tab was not available for this check; a fresh unauthenticated local tab correctly redirected to /login, so no credentials were entered and no business action was attempted.

Finding

The UI now displays the monthly watermark from the same persisted maximum-ARRIVAL source used by monthly publication, without exposing version-history language or the monthly version number as a visible column. No report, Finance or database business data was mutated.