diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-27 10:37:19 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-27 10:37:19 -0500 |
| commit | a32a0210d17ed78ef653ee07d384041dbd10e5d2 (patch) | |
| tree | 116ef66628b1e56b0eaec87b5129042f56b0a519 /Biz | |
| parent | 1bd4e550255c97180b0af10d28733623bd99e89b (diff) | |
Add multiline description editing in web UI
The implementation is complete and passing. Here's a summary of
what was
**Changes made:**
1. **Added POST endpoint** for `/tasks/:id/description` - updates
the ta
2. **Added `DescriptionForm` type** with `FromForm` instance to
parse th
3. **Added `taskDescriptionHandler`** that:
- Receives the description text from the form - Treats
empty/whitespace-only descriptions as `Nothing` - Uses
`TaskCore.editTask` to update the task description
4. **Updated epic detail page** to include:
- A collapsible "Edit Design" section using `<details>` element -
A multiline `<textarea>` pre-populated with the current description
- A "Save Design" button that submits to the new endpoint - Shows
"No design document yet." when there's no description
5. **Added CSS styles** for the new elements:
- `.edit-description` - styling for the collapsible edit section -
`.description-textarea` - monospace font textarea for markdown
edit - `.form-actions` - container for the submit button - Dark
mode support for all new elements
Task-Id: t-150.2
Diffstat (limited to 'Biz')
0 files changed, 0 insertions, 0 deletions
