Skip to content
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

Support ViewPaneContainer in Panel #87191

Merged
merged 5 commits into from
Dec 17, 2019
Merged

Conversation

sbatten
Copy link
Member

@sbatten sbatten commented Dec 17, 2019

No description provided.

@sbatten sbatten added this to the December/January 2020 milestone Dec 17, 2019
@sbatten sbatten self-assigned this Dec 17, 2019
@sbatten sbatten changed the title Outline panel Support ViewPaneContainer in Panel Dec 17, 2019

export abstract class Panel extends Composite implements IPanel { }

export abstract class PanelV2 extends PaneComposite implements IPanel { }
Copy link
Member

Choose a reason for hiding this comment

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

How about calling this PaneCompositePanel ?

@@ -344,7 +345,8 @@ export class ViewPaneContainer extends Component implements IViewPaneContainer {
}

getTitle(): string {
let title = Registry.as<ViewletRegistry>(Extensions.Viewlets).getViewlet(this.getId()).name;
const composite = Registry.as<ViewletRegistry>(ViewletExtensions.Viewlets).getViewlet(this.getId()) || Registry.as<PanelRegistry>(PanelExtensions.Panels).getPanel(this.getId());
Copy link
Member

Choose a reason for hiding this comment

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

Looks like ViewContainer should support name property. Can you please create a follow up item for this?

@sandy081
Copy link
Member

Few comments as mentioned above, otherwise LGTM. Please merge it after above feedback is taken care of.

@sbatten sbatten merged commit 8eb835c into microsoft:master Dec 17, 2019
@sbatten sbatten deleted the outlinePanel branch December 17, 2019 16:59
@kieferrm kieferrm mentioned this pull request Jan 13, 2020
40 tasks
@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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants