small ui quirks
This commit is contained in:
@@ -42,7 +42,7 @@ Havenllo (Haven + Trello) is a lightweight, single-user, no-authentication kanba
|
||||
- `web/src/markdown.ts`: safe CommonMark renderer using `commonmark` plus DOMPurify, and plain-text extraction for card summaries.
|
||||
- `web/src/App.tsx`: board loading, optimistic mutations, selected-card state, and component wiring.
|
||||
- `web/src/components/Header.tsx`: Havenllo operations-board brand, local-ready state, refresh, and list-management toggle.
|
||||
- `web/src/components/BoardCanvas.tsx`: control-room board intro, live/edit badge, derived summary metrics, command-deck guidance, centered-or-scrollable rail, list-management add control, and board-level Pointer Events drag lifecycle. It detects whole-column targets, insertion indices, pointer cancellation, and Escape cancellation.
|
||||
- `web/src/components/BoardCanvas.tsx`: centered-or-scrollable workflow rail, list-management add control, task count, and board-level Pointer Events drag lifecycle. It detects whole-column targets, insertion indices, pointer cancellation, and Escape cancellation.
|
||||
- `web/src/components/ListColumn.tsx`: stage marker/kicker, column header/count, drop target and insertion marker, inline card creation, and management-only rename/delete controls.
|
||||
- `web/src/components/CardItem.tsx`: focusable card tile with a dedicated drag grip, current-list status chip, plain-text Markdown excerpt, and open-card affordance. Clicking outside the grip opens details.
|
||||
- `web/src/components/CardDetailModal.tsx`: accessible card dialog with title editing, current-list status, native move-to-list selector, CommonMark Write/Preview description editor, timestamps, and delete confirmation.
|
||||
@@ -106,7 +106,7 @@ Errors use `{ "error": { "code", "message" } }`. Success uses `200`, `201`, or `
|
||||
- Start a pointer drag from a card's grip. The entire destination column accepts it; the nearest card midpoint controls the insertion marker and fractional position. Mouse and touch both work. Pointer cancel or Escape aborts without a request. Drops update optimistically and roll back with a toast on failure.
|
||||
- The card dialog also has a native Move to list select, which appends the card through the existing `PATCH /api/cards/{id}` behavior and provides a keyboard-friendly alternative.
|
||||
- Status is derived solely from the card's current list. Tiles show the list-name chip; the dialog shows the same read-only status. `Done` has no special backend meaning.
|
||||
- Descriptions remain raw strings in the API/database. The dialog writes CommonMark source and previews safe, sanitized CommonMark; card tiles show a compact plain-text rendering.
|
||||
- Descriptions remain raw strings in the API/database. The dialog opens in a safe, sanitized CommonMark Preview tab and switches to Write mode for editing; card tiles show a compact plain-text rendering.
|
||||
- The Edit toggle exposes list add/rename/delete controls. Card add, edit, delete, movement, and detail viewing remain available outside list-management mode.
|
||||
- Short rails are horizontally centered on wide screens. Overflowing rails begin at the first column and use responsive horizontal scrolling and mobile scroll snapping.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user