{{ message }}
Repository navigation
fix(ui): make monitor dispatch textarea expandable and increase default height - #733
Open
rajpreetcodes wants to merge 1 commit into
Open
rajpreetcodes wants to merge 1 commit into
rajpreetcodes wants to merge 1 commit into
Conversation
…lt height
In CommandCenterPanel, the dispatch textarea in the Monitor tab was locked at rows={2} and styled with resize: 'none', preventing users from expanding it to compose multi-line dispatch instructions (issue HarnessMD#720).
- Set resize: 'vertical' in textareaStyle to align with triggers/ui.tsx
- Increase default rows to 3 with minHeight: 58 on FloorTab textarea so multi-line tasks fit comfortably and users can drag to expand vertically
Fixes HarnessMD#720
Signed-off-by: rajpreetcodes <rskkalt@gmail.com>
Contributor
Contributor
Author
This branch has not been deployed
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.

What & why
In
CommandCenterPanel, the dispatch input in the Monitor tab was locked atrows={2}and styled withresize: 'none'. Users writing multi-line tasks could barely fit two lines and could not resize the box (issue #720).This change:
resize: 'vertical'intextareaStyleto match the convention intriggers/ui.tsx.rows={3}andminHeight: 58on theFloorTabdispatch<textarea>so tasks have comfortable vertical room by default and can be dragged vertically to any size.Closes #720
Type of change
Evidence
Before
As captured in #720, the Monitor dispatch input was locked at
rows={2}withresize: 'none', preventing users from expanding it:After
The dispatch textarea defaults to 3 rows (
minHeight: 58) and enables vertical resize (resize: 'vertical'), matching the behavior of textareas intriggers/ui.tsxandAskMeTab:How I tested it
npm run typecheck:web(tsc --noEmit -p tsconfig.web.json), which passed with zero errors.main.Checklist
npm run typecheckpasses.npm run test:focusedpasses.npm run buildsucceeds.DESIGN.md/tokens.ts(reuses existingtextareaStyletokens and vertical resize convention).ATTRIBUTION.md. Not applicable: no art added.