kubeshop / monokle

Monokle is a set of OSS tools designed to help create and maintain high-quality Kubernetes configurations throughout the application lifecycle
https://monokle.io
MIT License
1.65k stars 126 forks source link

log tab cannot be expanded to show long lines #4224

Open bss-dmitry-shmakov opened 1 month ago

bss-dmitry-shmakov commented 1 month ago

there's no word-wrap function for logs, so it cannot be used for its main purpose of reading the logs easily and efficiently. it is not user friendly and I wonder if it's just me who simply cannot find the right buttons to turn word wrap on, or to resize the tab somehow? or it really is constrained to the small 25% width of the screen on the right side?

image

bss-dmitry-shmakov commented 1 month ago

it seems less than 25% of the screen width 😭 ... maybe 20%? fixed and cannot be resized... who could point me to the code where I can implement a feature to allow resizing that element, let's say to "full-screen width" and back, would be great feature for everyone to enjoy.

topliceanurazvan commented 1 month ago

Hey @bss-dmitry-shmakov, thank you for your interest in contributing to Monokle. 🙌🏻

Currently, we are using the Antd Drawer component, and making it resizable might be complex, even close to impossible. The suggestion would be to check our internal Drawer component and try to figure out how the width is set and increase it. This should be the most straightforward solution for now and hopefully, will solve your problem.

Good luck and let us know if you need further help!