[platform] provide a way to specify a URL for "ProductName on YouTube" action in ExternalProductResourceUrls (IJPL-204)

IntelliJ IDEA has been migrated to use the new property.

GitOrigin-RevId: 7fed7bf4c7f102320cb3d0a139c8f863af305dd8
This commit is contained in:
Nikolay Chashnikov
2023-08-22 10:56:03 +02:00
committed by intellij-monorepo-bot
parent 8b61ff43e7
commit 6e8b44548e
7 changed files with 24 additions and 10 deletions

View File

@@ -8,5 +8,6 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.util.io" />
</component>
</module>

View File

@@ -4,6 +4,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
import com.intellij.util.Url
import com.intellij.util.Urls
class IntelliJIdeaExternalResourceUrls : BaseJetBrainsExternalProductResourceUrls() {
override val basePatchDownloadUrl: String
@@ -36,4 +38,7 @@ class IntelliJIdeaExternalResourceUrls : BaseJetBrainsExternalProductResourceUrl
override val topic: Long = 28116681
}
}
override val youTubeChannelUrl: Url
get() = Urls.newFromEncoded("https://www.youtube.com/user/intellijideavideo")
}