Skip to content

fix(dashboard): grow the task field on first paste - #888

Draft
AviationNerd wants to merge 3 commits into
mainfrom
aether/run-follow-the-code-commit-on-7db3e1-cs18cdjb7c
Draft

AviationNerd wants to merge 3 commits into
mainfrom
aether/run-follow-the-code-commit-on-7db3e1-cs18cdjb7c

Conversation

@AviationNerd

@AviationNerd AviationNerd commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Long pasted prompts could remain at the Task field's initial height when browser content sizing did not expand it. The field now resizes from its controlled value, responds to width changes, and keeps shared prompts expanded. Regular prompts cap at 192px and scroll internally; the manual resize handle is removed because the autosizer owns the height.

The dashboard guide documents the field limit. Component and desktop/phone Playwright coverage exercise typing, paste, scrolling, clearing, shared prompts, width changes, and the resize behavior.

Checks:

  • Production build and 61 focused tests passed in the originating Aether session.
  • make build passed after the review follow-up.
  • e2e/task-autosize.spec.ts passed in Playwright's official Docker image, covering desktop and phone viewports in dark mode.
  • The full host make test-e2e attempt could not launch Chromium because the host lacks libglib-2.0.so.0; the targeted spec ran successfully in the official image.

This PR was made with the help of Codex.

Opened from Aether run run-cs18cdjb7c

Long pasted prompts could stay at the initial height when browser
content sizing did not expand the Task field.

The field now grows to its existing maximum and scrolls beyond it.
Typing and pasting into existing text keep working. Shared prompts
remain expanded until edited.
@greptile-apps

greptile-apps Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5 Tier: apex

[Medium impact] The PR appears safe to merge; both numbered previous findings are addressed.

Summary

The Task field now grows from its current text and adjusts when its width changes.

  • The launch Task field grows with typed and pasted prompts.

Reviews (3) · Last reviewed commit: "fix(dashboard): keep task field sizing c..." · Reviewed by Greptile

Comment thread web/e2e/task-autosize.spec.ts Resolved
Comment thread web/e2e/task-autosize.spec.ts Resolved
The browser keeps the caret at the end after paste, so pressing End did not move it and left scrollTop unchanged. Move to the document start before checking that keyboard navigation scrolls the capped field.
The autosizer recalculates height after edits, so a manual resize handle would advertise a size it immediately resets. Remove the handle and cover width-only changes to verify wrapping is recalculated without changing the prompt.

This branch has not been deployed

No deployments
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