You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Interactive Graph] | (CX) | Use dynamically resizing textarea for Description field (#2771)
## Summary:
The Interactive Graph "Description" field takes up a ton of vertical space by default.
Instead of having fixed rows, I'm going to use the dynamically resizing textarea
that was previously only used by radio.
- Move AutoResizingTextArea to the shared editor components folder
- Use it inside the interactive graph editor
Issue: none
| Before | After |
| --- | --- |
| <img width="351" height="414" alt="Screenshot 2025-08-06 at 2 57 46 PM" src="https://github.com/user-attachments/assets/dc14fe97-371f-4e39-af92-95f9de5c12fe" /> | <img width="350" height="263" alt="Screenshot 2025-08-06 at 2 57 52 PM" src="https://github.com/user-attachments/assets/11678dcb-518e-454b-b6ad-86c143d3eae9" /> |
Demo
https://github.com/user-attachments/assets/c3def134-9736-4c35-93c0-f4eb71086ce5
## Test plan:
Storybook
- http://localhost:6006/?path=/story/editors-editorpage--demo
- Add an interactive graph widget
- Check that the Description field is only one line by default now
when it's empty.
- Type in it so it takes up multiple lines and confirm that it
resizes dynamically
Author: nishasy
Reviewers: nishasy, mark-fitzgerald, ivyolamit, SonicScrewdriver, anakaren-rojas
Required Reviewers:
Approved By: mark-fitzgerald, ivyolamit
Checks: ✅ 12 checks were successful, ⏹️ 5 checks were cancelled
Pull Request URL: #2771
0 commit comments