Skip to content

Commit

Permalink
[IJ Plugin] Add a "new UI" compatible icon (apollographql#5906)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD committed Jul 1, 2024
1 parent 875744f commit 90f64d9
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 0 deletions.
7 changes: 7 additions & 0 deletions intellij-plugin/src/main/resources/ApolloIconsMapping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"icons": {
"newui": {
"toolwindow-normalized-cache-viewer.svg": "icons/toolwindow-normalized-cache-viewer.svg"
}
}
}
4 changes: 4 additions & 0 deletions intellij-plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
<!-- icon per element type -->
<iconProvider implementation="com.apollographql.ijplugin.icons.GraphQLIconProvider" order="first" />

<!-- Support for the "New UI" -->
<!-- See https://plugins.jetbrains.com/docs/intellij/icons.html#new-ui-icons -->
<iconMapper mappingFile="ApolloIconsMapping.json" />

<!-- Fields insights inspection ("expensive field") -->
<!--suppress PluginXmlCapitalization -->
<localInspection
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 90f64d9

Please sign in to comment.