summaryrefslogtreecommitdiff
path: root/BudgetReport.sh
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-29 22:31:49 -0500
committerBen Sima <ben@bensima.com>2025-11-29 22:31:49 -0500
commit6333f4d8db56e26d384de9901cf0c990f8befec7 (patch)
tree4d5bdef83d2fbe8ecb066decd6cb41229b5e2506 /BudgetReport.sh
parentd58b2f547f474648edbacdf2ffdfdef6e019fe7d (diff)
Add clickable priority dropdown on task detail pages
The build passes successfully. Let me provide a summary of the changes m I implemented the clickable priority dropdown on task detail pages, mirr 1. **Added new API route** for priority updates: ```haskell "tasks" :> Capture "id" Text :> "priority" :> ReqBody '[FormUrlEncode ``` 2. **Added new types**: - `PriorityBadgePartial` - partial response for HTMX updates - `PriorityForm` - form data for priority changes with `FromForm` ins 3. **Added handler** `taskPriorityHandler` that updates task priority vi 4. **Added priority dropdown components**: - `priorityBadgeWithForm` - container with clickable badge and dropdo - `clickablePriorityBadge` - the clickable badge showing current prio - `priorityDropdownOptions` - dropdown menu with P0-P4 options - `priorityOption` - individual priority option with HTMX form 5. **Added JavaScript** `priorityDropdownJs` for dropdown toggle/close b 6. **Updated task detail page** to use `priorityBadgeWithForm` instead o 7. **Added `ToHtml` instance** for `PriorityBadgePartial` 1. **Added priority badge styles** for P0-P4 with appropriate colors 2. **Added priority dropdown styles** (mirroring status dropdown) 3. **Added dark mode styles** for priority badges and dropdown Task-Id: t-182
Diffstat (limited to 'BudgetReport.sh')
0 files changed, 0 insertions, 0 deletions