diff --git a/gradle.properties b/gradle.properties index 15858cf..7175452 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,12 +7,12 @@ pluginVersion=1.18.0 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild=233 -pluginUntilBuild=236.* +pluginUntilBuild=238.* # IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension platformType=IC #platformVersion=LATEST-EAP-SNAPSHOT -platformVersion=2023.3.5 +platformVersion=2023.3.6 # Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html # Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22 diff --git a/src/main/kotlin/com/dsoftware/ghmanager/ui/panels/wfruns/filters/WfRunsFiltersFactory.kt b/src/main/kotlin/com/dsoftware/ghmanager/ui/panels/wfruns/filters/WfRunsFiltersFactory.kt index 43f659a..e61fcba 100644 --- a/src/main/kotlin/com/dsoftware/ghmanager/ui/panels/wfruns/filters/WfRunsFiltersFactory.kt +++ b/src/main/kotlin/com/dsoftware/ghmanager/ui/panels/wfruns/filters/WfRunsFiltersFactory.kt @@ -1,7 +1,7 @@ package com.dsoftware.ghmanager.ui.panels.wfruns.filters import com.dsoftware.ghmanager.ui.ToolbarUtil -import com.intellij.collaboration.ui.codereview.list.search.ChooserPopupUtil.PopupItemPresentation.Simple +import com.intellij.collaboration.ui.codereview.list.search.ChooserPopupUtil.PopupItemPresentation import com.intellij.collaboration.ui.codereview.list.search.DropDownComponentFactory import com.intellij.collaboration.ui.codereview.list.search.ReviewListSearchPanelFactory import com.intellij.collaboration.ui.icon.AsyncImageIconsProvider @@ -54,7 +54,7 @@ internal class WfRunsFiltersFactory(vm: WfRunsSearchPanelViewModel) : onSelect = {}, valuePresenter = { it.name }, popupItemPresenter = { - Simple(it.name) + PopupItemPresentation.Simple(it.name) }), DropDownComponentFactory(vm.userFilterState) .create(viewScope, @@ -63,7 +63,7 @@ internal class WfRunsFiltersFactory(vm: WfRunsSearchPanelViewModel) : onSelect = {}, valuePresenter = { it.shortName }, popupItemPresenter = { - Simple( + PopupItemPresentation.Simple( it.shortName, avatarIconsProvider.getIcon(it.avatarUrl, AVATAR_SIZE), it.name ) }), @@ -74,7 +74,7 @@ internal class WfRunsFiltersFactory(vm: WfRunsSearchPanelViewModel) : onSelect = {}, valuePresenter = Companion::getStatusText, popupItemPresenter = { - Simple( + PopupItemPresentation.Simple( getStatusText(it), ToolbarUtil.statusIcon(it.name.lowercase(), null) ) }), @@ -84,7 +84,7 @@ internal class WfRunsFiltersFactory(vm: WfRunsSearchPanelViewModel) : items = vm.branches, onSelect = {}, popupItemPresenter = { - Simple(it) + PopupItemPresentation.Simple(it) }), DropDownComponentFactory(vm.eventFilterState) .create(viewScope, @@ -93,7 +93,7 @@ internal class WfRunsFiltersFactory(vm: WfRunsSearchPanelViewModel) : onSelect = {}, valuePresenter = Companion::getEventText, popupItemPresenter = { - Simple(getEventText(it)) + PopupItemPresentation.Simple(getEventText(it)) }), ) }