Use textarea for project description and add markdown hint #67

Merged
qwc merged 1 commit from feature/multiline-project-description into main 2026-02-16 16:25:28 +01:00
Owner

Summary

  • Changes the create project form description field from <input type="text"> to <textarea rows="3"> with a "Markdown supported" placeholder
  • Adds a <small> markdown hint below the description textarea in the edit project form
  • The frontpage card CSS already truncates descriptions to 2 lines via -webkit-line-clamp: 2, so multiline descriptions won't break the card layout

Closes #64

Test plan

  • go build — compiles cleanly
  • Manual: create a project with a multiline description, verify it renders properly on the frontpage card (truncated to 2 lines)
  • Manual: verify the markdown hint appears on both create and edit forms
  • Manual: verify markdown renders on the project detail page

🤖 Generated with Claude Code

## Summary - Changes the create project form description field from `<input type="text">` to `<textarea rows="3">` with a "Markdown supported" placeholder - Adds a `<small>` markdown hint below the description textarea in the edit project form - The frontpage card CSS already truncates descriptions to 2 lines via `-webkit-line-clamp: 2`, so multiline descriptions won't break the card layout Closes #64 ## Test plan - [x] `go build` — compiles cleanly - [ ] Manual: create a project with a multiline description, verify it renders properly on the frontpage card (truncated to 2 lines) - [ ] Manual: verify the markdown hint appears on both create and edit forms - [ ] Manual: verify markdown renders on the project detail page 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Use textarea for project description and add markdown hint
All checks were successful
CI / test (pull_request) Successful in 1m0s
CI / build (pull_request) Successful in 47s
CI / docker (pull_request) Has been skipped
a1d40761d1
Changes the create project form description field from a single-line
input to a multiline textarea, matching the edit form. Adds a markdown
hint to both forms. The frontpage card CSS already truncates long
descriptions to 2 lines via line-clamp.

Closes #64

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
qwc merged commit 4d4e280f3a into main 2026-02-16 16:25:28 +01:00
qwc deleted branch feature/multiline-project-description 2026-02-16 16:25:28 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
qwc-open/asiakirjat!67
No description provided.