Skip to content

Quick add: a line that wraps, and notes under it - #1057

Merged
pixari merged 2 commits into
mainfrom
feat/1034-1035-quick-add-notes
Nov 8, 2026
Merged

pixari merged 2 commits into
mainfrom
feat/1034-1035-quick-add-notes

Conversation

@pixari

@pixari pixari commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

Fixes #1034. Fixes #1035.

Two small changes to the one quick add field, in one OpenSpec change (quick-add-notes) because they share the move from <input> to <textarea>.

A line that wraps (#1034). The field is a one-row textarea that wraps a long title and grows to five lines, then scrolls; it never scrolls sideways. No setting, as the issue suggested. The title is still one line of text: Enter adds, and a line break pasted or dictated into it becomes a space (a multi-line paste into an empty field is still the paste offer). The height comes from the tint layer, which already mirrors the text: it now shares the field's grid cell and wraps the same way, so nothing measures in script while typing above a long list. The +, microphone and hint stay beside the first line.

Notes while adding (#1035). Shift+Enter in the line opens a Notes field under it; on a phone the sheet's tool row gets a Notes tool (no Shift+Enter on a touch keyboard). The text is saved as the task's notes (description, the same path the share screen uses), never parsed. Enter adds from the notes too, Shift+Enter is a line break there, Backspace in empty notes closes them. Nothing new is shown until it is asked for.

  • The command bar keeps Shift+Enter for "add and open" (its footer prints that key); the share screen has its own Description field, so it passes notes={false}.
  • One registered shortcut entry (quickadd.notes), translated in all six catalogs; no other new strings ("Notes" exists).

Other bits: the microphone moved to quickadd/VoiceParts.tsx to keep QuickAdd under the 250-line function limit; ref types from HTMLInputElement to HTMLTextAreaElement; an o insertion now ends when focus leaves the quick add's form, so moving into the notes keeps it; test and scripts/screens.mjs selectors use textarea.

Docs: a "Long titles and notes" section in docs/quick-add.md, the keyboard guide regenerated, changelog fragment under Added. New stories WithNotes and PhoneSheetWithNotes with baselines.

Bundle: the first load is at 688.0 KB of the 688 KB budget (passes, but it is full).

Checks run locally: full web suite (8,033 passed), npm run build, make web-lint bundle-budget i18n-check ui-lint docs-check openspec-validate repo-check.

Note for review: contributor PR #961 restyles the same quick add field and will conflict with this.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Bkw4TZLFDGeMdZR3vWZF13

pixari and others added 2 commits November 8, 2026 03:07
The quick add field is a one-row textarea that wraps a long title and
grows to five lines, sized by its tint layer in the same grid cell, with
no measuring in script. Enter still adds; line breaks become spaces.

Shift+Enter opens a Notes field under the line (the phone's sheet gets a
Notes tool), saved as the task's notes, never parsed. The command bar
keeps Shift+Enter for add and open; the share screen keeps its own
Description field. OpenSpec change quick-add-notes, archived.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bkw4TZLFDGeMdZR3vWZF13
…ping line at 375 px

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bkw4TZLFDGeMdZR3vWZF13
@pixari
pixari merged commit 9ae3982 into main Nov 8, 2026
62 of 63 checks passed
@pixari
pixari deleted the feat/1034-1035-quick-add-notes branch November 8, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow the population of notes field during task creation Make task entry multi-line, or provide an option

1 participant