Skip to content

Remove dependencies on built-in Flutter icons #5824

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

Merged
merged 2 commits into from
Oct 15, 2021

Conversation

stevemessick
Copy link
Member

No description provided.

@google-cla google-cla bot added the cla: yes label Oct 15, 2021
@@ -34,4 +37,18 @@ public static JComponent getComponentOfActionEvent(@NotNull AnActionEvent e) {
public static ColorKey getEditorNotificationBackgroundColor() {
return EditorColors.GUTTER_BACKGROUND;
}

@Nullable
public static Project findVisibleProject() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This method is a bit terrifying. At minimum add a comment that this needs to only be used from the deprecated Flutter IntelliJ inspector.
Ideally, flow the project into that renderer rather than having to guess it like this.

Copy link
Member Author

Choose a reason for hiding this comment

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

I share your concern. I'll add a comment in my next PR.

Copy link
Contributor

@jacob314 jacob314 left a comment

Choose a reason for hiding this comment

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

lgtm

@stevemessick
Copy link
Member Author

Even though there is one new failing test, I'm going to merge this as-is so it gets into the next dev channel build. I know what's wrong with the test, but don't have time to fix it today. I also know how to repair the other failing tests and plan to fix them next week.

@stevemessick stevemessick merged commit 0076139 into master Oct 15, 2021
@stevemessick stevemessick deleted the remove-builtin-icon-deps branch October 15, 2021 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants