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
Scroll (line) position is preserved (if possible), even when truncating logs.
Current Behavior
When LogStore triggers ensureMaxLength, and the log size is larger than max allowed, the LogUpdateAction.truncate is invoked, causing a resetRender in OverviewLogPane. This also resets the scroll position to start of logs when browsing the logs.
Steps to Reproduce
Have a log pane open for something producing a lot of logs
Scroll somewhere in the log stream (other than end and start)
Wait until max log size is reached
Context
tilt doctor Output
$ tilt doctor
Tilt: v0.33.14, built 2024-05-15
System: linux-amd64
...
About Your Use Case
This makes log inspecting in tilt dashboard quite frustrating, and somewhat useless for containers with high log output.
I'll be reading through some logs and without warning the scroll position shoots straight to the top. It's like playing a game of Perfection with cmd+c when I need to copy some log data to share.
Expected Behavior
Scroll (line) position is preserved (if possible), even when truncating logs.
Current Behavior
When
LogStore
triggersensureMaxLength
, and the log size is larger than max allowed, theLogUpdateAction.truncate
is invoked, causing aresetRender
inOverviewLogPane
. This also resets the scroll position to start of logs when browsing the logs.Steps to Reproduce
Context
tilt doctor
OutputAbout Your Use Case
This makes log inspecting in tilt dashboard quite frustrating, and somewhat useless for containers with high log output.
Might be the cause of or related to #6096
The text was updated successfully, but these errors were encountered: