diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-29 18:57:21 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-29 18:57:21 -0500 |
| commit | ddc0ba8090f07a997d7ccb215eaf0a8c7aef6169 (patch) | |
| tree | 5a569be56a45fbdd15913d3713911abd4d995f49 /z.scm | |
| parent | b46cd3444933e54ec2fa095cfeb45913427a44f9 (diff) | |
Inline description editing with HTMX view/edit swap
The implementation is complete. Here's a summary of the changes:
**Omni/Jr/Web.hs:** 1. Added new API routes for
`/tasks/:id/description/view` and `/tasks/:i 2. Added
`DescriptionViewPartial` and `DescriptionEditPartial` data
type 3. Added `ToHtml` instances for both partials with HTMX
attributes for v 4. Added handlers: `descriptionViewHandler`,
`descriptionEditHandler`, ` 5. Updated the TaskDetailPage render to
use the view partial instead of
**Omni/Jr/Web/Style.hs:** 1. Added `.description-block` container
styles 2. Added `.description-header` flex styles for header with
title and edi 3. Added `.edit-link` and `.cancel-link` styles (12px
font, blue for edi 4. Added dark mode overrides for the links
Task-Id: t-175
Diffstat (limited to 'z.scm')
0 files changed, 0 insertions, 0 deletions
