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

Extracted the top-panel removal to a method. #6261

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

kittaakos
Copy link
Contributor

Signed-off-by: Akos Kitta kittaakos@typefox.io

What it does

Functionally, it does not change anything but code-wise, it helps downstream projects a bit. Extension developers can decide whether they want to hide the theia-top-panel or not without overriding the entire onStart method.

How to test

Review checklist

Reminder for reviewers

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

It looks good to me :)
Extenders will have the opportunity to no-op the hideTopPanel method if they wish not to hide it instead of having to update the entire onStart method.

Copy link
Member

@paul-marechal paul-marechal left a comment

Choose a reason for hiding this comment

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

LGTM, refactoring is simple enough :)

@kittaakos kittaakos merged commit fbd63c5 into master Sep 25, 2019
@kittaakos kittaakos deleted the electron-menu-contribution branch September 25, 2019 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants