Skip to content

feat(chat): let the composer be dragged taller - #61

Merged
luoxuanzao merged 1 commit into
mainfrom
feat/composer-resize
Sep 14, 2026
Merged

luoxuanzao merged 1 commit into
mainfrom
feat/composer-resize

Conversation

@luoxuanzao

Copy link
Copy Markdown
Member

Summary

  • Bring back the drag-to-resize composer from the reverted fix(chat): refine compact controls, settings, and update cues #56, in isolation. A thin grip above the message input lets the user drag to set the input height (clamped between 140px and 75% of the chat view), step it with ArrowUp/ArrowDown (24px), and return to the automatic content-driven height via double-click or Home. The grip is a focusable role=separator with aria value bounds, and re-clamps on container resize.
  • Why: long prompts kept clipping at the default fixed box height, with no way to enlarge the input.

Verification

  • npm run typecheck
  • npm run lint
  • npm run test — 161 suites / 3492 tests pass, incl. composer-resize.test.ts
  • npm run build — covered by CI on this PR
  • npm run release:check — covered by CI on this PR
  • npm run audit:prod — covered by CI on this PR
  • Tested affected behavior live: built to the dev vault and exercised the grip in Obsidian (ArrowUp ×2 → 140→188px with --resized class + height var; Home → reset to 140px)

Safety

  • No credentials, private vault content, internal URLs, or personal paths are included
  • User-visible changes are documented in CHANGELOG.md (added under [Unreleased])

Co-authored-by: QoderAI (Qwen 3.8 Max) qoder_ai@qoder.com

Long prompts kept clipping at the default box height. Bring back the
drag-to-resize composer from the reverted #56 in isolation: grab the grip
above the input to set a height, ArrowUp/ArrowDown to step it, and
double-click or Home to return to the automatic height.
@luoxuanzao
luoxuanzao merged commit b01fc61 into main Sep 14, 2026
10 checks passed
@luoxuanzao
luoxuanzao deleted the feat/composer-resize branch September 14, 2026 12:54
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.

1 participant