-
Notifications
You must be signed in to change notification settings - Fork 1.4k
LiveLogger v2 #8619
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
LiveLogger v2 #8619
Conversation
Detect and fix console resize Detect and limit max nodes by console height
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor suggestions
This will give us a new hook to ensure folks are on the newest bits and not the prior version.
Now accepts `-tl` which means `-tl:auto`, as well as `-tl:true` and `-tl:false`, allowing overriding the detection.
I was noticing a bunch of nodes that seemed "stuck" on targets that shouldn't take a long time--turns out they were done with that + idle but never got marked as such so they kept counting up confusingly.
Use variation selector to try to display as a symbol instead of an emoji.
This is more responsive and keeps the counter on screen at all times at the cost of giving up any hope of understanding what's going on within the restore.
/// <summary> | ||
/// The indentation to use for all build output. | ||
/// </summary> | ||
private const string Indentation = " "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the motivation for this? I think I'd rather have two extra characters of space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we wanted this for an easier-to-read multiline output (both "project done" and warnings/errors) because it's easier to tell on which terminal line a logical line starts. Without this the output looks like the proverbial wall of text. Very subjective and I don't feel strongly about it.
Fixes #8481, fixes #8464, fixes #8463, fixes #8460, fixes #8458, fixes #8456, fixes #8430, fixes #8370, fixes #8392
Context
We have decided to change the LiveLogger UX. Instead of the "full screen" or "takes-over-the-screen-buffer" interactive experience, the goal is a more conventional logger with a node-centric live view and no interactivity.
Changes Made
Re-implemented LiveLogger based on the https://www.github.com/rainersigwald/tortillachip prototype. Since the visual design is not yet finalized, the strings are still hardcoded in source files.
Testing
Existing and newly introduced tests. Manual smoke test.
Notes
LiveLogger.cs
was completely rewritten so please look at the new content instead of the diff.Here are some of the differences compared to v1:
Example build gifs