fix-ui-restore-task-status-categories
Core regression / Python core and release configuration (push) Successful in 15s
Core regression / JavaScript syntax (push) Successful in 3s
Core regression / Python core and release configuration (pull_request) Successful in 16s
Core regression / JavaScript syntax (pull_request) Successful in 4s

This commit is contained in:
阿白叔 committed 2026-11-03 11:02:27 +08:00
1 parent ba1d50cdfc
commit 63835afba8
6 files changed
+137 -7

No files matched your search

@@ -0,0 +1,17 @@
# Task status categories
The earlier task navigation retained a hidden, disconnected status selector. The visible selector below search now offers All tasks, Unfinished, Completed and Failed, with the existing SVG icon set. Unfinished includes Draft, Ready, Running, Paused and Failed; deleted tasks remain in the recycle bin.
Filtering operates on the cached task list and combines with search. Refreshing tasks reapplies the chosen category against the updated status. The current task is remembered when hidden, so changing display categories does not switch the right-hand task or discard its draft. The window retains the complete task collection for batch execution; filtering never narrows the execution scope. Moving tasks is disabled while a status filter hides part of the saved order.
The recycle bin ignores the normal status filter and disables that selector while open; returning restores the chosen category. The status selector is a display preference for this window and defaults to All tasks on a new launch.
Validation:
- Seven new cases first failed against the hidden/disconnected selector. They now cover category membership, combined search, completion on refresh, preserving task identity, cached reads, unchanged batch scope, ordering gates and recycle-bin independence.
- `python -m pytest -q tests/ui tests/v1_1/test_task_navigation.py --tb=short --junitxml=build/task-category-ui-tests.xml`: **181 passed**.
- After adding the status SVG icons, category and navigation tests: **9 passed**.
- `python tools/accept_acrylic_ui.py --output build/task-categories-final --webengine-roundtrip`: passed on Windows 11 build 26200 at 125% scaling, including status category visibility, return from Chromium, reduced transparency and the 980×700 layout.
- Python compilation and `git diff --check`: passed.
No DSH functionality or task execution implementation changed. No CAD or model requests were made. No release executable was built.