mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 06:59:44 +07:00
IJPL-171506 Fix statistics reporting for a trial survey and change the target release
(cherry picked from commit dd8d7370b27fc4efc61d4ca52353d50d55e2d19a) IJ-CR-157144 GitOrigin-RevId: ed5b5a0022cba33e081502c642851d19cd09ada2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7f49643e29
commit
45e0ed3656
@@ -20,11 +20,11 @@ class ShowTrialSurveyOption : ABExperimentOption {
|
||||
override fun checkIdeIsSuitable(): Boolean = PlatformUtils.isIdeaUltimate()
|
||||
|
||||
/**
|
||||
* Experiment should be available only in 2024.3.3
|
||||
* Experiment should be available only in 2024.3.5
|
||||
*/
|
||||
override fun checkIdeVersionIsSuitable(): Boolean {
|
||||
val appInfo = ApplicationInfo.getInstance()
|
||||
return appInfo.majorVersion == "2024" && appInfo.minorVersion.startsWith("3.3")
|
||||
return appInfo.majorVersion == "2024" && appInfo.minorVersion.startsWith("3.5")
|
||||
}
|
||||
|
||||
@Suppress("CompanionObjectInExtension")
|
||||
|
||||
@@ -30,8 +30,8 @@ fun trialSurveyPanel(createButtonsPanel: (JButton) -> JComponent, activateTrialB
|
||||
lateinit var panel: DialogPanel
|
||||
|
||||
val activateTrialButton = activateTrialButtonFn {
|
||||
reportSurveyAnswer(chosenOption)
|
||||
panel.apply()
|
||||
reportSurveyAnswer(chosenOption)
|
||||
}
|
||||
//LicenseDialogComponents.adjustStartTrialButtonText(model, activateTrialButton)
|
||||
activateTrialButton.isEnabled = false
|
||||
|
||||
Reference in New Issue
Block a user