summaryrefslogtreecommitdiff
path: root/Omni/Jr/Web/Style.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-27 10:04:35 -0500
committerBen Sima <ben@bensima.com>2025-11-27 10:04:35 -0500
commitfa64226855f63bafad9cf0a59baef200030eabed (patch)
tree955796125f718c2ab2182068dc226f5fbd60e901 /Omni/Jr/Web/Style.hs
parentdbe2b82d2f53761d9504fb4e5cf37f64a2000b7a (diff)
Fix filter dropdowns returning empty string for All option
The build passes. The fix I implemented: 1. **Changed the API type** in `Omni/Jr/Web.hs` to use `QueryParam "stat 2. **Added manual parsing** in `taskListHandler` with `parseStatus` and 3. **Applied `emptyToNothing`** to both status and priority params befor This ensures that when "All" is selected (empty string), it's treated as I also fixed two pre-existing issues that were blocking the build: - Type annotation for `show stage` in `Omni/Task/Core.hs` - `AesonKey.fromText` conversion in `Omni/Agent/Worker.hs` Task-Id: t-149.1
Diffstat (limited to 'Omni/Jr/Web/Style.hs')
0 files changed, 0 insertions, 0 deletions