Auto-commit local changes before build (2026-01-04 14:34:57)
This commit is contained in:
parent
c880121cd3
commit
b3f3ac90fd
@ -1 +1 @@
|
||||
v20260104-06-reports-html-jobs-summary-success-rate
|
||||
v20260104-07-reports-html-export-fix-json
|
||||
|
||||
@ -1392,8 +1392,8 @@ def _export_html_response(report: ReportDefinition, report_id: int, view: str):
|
||||
</div>
|
||||
<script>
|
||||
(function() {{
|
||||
const labels = {_json.dumps(job_labels)};
|
||||
const data = {_json.dumps(job_rates)};
|
||||
const labels = {json.dumps(job_labels)};
|
||||
const data = {json.dumps(job_rates)};
|
||||
const ctx = document.getElementById('jobSuccessRateChart');
|
||||
if (!ctx) return;
|
||||
new Chart(ctx, {{
|
||||
@ -1638,8 +1638,8 @@ def _export_html_response(report: ReportDefinition, report_id: int, view: str):
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const trends = {_json.dumps(trends)};
|
||||
const dist = {_json.dumps(status_dist)};
|
||||
const trends = {json.dumps(trends)};
|
||||
const dist = {json.dumps(status_dist)};
|
||||
const labels = trends.map(t => t.day);
|
||||
const rates = trends.map(t => t.success_rate);
|
||||
|
||||
|
||||
@ -238,6 +238,16 @@
|
||||
- Added a **per-job success rate chart** to the HTML report to visualize backup performance per job.
|
||||
- Prevented job status from being presented as a summary value, as it represents a momentary state rather than a stable metric.
|
||||
|
||||
---
|
||||
|
||||
## v20260104-07-reports-html-export-fix-json
|
||||
|
||||
### Fixed
|
||||
- Resolved Internal Server Error when downloading HTML reports.
|
||||
- Fixed an `UnboundLocalError` caused by an uninitialized `_json` variable in the HTML export response.
|
||||
- Replaced usage of `_json` with a consistent `json.dumps(...)` call using the top-level JSON import.
|
||||
- Ensured stable HTML report export handling across all report download actions.
|
||||
|
||||
================================================================================================================================================
|
||||
|
||||
## v0.1.15
|
||||
|
||||
Loading…
Reference in New Issue
Block a user