Skip to content

Fix menu print when logs/menu number of lines change#11765

Merged
milas merged 1 commit intodocker:mainfrom
jhrotko:fix-overline-consumer-write
Apr 24, 2024
Merged

Fix menu print when logs/menu number of lines change#11765
milas merged 1 commit intodocker:mainfrom
jhrotko:fix-overline-consumer-write

Conversation

@jhrotko
Copy link
Contributor

@jhrotko jhrotko commented Apr 24, 2024

What I did
The is related with the clean up of the navigation menu which can be tricky when the number of lines change.
Removed all ClearLines and kept the cleaning of the menu inside shortcut.go. Please check the video.

Screen.Recording.2024-04-24.at.18.58.58.mov

Related issue

fixes #14021
https://docker.atlassian.net/jira/software/c/projects/COMP/boards/576?selectedIssue=COMP-536

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

@jhrotko jhrotko requested review from glours, milas and ndeloof April 24, 2024 18:02
@jhrotko jhrotko self-assigned this Apr 24, 2024
@jhrotko jhrotko force-pushed the fix-overline-consumer-write branch from 8dbb8a5 to 0cba9fe Compare April 24, 2024 18:09
Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
@jhrotko jhrotko force-pushed the fix-overline-consumer-write branch from 0cba9fe to d77a2ff Compare April 24, 2024 18:31
Copy link
Contributor

@milas milas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! This looks great, I can't repro any weird issues with it overlapping or appearing when it shouldn't after this.

@milas milas merged commit 9c0b922 into docker:main Apr 24, 2024
@glours
Copy link
Contributor

glours commented Apr 24, 2024

Merged when I was doing my review 😅
No worries, this is fine @milas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker Compose navigation bar overwrites portion of service stdout log lines

3 participants