Files
codewhale/crates/release
HUQIANTAO 896104b851 docs(release): add doc comments to all public types and functions (#2449)
* docs(release): add doc comments to all public types and functions

* test(tui-core): add unit tests for UiState state machine

Add 25 unit tests covering the previously untested UiState::reduce
state machine and snapshot:

- Default state verification
- Key navigation: pane switching (1-5), unknown key no-op
- Prompt lifecycle: pending_tasks increment, response delta tracking
- Tool lifecycle: active_tool set/clear, pending_tasks decrement, saturation
- Job lifecycle: active_jobs increment/decrement, progress clamping, saturation
- Approval lifecycle: pending_approvals increment/decrement, saturation
- Pause/Resume: flag toggling
- Tick: ScheduleBackgroundRefresh effect
- Snapshot: field presence, state change reflection

* Revert "test(tui-core): add unit tests for UiState state machine"

This reverts commit 92dfb9bcf3e915b14d5848244e0732fb188b2ce8.

---------

Co-authored-by: Hu Qiantao <huqiantao@HudeMacBook-Air.local>
Co-authored-by: Hunter B <hmbown@gmail.com>
2026-05-31 10:23:59 -07:00
..