Repository navigation
Quick add: a line that wraps, and notes under it - #1057
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
textareathat 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.notes={false}.quickadd.notes), translated in all six catalogs; no other new strings ("Notes" exists).Other bits: the microphone moved to
quickadd/VoiceParts.tsxto keepQuickAddunder the 250-line function limit; ref types fromHTMLInputElementtoHTMLTextAreaElement; anoinsertion now ends when focus leaves the quick add's form, so moving into the notes keeps it; test andscripts/screens.mjsselectors usetextarea.Docs: a "Long titles and notes" section in
docs/quick-add.md, the keyboard guide regenerated, changelog fragment underAdded. New storiesWithNotesandPhoneSheetWithNoteswith 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