fix: refresh public dashboard and BI telemetry

This commit is contained in:
Wyndham ARR
2026-08-03 16:08:14 +08:00
parent 2107f00e32
commit 5294edab89
20 changed files with 584 additions and 75 deletions

View File

@@ -21,13 +21,16 @@ without exposing workbook rows, guest data or full artifact hashes.
source identity.
- New job records expose only source batch id/type, safe filename, activation time, disposition and summary counts.
- The company page shows the current active workbook and summary counts.
- Job detail and history show the source Excel captured at submission; old job files without this field render
`历史任务未记录来源`/an equivalent localized label.
- The server still captures the source Excel summary at submission, but the end-user job detail/history no longer
renders that provenance. The upload/review panel remains the place where the active Excel source is managed.
- Re-uploading the same active workbook clears the selected file, refreshes the current-source and report-history views,
and shows an informational message. It does not create a second extraction or automatically generate a report.
- Report generation remains an explicit month/period action. Upload controls stay blocked while a report job is active, so
the submission-time source remains the trace shown for that job.
The later UI simplification intentionally removes only the result/history display; it does not remove the server-side
source metadata or change the report's database-backed input behavior.
## Verification
- `./.venv/bin/python -m unittest tests.test_arr_web_company_reports tests.test_arr_web`: 28 tests passed.