Skip to content

feat(desktop): drag to raise the message composer height cap - #5180

Open
nawazish2 wants to merge 1 commit into
block:mainfrom
nawazish2:feat/resizable-composer-height
Open

feat(desktop): drag to raise the message composer height cap#5180
nawazish2 wants to merge 1 commit into
block:mainfrom
nawazish2:feat/resizable-composer-height

Conversation

@nawazish2

Copy link
Copy Markdown

Summary

Composer input used a hard max-h-32 (128px). Long messages meant scrolling inside a six-line box while typing.

Fixes #5177

Behavior

  • Grip on the top edge of the composer — drag up to raise the max height
  • Floor stays at the old default (128px); auto-grow still fills below the cap
  • Ceiling is 60% of the channel pane so the timeline stays usable
  • Double-click the grip to reset to 128px
  • Preference stored in localStorage (buzz.composer.maxHeightPx) — per device, not per channel

Test plan

  • unit tests for clampComposerMaxHeight
  • biome check on touched files
  • Manual: type a long draft → drag the top grip → more lines visible without inner scroll until the new cap
  • Manual: double-click grip → back to default
  • Manual: reload app → height preference sticks

The editor stopped at max-h-32, so long drafts were written through a
six-line window. Add a top-edge drag handle that raises the cap (up to
60% of the pane), persists the choice on the device, and double-click
resets to the default 128px.

Signed-off-by: Nawazish Khan <175596916+nawazish2@users.noreply.github.com>
@nawazish2
nawazish2 requested a review from a team as a code owner August 7, 2026 11:36
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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.

feat(desktop): let the message composer be dragged taller than its 128px cap

1 participant