Skip to content

Implement a horizontal panel for the workbench - #2042

Merged
Isidor Nikolic (isidorn) merged 41 commits into
masterfrom
isidorn/panel
Jan 19, 2016
Merged

Isidor Nikolic (isidorn) merged 41 commits into
masterfrom
isidorn/panel

Conversation

@isidorn

Copy link
Copy Markdown

Adding horizontal panel to the workbench (see #1875).

@bpasero Benjamin Pasero (bpasero) changed the title Isidorn/panel Implement a horizontal panel for the workbench Jan 15, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isidor Nikolic (@isidorn) I think we can generalize this event to be COMPOSITE_OPENING and onCompositeOpening() because the listener seems to use the ID of the composite to do something and it also seems to be the only client through out the workbench.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see why this happens because opening a viewlet and panel is not yet shared in the compositePart, I will comment below about it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

✔️

Comment thread src/vs/workbench/browser/composite.ts Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isidor Nikolic (@isidorn) would rephrase, it is not just sidebar

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

✔️

Comment thread src/vs/workbench/browser/panel.ts Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess this should be "true" for closing?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

✔️

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isidor Nikolic (@isidorn) is this value not dynamic depending on debug, no workspace or workspace? I would check what the statusbar does to set this color.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Benjamin Pasero (@bpasero) status bar does the same thing, defines a default, and then clients like debug set it to orange. I do the same here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ack

Isidor Nikolic (isidorn) pushed a commit that referenced this pull request Jan 19, 2016
Implement a horizontal panel for the workbench
@isidorn
Isidor Nikolic (isidorn) merged commit 9199197 into master Jan 19, 2016
@isidorn
Isidor Nikolic (isidorn) deleted the isidorn/panel branch January 21, 2016 08:37
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants