perf(ui): render rule models and create detail views on demand
This commit is contained in:
1 parent
84d8f9c7f5
commit
ce574ddb44
18 files changed
+693
-170
No files matched your search
@@ -83,11 +83,11 @@ try:
|
||||
store.bind_project_task(other.task_id, project.project_id, 'ui-review-separate-batch', 0)
|
||||
window.run_panel.log_dialog.grab().save(str(output / '04-execution-results.png'))
|
||||
window.plan_panel.report_dialog.grab().save(str(output / '05-bom-validation-details.png'))
|
||||
report['result_rows'] = window.run_panel.result_view.rowCount()
|
||||
before_text = window.plan_panel.bom_report.toPlainText()
|
||||
report['result_rows'] = window.run_panel.log_dialog.result_view.model().rowCount()
|
||||
before_text = window.plan_panel.report_text
|
||||
window.open_task(other.task_id)
|
||||
idle()
|
||||
report['bom_report_cross_batch'] = {'current_task': window.plan_panel.task_id, 'expected_other_task': other.task_id, 'visible': window.plan_panel.bom_report.isVisible(), 'retained_previous_text': window.plan_panel.bom_report.toPlainText() == before_text, 'contains_previous_project': 'Audio_D2128' in window.plan_panel.bom_report.toPlainText()}
|
||||
report['bom_report_cross_batch'] = {'current_task': window.plan_panel.task_id, 'expected_other_task': other.task_id, 'visible': bool(window.plan_panel.report_dialog and window.plan_panel.report_dialog.isVisible()), 'retained_previous_text': window.plan_panel.report_text == before_text, 'contains_previous_project': 'Audio_D2128' in window.plan_panel.report_text}
|
||||
window.resize(1280, 880)
|
||||
app.processEvents()
|
||||
window.grab().save(str(output / '03-other-batch-report-hidden.png'))
|
||||
|
||||
Reference in new issue
Block a user