diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-29 23:18:57 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-29 23:18:57 -0500 |
| commit | b5f3b9027aa0e96cd792f036a61d6b4418b39487 (patch) | |
| tree | 2a29248e3a421ce989d75d6f8813ce2dd9d616f5 /Omni/Dev/Lithium.nix | |
| parent | 82a2d55775eee2e34a26972774aaa6c5c0946743 (diff) | |
Sort /blocked page by blocking impact (transitive dependents)
All tests pass. The implementation is complete:
**Summary of changes:**
1. **Omni/Task/Core.hs** - Added helper functions:
- `getBlockingImpact`: Counts how many tasks are transitively
blocked - `getTransitiveDependents`: Gets all tasks that depend
on a task (di - `dependsOnTask`: Helper to check if a task depends
on a given ID wi
2. **Omni/Jr/Web.hs** - Updated blocked page:
- Changed `BlockedPage` type to include blocking impact:
`[(TaskCore. - Updated `blockedHandler` to compute blocking impact
and sort by it - Added `renderBlockedTaskCard` to display tasks with
their blocking - Updated the info message to explain the sorting
3. **Omni/Jr/Web/Style.hs** - Added CSS:
- `.blocking-impact` badge style (light mode) - `.blocking-impact`
dark mode style
Task-Id: t-189
Diffstat (limited to 'Omni/Dev/Lithium.nix')
0 files changed, 0 insertions, 0 deletions
