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:
Alexey.Merkulov
2025-03-07 18:57:46 +01:00
committed by intellij-monorepo-bot
parent 7f49643e29
commit 45e0ed3656
2 changed files with 3 additions and 3 deletions

View File

@@ -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")

View File

@@ -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