-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
preserve debug view layout #5817
Conversation
Testing right now. |
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've tested it following the described steps. Debug view layout state was preserved between reloads in all cases.
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.
Works nicely! 💯
I think there is an issue with travis: |
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.
Works nicely!
Widget.attach(this.wrapped, this.body); | ||
MessageLoop.sendMessage(this.wrapped, Widget.Msg.BeforeAttach); | ||
// tslint:disable-next-line:no-null-keyword | ||
this.body.insertBefore(this.wrapped.node, null); |
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 does this do? ;-)
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.
do you mean null
is not necessary? otherwise it appends a widget to the part body
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.
thanks!
Do you think it is temporarily or we should do something about it? |
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.
It works as expected.
otherwise collapsed view containers are not restored Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
700da87
to
f37cb19
Compare
What it does
fix #5815: preserve the debug view layout state between reloads
commits extracted from #5665
How to test
Review checklist
Reminder for reviewers