mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[feedback] IJPL-177421 Exclude first ever session for CSAT survey
(cherry picked from commit ec1b5298fb66e86c705f4b684e150c699ba8a8ad) (cherry picked from commit a43ab23410314b96efb2afed8862397be8615d9a) IJ-MR-155667 GitOrigin-RevId: dbc3e13466d41c7dcbe1e8a2c137c778d73bdb0d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f7db18dd64
commit
e41d4d19bb
@@ -4,6 +4,7 @@ package com.intellij.platform.feedback.csat
|
||||
import com.intellij.ide.util.PropertiesComponent
|
||||
import com.intellij.internal.statistic.eventLog.fus.MachineIdManager
|
||||
import com.intellij.openapi.application.ApplicationInfo
|
||||
import com.intellij.openapi.application.ConfigImportHelper
|
||||
import com.intellij.openapi.diagnostic.Logger
|
||||
import com.intellij.openapi.diagnostic.fileLogger
|
||||
import com.intellij.openapi.project.Project
|
||||
@@ -48,6 +49,8 @@ internal class CsatFeedbackSurveyConfig : InIdeFeedbackSurveyConfig {
|
||||
}
|
||||
|
||||
override fun checkExtraConditionSatisfied(project: Project): Boolean {
|
||||
if (ConfigImportHelper.isFirstSession()) return false
|
||||
|
||||
val today = getCsatToday()
|
||||
LOG.debug("Today is ${today.format(DateTimeFormatter.ISO_LOCAL_DATE)}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user