Repository navigation
fix(agent): let global variable textareas resize vertically - #18972
Conversation
The value and description textareas in the global variable sheet were fixed-height, making long values hard to read or edit. Enable vertical resizing with scrolling overflow so users can expand them as needed. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe global variable form now configures its ChangesGlobal variable form
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized UI change enables vertical resizing and scrolling for global-variable textareas without affecting stored data or application behavior. No actionable merge-blocking risk remains after normal checks and review. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
wangq8
left a comment
There was a problem hiding this comment.
This is an AI review comment.
LGTM. fieldConfig is spread onto the Textarea component, which already accepts a resize prop ('none' | 'vertical' | 'horizontal' | 'both') and applies it via inline style plus an automatic overflow-auto class when resizable. So resize: 'vertical' correctly enables vertical resizing with scroll overflow.
Minor (non-blocking): the explicit className: 'overflow-auto' is redundant — Textarea already applies overflow-auto whenever resize !== 'none' — but it is harmless.
This is an AI review comment.
Summary
The value and description textareas in the global variable sheet were fixed-height, making long values hard to read or edit. Enable vertical resizing with scrolling overflow so users can expand them as needed.