diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-27 18:57:44 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-27 18:57:44 -0500 |
| commit | ebc281f90389da3b064bb14888e7c4f81ae4df17 (patch) | |
| tree | cd538b0755b1aa687ab19fdf86585e376826204f /Omni/Task/Core.hs | |
| parent | b5ac1e5984ee69b54414ef3c98ece1f143021de5 (diff) | |
Click badge to show inline dropdown options
The implementation is complete. The changes I made:
1. **Web.hs** - Replaced the `statusBadgeWithForm` function from a
`<sel
- `statusBadgeWithForm` now creates a container div with the
clickabl - `clickableBadge` renders a badge that, when clicked,
toggles the "o - `statusDropdownOptions` renders all the status
options as badge-sty - `statusOption` renders each status option
as an HTMX form that upda
2. **Style.hs** - Added CSS styles for the new dropdown component:
- `.status-badge-dropdown` - Container with relative positioning
- `.status-badge-clickable` - Clickable badge styling with
cursor poi - `.dropdown-arrow` - Arrow indicator styling -
`.status-dropdown-menu` - Hidden dropdown that appears when parent -
`.status-option-form` and `.status-dropdown-option` - Styling for
o - Dark mode support for the dropdown menu
Task-Id: t-157.2
Diffstat (limited to 'Omni/Task/Core.hs')
0 files changed, 0 insertions, 0 deletions
