diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-29 23:42:43 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-29 23:42:43 -0500 |
| commit | 7966eb9ce705ac835b2336fcd6aedffebd54234d (patch) | |
| tree | 8ed74baa4b54615d1595b087a8b6e8e3b1efdb72 /Omni/Ide/hooks/post-merge | |
| parent | c2e382c95ba5ee18115e60b2b6f47dd86a3d875f (diff) | |
Expand intervention page to show all human action items
All tests pass and lint is clean. The implementation is complete:
**Changes made:**
1. **Omni/Task/Core.hs:**
- Added `EpicForReview` data type to hold epic with progress info -
Added `HumanActionItems` data type to group all three categories -
Added `getHumanActionItems` function that returns:
- `failedTasks`: Tasks with retry_attempt >= 3 - `epicsInReview`:
Epics where all children are Done (and has at le - `humanTasks`:
HumanTask type tasks in Open status
2. **Omni/Jr/Web.hs:**
- Updated `InterventionPage` data type to use `HumanActionItems`
- Updated `interventionHandler` to call `getHumanActionItems` -
Rewrote `ToHtml InterventionPage` to show 3 sections with headers -
Added `renderEpicReviewCard` for epic review cards with "Approve &
- Renamed navbar link from "Intervention" to "Human Action"
Task-Id: t-193.5
Diffstat (limited to 'Omni/Ide/hooks/post-merge')
0 files changed, 0 insertions, 0 deletions
