[platform] refactoring: configuration of the in-product ZenDesk feedback form moved to ExternalProductResourceUrls (IJPL-204)

IntelliJ IDEA Community and Ultimate are migrated to use the new approach. Since other JetBrains IDEs didn't use this feature, and the corresponding method wasn't part of public API, no fallback implementation in LegacyExternalProductResourceUrls is provided.

GitOrigin-RevId: a50912b65d4fc44a3fcf7e59d615092c0372b581
This commit is contained in:
Nikolay Chashnikov
2023-08-21 10:37:01 +02:00
committed by intellij-monorepo-bot
parent 8149d16d1b
commit 48f0103a52
10 changed files with 124 additions and 95 deletions

View File

@@ -2,6 +2,8 @@
package com.intellij.idea.customization.base
import com.intellij.platform.ide.impl.customization.BaseJetBrainsExternalProductResourceUrls
import com.intellij.platform.ide.impl.customization.ZenDeskFeedbackFormData
import com.intellij.platform.ide.impl.customization.ZenDeskFeedbackFormFieldIds
class IntelliJIdeaExternalResourceUrls : BaseJetBrainsExternalProductResourceUrls() {
override val basePatchDownloadUrl: String
@@ -12,4 +14,23 @@ class IntelliJIdeaExternalResourceUrls : BaseJetBrainsExternalProductResourceUrl
override val shortProductNameUsedInForms: String
get() = "IDEA"
override val zenDeskFeedbackFormData: ZenDeskFeedbackFormData
get() = object : ZenDeskFeedbackFormData {
override val formUrl: String = "https://jbsintellij.zendesk.com"
override val formId: Long = 360001912739
override val productId: String = "ij_idea"
override val fieldIds = object : ZenDeskFeedbackFormFieldIds {
override val product: Long = 28147552
override val country: Long = 28102551
override val rating: Long = 29444529
override val build: Long = 28500325
override val os: Long = 28151042
override val timezone: Long = 28500645
override val eval: Long = 28351649
override val systemInfo: Long = 360021010939
override val needSupport: Long = 22996310
override val topic: Long = 28116681
}
}
}