-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the Debug Outputs section to be resizable #5843
Comments
Hello @anna-geller some time ago I came across this project and I would like to contribute to it as part of a course requirement for my computer science degree. |
That's awesome, go for it @osmaneTKT! 🚀 |
can i use vue-resizable |
I don't know how it's technically implemented, but you could try using the same component that we use within the editor, see https://share.descript.com/view/p5vqgmD53pw |
@satvik2131 I'm working on it. |
Added Resizable Section to Vue Template New Resizable Wrapper Component: A resizable wrapper was added in the second <el-col> of the right column, allowing users to dynamically adjust its width with a draggable resizer. The resizer element is positioned to the left of the wrapper and controls the section's width on drag. Resize Event Handling: Three functions (startResize, resize, and stopResize) were implemented to manage the resizing interactions with the mouse. startResize is triggered on mousedown on the resizer, resize adjusts the wrapper width according to mouse movement, and stopResize stops the resizing on mouseup. SCSS Styling for Resizing: New styles were added for wrapper and resizer to define their position and set the cursor to ew-resize for a better user experience. CSS properties like overflow and position were adjusted to handle the section’s dynamic sizing and layout.
Change the Debug Outputs section to be resizable kestra-io#5843 Added Resizable Section to Vue Template New Resizable Wrapper Component: A resizable wrapper was added in the second of the right column, allowing users to dynamically adjust its width with a draggable resizer. The resizer element is positioned to the left of the wrapper and controls the section's width on drag. Resize Event Handling: Three functions (startResize, resize, and stopResize) were implemented to manage the resizing interactions with the mouse. startResize is triggered on mousedown on the resizer, resize adjusts the wrapper width according to mouse movement, and stopResize stops the resizing on mouseup. SCSS Styling for Resizing: New styles were added for wrapper and resizer to define their position and set the cursor to ew-resize for a better user experience. CSS properties like overflow and position were adjusted to handle the section’s dynamic sizing and layout.
Hello @anna-geller , I think I managed to solve the problem. |
@osmaneTKT You've opened two PRs about this, could you check which one is the right one and close the other one? |
Sorry, I hadn't noticed. |
Feature description
Some expressions or outputs are large. It would be great to make this Debug Outputs section as a resizable component:
Extra info for first-time contributors
You can reproduce it by adding this flow, running it and navigating to Outputs:
The text was updated successfully, but these errors were encountered: